I'm using docx4j 184.108.40.206 and I've created a docx file starting from an xhtml; this xhtml has a sequence of tags h1 and h2 which in docx are stored as
1 This is a Title 1 level and it is reported in this wrong
1.1 This is a Title 2 level and it is report in this wrong
I need to have the docx with the following layout
1 This is a Title 1 level and it is reported in this correct
1.1 This is a Title 2 level and it is report in this correct
Do you know if there is a setting or a command which allows to have the second layout ?
Thanks in advance and best regard.