In addition to normal styling using CSS classes, you can reference classes that are defined in the docx document:
<div class="Title"> This is the title </div> <div> This is some other text. </div>
"Title" is a defined style inside the WordprocessingMLPackage when it has been created via WordprocessingMLPackage.createPackage();
WordprocessingMLPackage
WordprocessingMLPackage.createPackage();
Similarly, new styles can be added in the WordprocessingMLPackage and referenced from the HTML content.
There was an error while loading. Please reload this page.