The difference in document.xml between empty docx document and mine, i presume is this one:
- Code: Select all
<w:pPr>
<w:pStyle w:val="Heading0"/>
<w:numPr>
<w:ilvl w:val="0"/>
<w:numId w:val="0"/>
</w:numPr>
<w:jc w:val="left"/>
</w:pPr>
<w:r>
<w:t>DD</w:t>
</w:r>
</w:p>
The xml difference doesn't seem too strange but for some reason I am getting the following exception when converting to Pdf:
Caused by: java.lang.IllegalArgumentException: Only non-null Positions with an index can be checked
Do you have an idea why?