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_JpegEncoding

0

Save JPEGS as (external) files.

1

Include pictures MIME encoded into the XML file.

2

Ignore JPEG images.

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_Charset

1250

Set charset to ISO-8859-2
(Latin-2).

1251

Set charset to ISO-8859-5 (Cyrillic).

1252

Set charset to ISO-8859-1 (Latin-1).

1253

Set charset to ISO-8859-7 (Greek).

1254

Set charset to ISO-8859-9
(Latin-5, Turk).

1255

Set charset to ISO-8859-8 (Hebraic).

1256

Set charset to ISO-8859-6 (Arabian).

1257

Set charset to ISO-8859-4 (Latin-4).

932

Set charset to ISO-2022-JP (Japanese).

936

Set charset to GB2312 (Chinese).

HTML_Title

 

<Title>

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

HTML_FormHeader

<Form>

Define a certain HTML form tag such as <form method="POST" action=..., to have all object names analyzed for special tags used for the form extension.

HTML_FormFooter

</form>

Define a specific HTML form tag that indicates the end of the form.

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_FontMode

0

No embedding. Uses the TrueType fonts on the target machine if possible, or the font mapper selects substitutes.

1

All TrueType fonts are embedded.

2

Only symbol fonts are embedded.

3

No embedding. Replaces all fonts with PostScript standard fonts.

4

Subset integration embedding. Embeds only the characters from the selected code page.

5

Subset embedding. Embeds only the used characters.

6

Use CID fonts (recommended if you use Unicode texts).

7

Use outlines for fonts.

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.

PDF_CompressStreamMethod

0

No compression

1

Flate compression

2

Run-length compression

3

FastFlate compression

PDF_JpegQuality

0

Minimum file size

1

25 percent quality

2

50 percent quality

3

75 percent quality

4

100 percent quality

5

No JPEG compression

PDF_PdfAMode

0

Don't create PDF/A

1

Create PDF/A

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_Title

 

<Title>

Specify the title of the generated XLS document. Default: title passed to LlPrintWithBoxStart().

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.