fgl_report_configureAutoformatOutput

Configure the output when auto-formatting is enabled.

Syntax

fgl_report_configureAutoformatOutput(
   fontName STRING,
   fontSize INTEGER,
   fidelity BOOLEAN,
   reportTitle STRING,
   fieldNamePatterns STRING,
   systemId STRING )
  1. fontName specifies the font to use. For the COMPATIBILITY type, the default font is Lucida Console on Windows® systems and Lucida Sans Typewriter on all other systems. For the other FLAT LIST and NEW LIST types, the default font is the logical SansSerif font.
  2. fontSize specifies the font size to use. For the COMPATIBILITY type, this value is ignored because the best font size is automatically selected. For the other FLAT LIST and NEW LIST types, the default font size is 12.
  3. fidelity specifies whether or not to set the fidelity property for the produced WORDBOX objects. See WORDBOX for more information.
  4. reportTitle - Title of the report. For the COMPATIBILITY type, this value is ignored. For the FLAT LIST type, the default value is "Report Title Here". For the NEW LIST type, the default value is an empty string.
  5. fieldNamePatterns - A comma separated list of field name patterns; fields not matching any of the patterns are not printed. The patterns may contain literal characters, the? question mark, the * star character, and character ranges, as defined for the Genero BDL MATCHES operator. The columns of the output are sorted in order of the patterns matched and within one pattern by the relative position of the field in the PRINT statement. By default all fields are printed.
  6. systemId specifies an absolute URL against which relative resources such as images in overlays are resolved. By default, external resources must be specified with absolute URLs.

Usage

This function is applicable when no 4rp template has been specified in the call to either fgl_report_loadCurrentSettings or fgl_report_loadAndCommit, and auto-formatting with a value other than COMPATIBILITY has been selected by a call to fgl_report_setAutoformatType.

All arguments to this function are optional (indicated by passing a null value).

For an 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.