Programming Interface

You can find a description of all options used in the TXT export module in this chapter. The options can be modified using the methods LlXSetParameter(..."TXT"...) and read by calling LlXGet­Parameter(..."TXT"...).

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

Export.File: File name of the document. If this option is empty, a file selection dialog will always be displayed, default "export.txt".

Export.InfinitePage: This "endlessly" increases the size of the page output, you get an export that is not divided by breaks (unless you work with "Pagebreak Before", then the page will still be wrapped there).

Value

Meaning

0

Single pages

1

Endless page

Default

1

 

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

Value

Meaning

0

Export with user interaction (dialogs)

1

No dialogs or message boxes will be displayed (only if Export.Path 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 associated file type.

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

 

TXT.FrameChar: Specifies the framing character for the columns.

Value

Meaning

NONE

No framing

"

" as framing character

'

' as framing character

 

TXT.SeparatorChar: Specifies the separator character.

Value

Meaning

NONE

No separator

TAB

Tab as separator

BLANK

Blank as separator

,

, as separator

;

; as separator

 

TXT.IgnoreGroupLines: Allows group header and footer lines to be ignored in the resulting text file.

Value

Meaning

0

Group lines are exported

1

Group lines are ignored

Default

1

 

TXT.IgnoreHeaderFooterLines: Allows header and footer lines to be ignored in the resulting text file.

Value

Meaning

0

Header and footer lines are exported

1

Header and footer lines are ignored

2

Header and footer lines are exported once on the first page. To export the footer lines only on the last page, set the appearance condition to LastPage().

Default

1

 

TXT.Charset: Specifies the character set of the result file. The target code page needs to be passed in addition (e.g. 932 for Japanese) using LL_OPTION_CODEPAGE.

Value

Meaning

ANSI

Ansi character set

ASCII

Ascii character set

UNICODE

Unicode character set

UTF8

UTF8 character set

Default

UNICODE