I'm hoping maybe you can point me in the right direction. Our client uses an offsite printing service that reads printer codes out of old style "Print" fields. I have to create new print fields as I am building the batched word doc using MergeDocx. I can't see how to create a new print field in docx4j. My main issue is that I can't find any class for instrText. I believe if I had that I could make it work.
Here is an example of the xml:
- Code: Select all
<w:p>
<w:r>
<w:fldChar w:fldCharType="begin"/>
</w:r>
<w:r>
<w:instrText xml:space="preserve"> print 027"&p14X@@@FORM=BAN000 </w:instrText>
</w:r>
<w:r>
<w:fldChar w:fldCharType="end"/>
</w:r>
</w:p>