Recent changes in Word? AlternateContent around Textboxes!
Posted: Tue Jul 10, 2018 4:00 am
Hi All,
We have implemented an application where uses can build complex DOCX templates in Word and we fill them with some data.
There is a heavy need for placing text in textboxes.
We have using the latest Word 2016.
Recently I have noticed my program eventually fails to find the textboxes in new files.
When I peek into it, I found ot, the Run of the Textboxes had surrounded by AlternateContent/Coice elements:
<w:r>
<w:rPr>
...
</w:rPr>
<mc:AlternateContent>
<mc:Choice Requires="wps">
<w:drawing>
...
</w:drawing>
</mc:Choice>
<mc:Fallback>
<w:pict>
...
</mc:Fallback>
</mc:AlternateContent>
</w:r>
But these are not read by the docx4j!!
I cant get rid of them with the File menu Compatibility button. (It got hidden as of this is the latest docx format.)
How can I manage this?
Please help us!
Kind Regards,
Gabor
We have implemented an application where uses can build complex DOCX templates in Word and we fill them with some data.
There is a heavy need for placing text in textboxes.
We have using the latest Word 2016.
Recently I have noticed my program eventually fails to find the textboxes in new files.
When I peek into it, I found ot, the Run of the Textboxes had surrounded by AlternateContent/Coice elements:
<w:r>
<w:rPr>
...
</w:rPr>
<mc:AlternateContent>
<mc:Choice Requires="wps">
<w:drawing>
...
</w:drawing>
</mc:Choice>
<mc:Fallback>
<w:pict>
...
</mc:Fallback>
</mc:AlternateContent>
</w:r>
But these are not read by the docx4j!!
I cant get rid of them with the File menu Compatibility button. (It got hidden as of this is the latest docx format.)
How can I manage this?
Please help us!
Kind Regards,
Gabor