For Word output, create the template file in Word (.docx, .docm).
*Please check the Template Common Settings before referring to this page.
Formatting of Merge Fields
For formatting Date, Date/Time, Currency, and Number fields, refer to the following.
Formatting of Date and Date/Time Fields
Formatting of Currency and Number Fields
Tables
Cell Size
From Table Properties > Table tab > Options, uncheck "Automatically resize to fit contents".
Office Features
In principle, Office features are outside the scope of support. Some Office features are available, but not all templates are supported. Please check your actual templates and output in the Sandbox.
Available Office Features
Table, Text Box, Watermark, Shapes and Field Codes are available.
Template Sample
Download Sample Template Files
Reference
Generate a Word document in Salesforce using Office File Creator
Troubleshooting
- The borders of the table are not displayed.
- Merge fields in the table are not wrapped and the columns extend horizontally.

