1. Help Center
  2. Document Generation for Mendix

How to use conditional formatting in Word

Conditional formatting is possible by using IF-constructions for Merge fields in Word. For example if you would like to highlight certain numbers on an invoice lay-out, you can extend the Merge field definitions in your Word template.

An example of the template:




The resulting generated document could look like this (depending on the content of the invoice record):