Programming Interface

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

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

Picture.BitsPerPixel: Defines the color depth of the generated pictures.

Value

Meaning

1

Black & White

24

24bit True Color

Default

24

 

Picture.JPEGQuality: Specifies the quality and the corresponding compression factor of the generated JPEG graphic. The value lies between 0 and 100, with 100 representing the highest quality (and therefore the least compression). Takes effect only when the source graphic is not the JPEG format, as encoding of JPEG to JPEG would result in a quality loss. Default: 75

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

Value

Meaning

0

Ignore object

1

Object as rectangle

2

Object as picture

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 ellipse

2

Object as picture

Default:

1

 

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

Value

Meaning

0

Ignore object

1

Object as line

2

Object as picture

Default

1

 

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 text

2

As unformatted text

3

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

Object as picture

Default

1

 

Verbosity.LLXObject: Configures how LLX objects (OLE, HTML, chart) should be exported.

Value

Meaning

0

Ignore object

1

Object as picture

Default:

1

 

DOCX.AllPagesOneFile: Enables creation of a separate Word document for each page.

Value

Meaning

0

A separate Word document is create per page

1

All pages are created in the same Word document

Default

1

 

DOCX.Author: Sets the Author property in the Word file. Default: empty.

DOCX.FloatingTableMode: Enables if tables will be linked. For a larger amount of pages with tables this option should be set to '0', because Microsoft Office Word can only link up to 86 (depending on the Word version) tables.

Value

Meaning

0

Table won't be linked

1

Tables will be linked

Default

1

 

DOCX.CellScalingPercentageHeight: Scaling factor (with decimal places) to correct the cell heights. Default: 100 (=100% cell height)

DOCX.CellScalingPercentageWidth: Scaling factor (with decimal places) to correct the cell widths. Default: 100 (=100% cell width)

DOCX.FontScalingPercentage: Scaling factor to correct font sizes. Default: 100 (=100% font size)

DOCX.IgnoreCellPadding: Defines wether the Border Spacing will be ignored.

Value

Meaning

0

Border Spacing will not be ignored

1

Border Spacing will be ignored

Default

0

 

DOCX.Keywords: Sets the Tags property in the Word file. Default: empty.

DOCX.Subject: Sets the Subject property in the Word file. Default: empty.

DOCX.Title: Sets the Title property in the Word file. Default: empty.

Export.File: Defines the file name of the generated Word document. If empty, the file selection dialog will be displayed.

Export.Path: Defines the path of the generated Word document.

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.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 so that usually Microsoft Word® should be executed.

Default

0