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:
All layout settings - like the page layout - are left unchanged in the resulting report.
The headers and footers are left unchanged in the resulting report.
The format template may also contain additional contents, like a table of contents, e.g.. All additional contents are placed in the resulting report between the title page and the document body. The title page is considered to comprise all parts before the first chapter of the DocBook structure of the report to be generated.
During report generation the following paragraph styles are used from the format template:
In addition, depending on the report template used, additional paragraph and table styles may be necessary. The ARCWAY standardreport template, e.g., uses the following paragraph styles:
and table style:
You can find a sample for an MS Word format template on the ARCWAY web site at www.arcway.com/downloads.
DocBook meta information is mapped to MS Word Document Properties as follows:
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."+