by neallester2 » Sun Feb 10, 2019 6:57 am
I am creating a document (from "scratch"). One intended use case is to render the document as a PDF on a (Linux) server without ever opening it in MS Word.When inserting fields (e.g. SEQ, REF, PAGEREF) in MS Word the resulting document includes a w:t element with the computed value of the field (e.g. "1" for SEQ, PAGEREF; "Bookmarked Text" for ref0. When building such a document in docx4j, do I need to add those computed field values? If so, how do I determine the value for a PAGEREF? Unlike SEQ & REF, I don't necessarily know what that value will end up as.