fgl_report_setRenderingHints
Specifies the hints to be used in the rendering process.
Syntax
fgl_report_setRenderingHints(
values om.SaxAttributes )
- values - Attribute set containing the key/value pairs.
Rendering hints
Rendering hint | Purpose |
---|---|
grvRenderToBitmap ,
svgTextLengthAdjust , and
grvUseEmbeddedFontMetrics |
Optimize for GRV printing. See Optimize the rendering process. |
psOptimize and
psOptimizeUseDictionary |
Optimize for Postscript printing. See Optimize the rendering process. |
pxmlCacheImages |
Disable image caching. See Optimize the rendering process. |
pxmlChartStyle |
Specify style and color options for business graphs. Set to
classic for backward compatibility with older versions of Genero Studio. See Specifying classic or default style.Note:
This rendering hint may be removed in a future release without warning. |
processXMPOrientation |
Determine the orientation of an Image Box. Set to
FALSE for backward compatibility with older versions of Genero Studio. See Configuring XMP metadata processing for images.Note:
This rendering hint may be removed in a future release without warning. |
processXMPResolution |
Determine the resolution of an Image Box. See Configuring XMP metadata processing for images. |
fglAutoformatTemplateURL ,
fglAutoformatLogoURL ,
fglAutoformatOrganizationName ,
fglAutoformatSelectionText ,
fglAutoformatKeyText ,
fglAutoformatPrintingInformationText , and
fglAutoformatNumberOfFormColunms |
Set values for custom generic reports. See Create a custom generic report for simple list or form list. |
pxmlSplitDocument |
Splits a large PDF, RTF, or Excelâ„¢ report into smaller files. See Split a report into smaller files. |
pdfPreventPageRotation |
Backward compatibility: when set to TRUE , report
pages do not rotate in PDF output, mimicking the behavior prior to Genero Studio 4.00. See Rotating PDF report pages.Note:
This rendering hint may be removed in a future release without warning. |
pxmlColorizePadding |
Backward compatibility: when set to FALSE , the
padding of an object uses the background color of the parent object, mimicking the behavior for
padding an object prior to Genero Studio 3.20. See GST 3.20 upgrade guide.Note:
This rendering hint may be removed in a future release without warning. |
xlsUse310SizingMechanism and
xlsAlignmentIgnoringMethod |
Configure the sizing and alignment of rows and columns in Excel reports to mimic the behavior prior to Genero Report Writer 3.20. Excel rendering in Genero Report Writer 3.20 produces a larger number of rows and columns than previous versions. This provides a better WYSIWYG rendering of the document, but can corrupt the vertical alignment when pages are merged into a single sheet. Therefore, you may want to revert to Genero Report Writer 3.10 behavior.
To render your Excel reports as closely as possible to Genero Report Writer 3.10:
Note:
This rendering hint may be removed in a future release without warning. |
Example
DEFINE renderingHints om.SaxAttributes
LET renderingHints=om.SaxAttributes.create()
CALL renderingHints.addAttribute("svgTextLengthAdjust","SpacingAndGlyphs")
CALL renderingHints.addAttribute("grvUseEmbeddedFontMetrics","true")
CALL fgl_report_setRenderingHints(renderingHints)
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.