WordProcessingOptions class

WordProcessingOptions class

Contains options for rendering Word documents. For details, see the documentation.

The WordProcessingOptions type exposes the following members:

Constructors

Constructor Description
init Contains options for rendering word processing documents. For details, see the documentation.

Properties

Property Description
page_size The size of the output page.
The default value is PageSize.UNSPECIFIED which means that a page size is set in a page settings (Page Setup) is used.

When rendering HTM and HTML files the default page size is set to Letter 792 x 612 points.
As a result, some of the content may not fit into the page frame.
Set a larger page size e.g. PageSize.A3 to fit the contents.
render_tracked_changes Enables tracked changes (revisions) rendering.
left_margin Sets the left margin of a page.
right_margin Sets the right margin of a page.
top_margin Sets the top margin of a page.
bottom_margin Sets the bottom margin of a page.
enable_open_type_features This option enables kerning and other OpenType Features when rendering Arabic, Hebrew, Indian Latin-based, or Cyrillic-based scripts.
unlink_table_of_contents When rendering to HTML or PDF, you can set this option to true to disable navigation from the table of contents.
For HTML rendering, a tags with relative links will be replaced with span tags, removing functionality but preserving visual appearance.
For PDF rendering, the table of contents will be rendered as plain text without links to document sections.

See Also