Skip to main content

Word formatting problems

Formatting differences between template and generated output can happen when controls or styles are inconsistent.

Typical issues

  • Font changes after generation
  • Spacing/line breaks are inconsistent
  • Table borders or widths shift
  • Date/text alignment differs from template

How to reduce formatting drift

  • Prefer Plain Text controls for simple values
  • Use Rich Text only when formatting is intentionally dynamic
  • Apply paragraph and table styles consistently in the template
  • Avoid mixing manual formatting and style-based formatting in the same block

Template checks

  • Ensure content controls are placed inside final table cells/paragraphs
  • For long text fields, verify wrapping and paragraph style behavior
  • For dates, use Date Picker where possible

Troubleshooting flow

  1. Generate with minimal sample data
  2. Compare generated DOCX to template
  3. Adjust one control/style at a time and re-test