getDefaultOutputDestination

getDefaultOutputDestination(): Integer;

The getDefaultOutputDestination method of the JadeReportWriterReport class returns an integer value containing the JadeReportWriterReport class constant representing the default output destination. The output destination can be one of the values listed in the following table.

Class Constant Integer Value Description
CSV 3 Comma-Separated Value (CSV) file format
DELIMITED_FILE 3 Delimited file format (for example, containing commas, semicolons, tabs, or spaces)
HTML 2 HyperText Markup Language (HTML) file
PRINTER 0 Output to the default printer of the user
RTF 4 Rich Text File (RTF) file format for Microsoft Word for Windows
TEXT 6 Text (or ASCII) file format, and can contain new page characters
XML 5 Extensible Markup Language (XML) file format

The CSV and DELIMITED_FILE constants, which have the same integer value, are the same format in that in both you can use commas, semicolons, tabs, or spaces as field delimiters.

Traditionally, as the name suggests, .csv was applied to files in which only commas could be used as delimiters. CSV is therefore retained as a class constant for JADE Report Writer applications even though it has the same integer value as the DELIMITED_FILE constant.