Skip to content
rahulraykor edited this page Oct 23, 2018 · 5 revisions

The DITA to Word plug-in comes with a default Word template that is used as a basis for the DOCX output. This is configured using dotx.file property and a custom template can be used by overriding the default template path.

The template file needs to be either a DOCX or DOTX or DOCM file where the styles must follow the following conventions.

Body Text

All body content in the document will use the Body Text style. Default body indent is read from this style and used when calculating indents for other styles. Style ID must be BodyText.

List Paragraph

Content in list items will use the List Paragraph style. Style ID must be List Paragraph.

Table Normal

Tables without a border will use the Table Normal style. Style ID must be TableNormal.

Table Grid

Tables with a border will use the Table Grid style. Style ID must be TableGrid.

Normal

Content inside table cells will be Normal style. Style ID must be Normal.

Caption

Table and figure titles are output using the Caption style. Style ID must be Caption.

Clone this wiki locally