|
|||||||||||||||||
Major API Changes from PCRE 2.7.x/3.7.x to Harmoni 1.0Download PDF version of this faq: 2_7-3_7_to_Harmoni_1_0_API_Changes.pdf Harmoni APIs for Crystal Reports v7 or Crystal Reports v9 will allow you to use Harmoni virtually identically to how you use PCRE v2.7.x or PCRE 3.7.x. The APIs for Word Engine are very close to the Crystal API’s although the .rpt template file will be replaced by a .doc file. (1) The following packages have been added new in Harmoni v1.0:
All classes in the com.dynalivery.harmoni and com.dynalivery.word packages and the methods within these classes are newly introduced in Harmoni 1.0. The classes and the methods in the com.dynalivery.crystal package are a subset of the classes present in the com.dynalivery.pcre package of Parallel Crystal. (2) The following packages present in PCRE are still present in Harmoni.
(3) ConnectUsingLoadBalance (serverType, LoadBalanceInfo) is a new API present in the HarmoniApplicationClient class and is used to connect a client to the Harmoni server using Load Balancing. (4) ConnectToHost (host, serverType) is a new method present in the HarmoniApplicationClient class and is used to connect to the Harmoni server based on the supplied “serverType”. (5) OutputTo (outputFileName, formatOptions) An API in the HarmoniJob class used to generate either PDF, HTML, RTF, SVG, PNG or JPEG output based on the “formatOptions” supplied. (6) OutputConcatTo (outputFileName, formatOptions) is a new API in the HarmoniSaffronJob class and can be used to concatenate multiple job outputs to a single document and generate PDF, HTML, RTF or SVG outputs. (7) OutputToSaffronHtml (), OutputToSaffronPDF (), OutputToSaffronRTF (), OutputToSaffronJPEG (), OutputToSaffronPNG (), OutputToSaffronSVG () methods have been deprecated and replaced by OutputTo () method of the HarmoniJob class. (8) OutputConcatToSaffronPDF (), OutputConcatToSaffronRTF (), OutputConcatToSaffronHtml () and OutputConcatToSaffronSVG () methods have been deprecated and replaced by OutputConcatTo () method of the HarmoniSaffronJob class. (9) The getConnectedClient () method in the LoadBalancer class has been deprecated. The equivalent method is the ConnectUsingLoadBalance () method of the HarmoniApplicationClient class. |
||||||
| BACK TO TOP BACK TO START |
|