Word Template Styles
Using Ghostwriter's Word styles

Ghostwriter's Styles

There are many variables you can configure for a style in a Word document. In some cases, Ghostwriter must apply styles for you (ex: formatting text evidence in a finding). You can refine these styles by creating and editing these styles in your templates.

Customizing the Styles

These styles are called by name:
Style Name
Description
CodeBlock
Style text evidence and anything in the WYSIWYG editor's code editor
CodeInline
Style runs of text formatted as code in the WYSIWYG editor
Number List
Style numbered (ordered) lists
Bullet List
Style bulleted (unordered) lists
Caption
Built-in style used for captions below evidence and lines pre-ceded by the {{.caption}} expression
List Paragraph
Built-in base style used for bulleted and numbered lists; the fallback built-in style if your template lacks the customized styles mentioned above
Note on List Styles
You can choose to not create these list styles, but lists will probably not look right in your document. Word's built-in styles (e.g., List Paragraph) do not apply the proper/expected indentation. This leads to problems during later editing.
When you create a list in Word, the application applies List Paragraph and additional styling depending on your selection (numbered or bulleted). The style will appear as List Paragraph,DAI2 or similar.
This style does not exist in your template until you use it once, so Ghostwriter can't default to using it. (See below.)
Create a numbered list, open the styles tab, and save the style as a new style named Numbered List. Repeat this for bulleted lists.
Feel free to modify indentation for nested list items and any other style variables before you save your new style.
Note on Built-in Styles
Word offers many, many built-in styles you might expect to be available to Ghostwriter; however, these styles only exist in the Word application. To keep file size down, Word will only add a style to your template's styles.xml when you use it.
This means a style like Caption will not exist in your template until you've actually applied it once or you create it yourself.
To add one of the built-in styles to your template, simply apply it once and save your document. You can undo the style. The important thing is the style appears under the In current document list in the Styles Pane.
Last modified 9mo ago