ARCWAY Cockpit

Format Templates for MS Word™ Documents

If the report is to be generated as MS Word document, then an MS Word template (.dot) is required as format template.

The following hints should be considered when a custom MS Word format template is to be created:

You can find a sample for an MS Word format template on the ARCWAY web site at www.arcway.com/downloads.

Custom Document Properties in MS Word™ Documents

DocBook meta information is mapped to MS Word Document Properties as follows:

Mapping from DocBook to MS Word Document Properties

Note: You need to create the custom document properties in your word template in order to enable ARCWAY Cockpit to fill the properties.

The element bibliomisc is an exception: Usually, it's value is taken into document property BiblioMisc. If it's value follow a specific syntax, a set of document properites can be set instead. The value can contain multiple lines. Each line represents one document property. Each line will be trimmed (i.e. leading and trailing spaces will be removed). Each line must end with a semicolon. The semicolon will be removed. The remaining line must contain at least one equal sign. The part in front of the first equal sign will be trimmed and be taken as the name of the document property. The part behind the first equal sign will be trimmed and be taken as the value of the document property. bibliomisc will be interpreted that way if and only if all lines fullfill the syntax described. In this case, not the property BiblioMisc will bestead, but the specified properties will be set instead. Only properties defined in the word template will be set (see above).

The custom document property PageBreakAfterTitlePage controls the page break after the title page. Valid values are: PageBreak_None, PageBreak_NextPage, PageBreak_OddPage and PageBreak_EvenPage.

The same values are allowed for the custom document properties PageBreakBeforeFirstChapter and PageBreakBeforeOtherChapters to control the page break behaviour before the first chapter and before all further chapters.

Furthermore these values are allowed in custom document properties matching the name pattern "PageBreakBefore."+ to control the page break behaviour before each paragraph of the specified format.