Skip to content
achimmihca edited this page Jan 6, 2021 · 1 revision

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();

Similarly, new styles can be added in the WordprocessingMLPackage and referenced from the HTML content.

Clone this wiki locally