fgl_report_configureOORTFDevice

Configure RTF output for Open Office.

Syntax

fgl_report_configureOORTFDevice (
   fromPage INTEGER,
   toPage INTEGER,
   imagesResolution INTEGER,
   imagesFormat STRING )
  1. fromPage - Selects the lower bound of the range of pages to include in the RTF document. The default value is 1.
  2. toPage - Selects the upper bound of the range of pages to include in the RTF document. Per default all pages are included.
  3. imagesResolution - Specifies the resolution of embedded images. In addition to ImageBoxes, content from BarCodeBoxes, business charts and HTMLBoxes are embedded as images.
  4. imagesFormat - One of :"png", "jpg". Controls the format of images embedded in the RTF document. Select jpg for compactness, png for lossless compression.

Usage

Function to configure RTF output for Open Office.

This function is applicable when RTF output has been selected by a call to the function fgl_report_selectDevice. All arguments to this function are optional (indicated by passing a null value).

If the RTF document should be written to a file, the general functions fgl_report_setOutputFileName and fgl_report_selectPreview are available for this purpose.

For a generic example of Genero code using a reporting function, see Using report output functions. This example may not use the specific function discussed in this topic, however it provides details on where you would place this (and other) report output functions.