Programming Interface

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

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

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

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

24

24bit True Color

Default

24

 

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

Value

Meaning

0

Ignore object

1

Object as JPEG (and also as a complete rectangle for objects with colored background).

Default

1

 

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

Value

Meaning

0

Ignore object

1

Object as JPEG

Default

1

 

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

Value

Meaning

0

Ignore object

1

Object as JPEG

Default

1

 

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

Value

Meaning

0

Ignore object

1

Object as JPEG

Default

1

 

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

Value

Meaning

0

Ignore object

1

Object as JPEG

Default

1

 

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

Value

Meaning

0

Ignore object

1

Object as text object

2

Object as JPEG

Default

1

 

Verbosity.Text.Frames: Configures how text object frames should be exported.

Value

Meaning

0

Single frames for top, bottom, left, right (uses CSS)

1

Complete frame as box

Default

0

 

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

Value

Meaning

0

Ignore object

1

As formatted RTF text (parsed and converted to HTML)

2

As unformatted text (uses the default font specified in the project file)

3

Object as JPEG

Default

1

 

Verbosity.RTF.Frames: Configures how RTF object frames should be exported.

Value

Meaning

0

Single frames for top, bottom, left, right (uses CSS)

1

Complete frame as box

Default

0

 

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

Value

Meaning

0

Ignore object

1

As a table object

Default

1

 

Verbosity.Table.Cell: Configures how table cells should be exported.

Value

Meaning

0

Ignore cell

1

As a cell object using the verbosity settings of the object types specified in the cell.

2

Cells as JPEG

Default

1

 

Verbosity.Table.Frames: Configures how table frames should be exported.

Value

Meaning

0

Ignore table frame

1

Only horizontal lines of table frames

2

The whole table line including all frames

3

Cell-specific frames (uses CSS)

Default

3

 

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

Value

Meaning

0

Ignore object

1

Object as JPEG

Default

1

 

Verbosity.LLXObject.HTMLObj: Configures how the HTML object should be exported.

Value

Meaning

0

Ignore object

1

Object as JPEG

2

Object as embedded HTML. Only the HTML text between the <BODY> and </BODY> tags will be exported. Please note the hint on exporting limitations.

Default

2

 

XHTML.DrawingsAsSVG: Specifies the format in which chart objects are exported.

Value

Meaning

0

Object as PNG (legacy mode)

1

Object as SVN (new mode)

Default

1

 

XHTML.FixedHeader: The header is fixed and remains visible while scrolling. Note: This option is not supported by Internet Explorer.

Value

Meaning

0

Header is not fixed.

1

Header is fixed.

Default

0

 

XHTML.Title: Specifies the title of the generated XHTML document.

XHTML.ToolbarType: Specifies if an additional toolbar will be created.

Value

Meaning

0

No toolbar will be created.

1

A toolbar with color scheme Skyblue will be created.

2

A toolbar with color scheme Blue will be created.

3

A toolbar with color scheme Black will be created.

4

A toolbar with color scheme Web will be created.

Default

4

 

XHTML.UseAdvancedCSS: Allows the usage of non-standard CSS formatting styles.

Value

Meaning

0

No non-standard CSS formatting styles are used

1

Non-standard CSS formatting styles may be used, e.g. to create a gradient fill.

Default

1

 

XHTML.UseOriginalURLsForImages: Specifies from where images will be loaded from.

Value

Meaning

0

Images will be temporarily stored on the local machine.

1

Images will be loaded from their original path.

Default

0

 

XHTML.UseSeparateCSS: Specifies if a separate CSS file will be created.

Value

Meaning

0

CSS will be added to the HEAD area of the XHTML file.

1

CSS will be created in a separate file.

Default

0

 

Layouter.Percentaged: This option configures whether the layout should be defined in absolute values or with values expressed as percentage.

Value

Meaning

0

Layout of the X coordinates in absolute values (pixel)

1

Layout of the X coordinates with values expressed as percentage

Default

0

 

Layouter.FixedPageHeight: Configures whether all pages should be forced to have the same page height.

Value

Meaning

0

Layout can shrink on the last page (e.g. if no objects have been placed in the page footer)

1

The page height is set as configured

Default

1

 

Export.Path: Path where the exported files should be saved. If this option is empty, a file selection dialog will always be displayed.

Export.File: File name of the first HTML page. Default: "index.htm". You may also use printf format strings like "%d" in the file name (ex. "Export Page %d.htm"). In this case, the files for the pages will be named by replacing the placeholder with the correctly formatted page number. Otherwise, you will get a simple page numbering for the result files.

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

0

 

Export.AllInOneFile: Configures the export result format.

Value

Meaning

0

Every printed page will be exported in a single HTML file.

1

The result is a single HTML file (Export.File), containing all printed pages.

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