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 |
---|---|
fglAutoformatNumberOfFormColunms |
Set values for custom generic reports. For more information, go to Create a custom generic report for simple list or form list. |
|
Optimize for GRV printing. For more information, go to Optimize the rendering process. |
pdfPreventPageRotation |
Backward compatibility: when set to true , report pages do not rotate in PDF
output, mimicking the behavior prior to Genero Studio 4.00. For more information, go to Rotating PDF report pages.Note:
This rendering hint may be removed in a future release without warning. |
pdfUseIText |
Used to generate a PDF output. This rendering hint causes the Genero Report Engine to
generate the PDF output with the iText library. This is typically used when encountering an issue
with the PDF output, for example the PDF file is too large, or there is a rendering issue. 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. For more information, go to 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. For more information, go to Configuring XMP metadata processing for images. |
psOptimize and
psOptimizeUseDictionary |
Optimize for Postscript printing. For more information, go to Optimize the rendering process. |
pxmlCacheImages |
Disable image caching. For more information, go to 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. For more information, go to Specifying classic or default style.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. For more information, go to GRW 3.20 upgrade guide.Note:
This rendering hint may be removed in a future release without warning. |
|
Revert the pdf-417, data-matrix and data-matrix barcodes to the encoding and ECI support of versions before Genero Report Writer 5.00. For more information, go to Bar Codes. |
pxmlIgnoreImageBoxErrors |
When set to true , the rendered report ignores errors which occur when the
ImageBox cannot load the specified image. The ImageBox
is rendered with the specified size, but remains empty. When the rendering hint is set to
true , the GRE_DEFAULT_IMAGE_URL environment variable is ignored.When set to
false , if the ImageBox cannot load the specified image,
errors are shown in the Output. If a fallback image is specified with
the GRE_DEFAULT_IMAGE_URL environment variable it is used within the ImageBox
and presents the following warning within the
Output; If
the image specified with the GRE_DEFAULT_IMAGE_URL envronment variable cannot load, a runtime error
is raised in the Output.For more information on the GRE_DEFAULT_IMAGE_URL environment variable , go to GRE_DEFAULT_IMAGE_URL. |
pxmlPreferredCharset |
Specify the preferred charset for data-matrix bar codes with the purpose of making scanners with limited ECI support work. When specified, this character set is used for any character in However, many scanners do not support all encodings and several do not support multiple
encodings. For example, when Possible charset values include:
For more information, go to data-matrix. |
pxmlSplitDocument |
Splits a large PDF, RTF, or Excelâ„¢ report into smaller files. For more information, go to Split a report into smaller files. |
|
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.