ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / Editors / Report editor / Report viewer
  • Overview
  • The different export options in details
  • Saving and previewing the report in Word format
  • Saving and previewing the report in Excel format
  • Saving and previewing the report in Portable Document Format (PDF)
  • Saving and previewing the report in HTML format
  • Saving and previewing the report in XML format (eXtensible Markup Language)
  • Email with integrated content
  • Email with attached PDF
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Overview
The "Export" pane in the report viewer allows you to perform the following operations:
Remarks:
  • If printing is done in WLanguage, the "Export" pane also appears in the report viewer.
  • To display only some options in the "Export" pane of the report viewer:
    • use iParameterViewer. This function, used in the initialization code of the project, allows you to choose the panes that will be displayed for all the application reports.
    • configure the export options displayed for each report in the report description window ("Details" tab).
Reminder: The report viewer is available:
  • in the report editor of WINDEV, WEBDEV, WINDEV Mobile.
  • in "Reports and Queries".
  • when printing reports from a WINDEV application.
The different export options in details

Saving and previewing the report in Word format

A file in RTF (Rich Text Format) is created. The created file is directly viewed in one of the text editors installed on the current computer (Word, OpenOffice or NotePad for example).
By default:
  • The generated file is named "<ReportName>.RTF".
  • In test mode, this file is created in the EXE subdirectory of the project directory.
  • On the user computers, this file is created in the setup directory of the application.
The user can modify these characteristics by clicking the "Word" button.
Remarks:
  • A text editor must be installed on the current computer in order to view the generated file.
  • To save a file in RTF, the "RICHED20.DLL" file must be found on the current computer. In most cases, the "RICHED20.DLL" file is in the Windows system directory.
  • Printing texts that are not oriented horizontally (90° for example) is not supported.
  • The tables are supported by the RTF format. The font color and the background color of cells are stored.

Saving and previewing the report in Excel format

A file in XLS format is created. The created file is directly viewed in one of the spreadsheet applications installed on the computer (Excel or OpenOffice for example).
By default:
  • The generated file is named "<ReportName>.XLS".
  • In test mode, this file is created in the EXE subdirectory of the project directory.
  • On the user computers, this file is created in the setup directory of the application.
The user will be able to modify these characteristics by clicking the "Excel" button.
Remarks:
  • To configure the export options in XLS format, use iParameterXLS.
  • A spreadsheet application must be installed on the current computer in order to view the generated file.
  • The Image, Bar Code and Chart controls are not printed.

Saving and previewing the report in Portable Document Format (PDF)

The created file is directly displayed in a PDF viewer (Adobe Acrobat for example) installed on the current computer.
By default:
  • The generated file is named "<ReportName>.PDF".
  • In test mode, this file is created in the EXE subdirectory of the project directory.
  • On the user computers, this file is created in the setup directory of the application.
The user will be able to modify these characteristics by clicking the "PDF" button.
Remarks:
  • To configure the PDF print options, use iParameterPDF.
  • A PDF viewer must be installed on the current computer in order to view the generated file.
  • Problems may occur when printing in PDF. For more details, see Printing in PDF: Known problems.

Saving and previewing the report in HTML format

The created file can be viewed in the default browser installed on the current computer.
By default:
  • The generated file is named "<ReportName>.HTM".
  • In test mode, this file is created in the EXE subdirectory of the project directory.
  • On the user computers, this file is created in the setup directory of the application.
The user will be able to modify these characteristics by clicking the "HTML" button.
Remarks:
  • By default, the created HTML file is using the style sheets (CSS). In order for the created HTML file to use no style sheet, the print must be started through programming.
  • An Internet browser must be installed on the current computer in order to view the generated file.

Saving and previewing the report in XML format (eXtensible Markup Language)

The created file is automatically displayed in the XML viewer (an Internet browser for example) installed on the current computer.
By default:
  • The generated file is named "<ReportName>.XML". No style sheet is generated.
  • In test mode, this file is created in the EXE subdirectory of the project directory.
  • On the user computers, this file is created in the setup directory of the application.
The user will be able to modify these characteristics by clicking the "XML" button.
Remark: An XML file viewer must be installed on the current computer in order to view the generated file.

Email with integrated content

The report is directly viewed in a new email created with the default messaging software installed on the current computer.
The supported messaging systems are as follows:
  • Microsoft Outlook,
  • Outlook Express,
  • Eudora,
  • IncrediMail,
  • Netscape,
  • Mozilla Thunderbird,
  • Mozilla.
For all the other messaging systems, a .eml file is created. If the email system supports this format, the email can be viewed on the current computer.
Remarks:
  • If the default messaging is Eudora: The report is generated in text format and included in the email.
  • If the default messaging is Outlook: The report is generated in RTF and included in the email.
  • For all the other types of messaging software, the report is generated in HTML format and included in the email.
  • Printing texts that are not oriented horizontally (90° for example) is not supported.
  • You can configure the elements of the new email with iParameterExport.

Email with attached PDF

The report is automatically saved in a PDF file.
This PDF file is directly attached to a new email created by using the MAPI client installed by a messaging software of the current computer. The MAPI client and the application must be installed in the same compilation mode (32/64 bits).
Remarks:
Minimum version required
  • Version 20
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help