The iServer platform provides output format emitters as plug-ins. These emitters can be configured so that content exported by the 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:<iServer root>\Jar\BIRT\platform\plugins\com.actuate.birt.report.engine.emitter.config.xls_11.0.4.<date_stamp>.jarRenderDefaults.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: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 iServer Service. After these steps, the viewer displays the configured default options when exporting a report to the XLS output format, as shown in Figure 13-1.Table 13-3 lists the default settings parameters for the different file formats the emitters produce.
Sets the chart resolution. For example, ChartDpi=120. pdfRenderOption
.bidiProcessing pdfRenderOption
.embeddedFonts pdfRenderOption
.fontSubstitution pdfRenderOption
.hyphenation Enables splitting words with a hyphen at line breaks. pdfRenderOption
.pageOverflow Controls rendering content when the content exceeds the page size. Integer values indicate the following options:
4: (default) divides the content into multiple pages pdfRenderOption
.textWrapping PPT/PostScript Enables bidirectional text support. For example, BIDIProcessing=false. Sets font substitution for unknown fonts. For example, FontSubstitution=false. Enables text wrapping. For example, TextWrapping=false. excelRenderOption
.AutoFitPivotTable Enables BIRT Viewer to automatically adjust content for display in pivot tables. excelRenderOption
.EnableLiveFormula excelRenderOption
.EnablePivotTable excelRenderOption
.ExportChartsAsImages excelRenderOption
.hideGridlines excelRenderOption
.multipleSheet excelRenderOption
.wrappingText
|
|
Copyright Actuate Corporation 2012 |