Increasing print quality of widgets in PDFs

image_pdfimage_print

As of Version 6.0 SR2, you can improve the print quality of widgets in PDFs. To do so, open Settings in panel Administration of Jedox Web and click Add Key. For Key name enter “spreadsheet.widget.print_quality_factor” with type “float”. The default value for the key is 1.0. For higher print quality, you can increase this value.

Values higher than 3.0 will achieve very minimal changes. When increasing the factor, the size of the output PDF file will also increase.

Please note that the quality also depends on the content of the widget, the page setup settings, the PDF viewer, and possibly the printer.

Widget functions parent.startWait() and parent.stopWait()
As of Version 7.0 SR1, the widget functions parent.startWait() and parent.stopWait() are implemented. They can be used in scenarios in which a widget needs too long time to be shown properly in a PDF. In these scenarios, the user can cause the PDF renderer to wait until the widget is fully rendered from the Widget code itself. The function parent.startWait() needs to be called as the first function inside the _exec function. The function parent.stopWait() needs to be called then once the widget has finished rendering.

image_pdfimage_print
Was this post helpful?
NoYes (No Ratings Yet)
Loading...