Reportizer Documentation
Contents Index

Exporting Report to File

Top Previous Next

Preformatted report can be exported to file. For export purposes, use Export button of the Preview window, or Export page of the main window.

Available export formats

STT The report is exported to the static report file (.stt). Static report contains exact copy of the preformatted report in the binary form.
XLSX The report is exported to the Microsoft Excel 2007+ workbook (.xlsx). All types of report objects are exported. Table layout is used.
HTML The report is exported to the HTML document (.html, .htm). All types of report objects are exported. Divisions or table layout is used.
XLS The report is exported to the Microsoft Excel 97 workbook (.xls). Only text compatible objects are exported. Table layout is used.
PDF (beta version) The report is exported to the PDF document (.pdf). There are currently some issues and limitations, e.g. there are issues with representing national characters (others than Western European) in text.
Text The report is exported to the text file. Only text compatible objects are exported. Table layout with field separators is used.
BMP The report is exported to the bitmap image file (.bmp).
PNG The report is exported to the PNG image file (.png).
JPEG The report is exported to the JPEG image file (.jpeg, .jpg).
GIF The report is exported to the GIF image file (.gif).
When the table layout is used in the destination file, the best exporting results will be produced for those reports, which have table looking structure. During the export, the application builds virtual in-memory table, which is based on positions and sizes of the report objects. That table will the outputted using rules of the destination format. You can manipulate the table creation (and thus export quality) using the corresponding options described below.

To prepare a report with tabular structure, please use the following recommendations:
- all objects which you want to be outputted in one destination row, should have the same top positions and desirably the same heights;
- all objects which you want to be outputted in one destination column, should have the same left positions and desirably the same widths;
- objects which you want to be outputted in different destination cells, must not overlap each other.

If you cannot get the export results of good quality even after following these recommendations, please try to play with export options related to virtual table (see below).

Export options

Password protection Specify password to protect the destination file from unauthorized viewing (STT only).
Author Specify the report author (PDF only). By default, it is copied from the the value you specified in the Author property of the Report object.
Document title Specify the target document title (PDF and HTML only). By default, it is copied from the the value you specified in the Document title property of the Report object.
Separate pages Specify whether to separate individual pages visually when outputting (except STT and PDF). For image formats, a dark line is inserted between pages to separate them. For other formats, this works completely different: the separation is done by exporting Page header, Page footer, and Column header bands; when the option is off, first two of these bands are not exported, and Column header band is present only once (on the first page).
Ignore difference in pixels between table cells Specify the differences in pixels (horizontal and vertical) between virtual table cells for table layout formats (Text, XLSX, HTML, XLS only). If the distance between neighboring cells is or equal to the specified value, it will be ignored in the target document (i.e. the objects in the neighboring cells will be closer to each other). That way, you can control on the appearance of the blank columns and rows.
Separator Specify a separator between different objects in one text line (Text only). It must be a certain character. It is possible to choose from predefined ones (e.g. comma, semicolon etc.), or specify custom character.
Encoding Specify encoding for the target document (HTML only). Example: UTF-8.
Layout Specify layout type for the target document (HTML only). When you choose Divisions (default), the document will based on HTML div tags; otherwise, the output is based on HTML table tags. Using Divisions, you get more precise correspondence between the output and what you see in the report preview. Use Table option only if your report contains a table and does not contain any other objects.
Target image format Target image format (HTML only). If your report contains images, they will appear in the target document as converted to the specified format. Possible options: PNG or JPEG.
Convert to gray scale Specify whether to convert the report to gray scale (image formats only).
Pages Specify report pages to export (image formats only).