Configuring default export formats
The iHub platform provides output format emitters as plug-ins. These emitters can be configured so that content exported by BIRT Viewer has specific settings. To configure emitter default options, add a RenderDefaults.cfg file to the emitter configuration JAR file for the emitter with specific options set with text. For example, to configure the Microsoft Excel (.xls) file emitter, add RenderDefaults.cfg to the following JAR file:
<iHub root>\Jar\BIRT\platform\plugins\com.actuate.birt.
report.engine.emitter.config.xls_11.0.4.<date_stamp>.jar
RenderDefaults.cfg contains one parameter and value pair on each line to configure each default setting. For example, to configure the XLS emitter to disable pivot tables and to not hide grid lines by default, the RenderDefaults.cfg file contains the following entries:
excelRenderOption.EnablePivotTable=false
excelRenderOption.hideGridlines=false
After adding the configuration file to the emitter configuration JAR file, re-archive and save the JAR file to the plugins folder. Then, restart the iHub Service. After these steps, the viewer displays the configured default options when exporting a report to the XLS output format, as shown in Figure 12-1.
Figure 12-1  
Table 12-3 lists the default settings parameters for the different file formats the emitters produce.
PDF
(continued)
 

Additional Links:

© Copyright OpenText Corp. All rights reserved. Privacy Policy | Cookie Policy

BIRT iHub 2