Create export format parameters

You can specify how you want to print your report. For example, you can specify that you want to print to a specific format such as PDF or HTML, or define image quality and fonts. You can specify print settings in the following ways:

Create export format parameters

To create export format parameters, follow the steps below:

  1. In Tosca Commander, open the Reporting section.

  2. Right-click on the Designer Definition and select Create ExportFormat-Parameter from the mini toolbar.

Create ExportFormat-Parameter in the mini toolbar

  1. Open the Properties pane.

  2. For the newly created ExportFormatParam, enter a parameter name and value. For information on the names and values you can use, see the parameters table below.

A yellow exclamation mark on the ExportFormatParam icon indicates that the name you entered is invalid.

Parameter with specified name and value

Table of parameter names and values

Parameter

Value

Description

Picture_JpegQuality

100

Specify the quality and the corresponding compression ratio of the generated JPEG graphic. The value lies between 0 and 100, with 100 representing the highest quality (least compression). Default value: 100.

Picture_BitsPerPixel

1

Monochrome

4

16 colors

8

256 colors

24

24bit True Color

32

32bit True Color

HTML_Title

 

<Title>

Specify the title of the generated HTML document. Default: Title used with LlPrintWithBoxStart().

PDF_Title

LlPrintWithBoxStart()

Specify the title of the generated PDF document.

PDF_Subject

<subject>

Specify the subject of the generated PDF document.

PDF_Keywords

<Keyword>

Specify the keywords of the generated PDF document.

PDF_ExcludedFonts

<font; font; ect.>

Specify a list of fonts separated by commas. These fonts are never embedded, regardless of the PDF font mode setting.

TXT_SeparatorChar

NONE

No separator

TAB

Tab as separator

BLANK

Blank as separator

,

, as separator

;

; as separator

TXT_FrameChar

NONE

No framing

as framing character

as framing character

TXT_IgnoreGroupLines

0

Export group lines

1

Ignore group lines

TXT_IgnoreHeaderFooterLines

0

Export header and footer lines

1

Ignore header and footer lines

TXT_Charset

ANSI

Ansi character set

ASCII

Ascii character set

UNICODE

Unicode character set

TIFF_CompressionType

None

No compression

CCITTRLE

CCITT Modified Huffmann RLE

CCITT3

CCITT Group 3 Fax encoding

CCITT4

CCITT Group 4 Fax encoding

JPEG

JPEG DCT compression

ZIP

ZIP compression

TIFF_CompressionQuality

75

Specify the compression quality for the TIFF export.

XLS_FontScalingPercentage

89

Scaling factor for font sizes. This compensates for the increased text height in Microsoft Excel.

XLS_PrintingZoom

<Zoom>

Scaling factor for the project printout. This compensates for the inability to place any objects in the non-printable area. Default: 88.

XLS_IgnoreGroupLines

0

Export group lines

1

Ignore group lines

XLS_IgnoreHeaderFooterLines

0

Export header and footer lines

1

Ignore header and footer lines

XLS_IgnoreLineWrapForDataOnlyExport

0

Export line wraps to Excel

1

Ignore line wraps

XLS_ConvertNumeric

0

No automatic conversion

1

Format numeric values according to the setting in Project->Options->ReportingUI.

2

Convert only columns that actually contain a numeric value (e.g. a price). If a numeric column is explicitly formatted in List & Label (e.g. Str$(price,0,0)), it's not converted.

3

If you don't use the Format property in Project->Options->ReportingUI, the content is transferred to Excel as text.

XLS_AllPagesOneSheet

0

Create a separate worksheet for each page.

1

Add all pages to the same worksheet.

XLS_WorksheetName

<Name>

Configure the name of the worksheet(s). You can use the format identifier It will be replaced by the page number at runtime.