How to apply custom styling to a document template

I am working on a document template and I have applied styling to my headers individually (i.e. using the style pop-up in Mendix). Am I correct to assume that this can be done more efficiently by applying css as a custom style on each object? How do I do that? I applied 'h2' as a custom style but when I render my document in Mendix I get an error.
1 answers

Hi Tom,

To build nice looking documents you can use this module: 

It uses MS Word as a input document and will merge data from your Mendix application. So the business users can manage the template.

Please try out here: