Programming Interface

You can find a description of all options used in the RTF export module in this chapter. The options can be modified/read using the methods LlXSet­Para­meter(..."RTF"...) and LlXGet­Parameter(..."RTF"...).

Resolution: Defines the resolution in dpi for the transformation of the coordinates and the generation of pictures. Default: 96 dpi, screen resolution.

Picture.BitsPerPixel: Defines the color depth of the generated picture. Please note that the picture files will quickly get very large with higher color depths.

Value

Meaning

1

Black & White

4

16 Colors

8

256 Colors

24

24bit True Color

Default

24

 

UsePosFrame: Switches the text positioning method.

Value

Meaning

0

Text boxes used for positioning

1

Position frames used for positioning

Default

0

 

Verbosity.Rectangle: Configures how rectangle objects should be exported.

Value

Meaning

0

Ignore object

1

Object as frame

Default

1

 

Verbosity.Barcode: Configures how barcode objects should be exported.

Value

Meaning

0

Ignore object

1

Object as picture

Default

1

 

Verbosity.Drawing: Configures how picture objects should be exported.

Value

Meaning

0

Ignore object

1

Object as picture

Default

1

 

Verbosity.Ellipse: Configures how ellipse objects should be exported.

Value

Meaning

0

Ignore object

1

Object as picture

2

Object as shape object

Default

2

 

Verbosity.Line: Configures how line objects should be exported.

Value

Meaning

0

Ignore object

1

Object as picture

2

Object as shape object

Default

2

 

Verbosity.Text: Configures how text objects should be exported.

Value

Meaning

0

Ignore object

1

Object as text object

2

Object as picture

Default

1

 

Verbosity.RTF: Configures how RTF objects should be exported.

Value

Meaning

0

Ignore object

1

As formatted RTF text

2

Object as picture

Default

1

 

Verbosity.Table: Configures how table objects should be exported.

Value

Meaning

0

Ignore object

1

As a complete table object

Default

1

 

Verbosity.NestedTable: Configures how nested table objects should be exported.

Value

Meaning

0

Ignore object

1

As a complete table object

2

Object as picture

Default

1

 

Verbosity.LLXObject: Configures how LLX objects (e.g. chart object) should be exported.

Value

Meaning

0

Ignore object

1

Object as JPEG

Default

1

 

Export.Path: Path where the exported files should be saved.

Export.File: File name of the RTF document. If this option is set to an empty string, a file selection dialog will always be displayed.

Export.Quiet: Use this option to configure the possibility of exporting without user interaction.

Value

Meaning

0

With user interaction (dialogs)

1

No dialogs or message boxes – even overwrite warnings - will be displayed (only if Export.File was specified).

Default

0

 

Export.ShowResult: Specifies whether the export result will be displayed automatically. The program that displays the result will be determined by the registered file extension.

Value

Meaning

0

Result will not be displayed automatically

1

Calls ShellExecute() with Export.File

Default

0

 

Export.ShowResultAvailable: Enables you to hide the respective checkbox in the dialog.

Value

Meaning

0

Checkbox will be hidden

1

Checkbox will be available

Default

1