Programming Interface

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

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.json".

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.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

 

JSON.AutodetectDatatype: This can be used to define whether all table columns should be output as text or with an automatically assigned JSON type.

Value

Meaning

0

Output as text

1

Output with data type (Null, numeric, date, text)

Default

1