I am using docx4j-3.2.1.jar.
In my test word file, I can see
- Code: Select all
<w:p><w:r><w:t xml:space="preserve">1 Example 3a (bold) 1</w:t></w:r></w:p>
however, in my xsl-fo file,
- Code: Select all
<block font-size="10.5pt" line-height="100%" space-after="0in" space-before="0in" text-align="justify"><inline><inline font-family="Times New Roman">1 Example 3a (bold) 1</inline></inline></block>
The attribute white-space-treatment="preserve" is not produced. and therefore, my pdf output does not have white space neither.
Does anyone know how to deal with this?
Thank you!