Export reports to HTML
Advanced Report Design
Output to html
Output to html feature converts a report to html files, or optionally to a single file, for example from preview window you have the option to save the report as html., the command line tool have also the options -html and -htmlsingle that processes the report and generates html output directly.
Implementation limitations
Because font sizes in preview (screen device driver) may differ with font sizes represented by a web browser, some lines may overwrite, especially if you have autoexpand properties in sections and you use multiline texts with wordwrap. If you want to minimize the effect you should follow the guidelines:
- Set the page setup option Font option sizing ('Printer fonts options' in older versions) to "Recalculate to device resolution", or "Always use printer fonts", this will cause the engine to rebuild the report using the Adobe pdf font sizings, that are more similar to web browser font rendering.
- Select all texts in all your subreports and set the property PDF Font to TrueType link (or Truetype embedded), this option will cause the Adobe pdf driver to search the sizing in the truetype font files, so the font sizes are more similar to web browser font rendering. You can do it easily in the designer using the option in Edit Menu:Select all texts.
Single file output limitations
Report Manager usually works with space limited pages, but large report in a single virtual page (html output single file) is also possible. To do it you must use the single file html output from any interface (preview, activex...), and set the page setup option Font option sizing ('Printer fonts options' in older versions) to "Recalculate to device resolution". This option will force the engine to work with a large page, the page size option in page setup will be ignored, the final page size will be the combination of: The wider section printed, and the latest section printed.
You must take care when you want to use the feature, when you design the report you must:
- Remove any page footer from the report, at design time, else the resulting html file will be too large (the footer will be placed on the bottom of the page)
- Don't use the align bottom property in any of the sections of your report, this will cause a page break, and you will obtain multiple very large pages.
- Don't use Begin Page expression, or Skip page property or special features like Skip To page.
- Use group headers and footers instead (without align bottom), then the report will flow naturally in a single page.