-
Notifications
You must be signed in to change notification settings - Fork 15
Templates
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.
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
.
Content in list items will use the List Paragraph style. Style ID must be List Paragraph
.
Tables without a border will use the Table Normal style. Style ID must be TableNormal
.
Tables with a border will use the Table Grid style. Style ID must be TableGrid
.
Content inside table cells will be Normal style. Style ID must be Normal
.
Table and figure titles are output using the Caption style. Style ID must be Caption
.