sirvera wrote: What im trying to do is to override a text what is already in the header, I try with unmarshallFromTemplate and Transverse example but it looks like this does not apply for text within the header or footer.
sirvera wrote:The second issue I have is that from a Word Template I need to process that and insert different JPG in specific places of the document. Every time I try to add an Image goes always to the end of the document, when I try to change the Image using the Transverse example I get an error.
MainDocumentPart documentPart = wordMLPackage.getMainDocumentPart();
org.docx4j.wml.Document wmlDocumentEl = documentPart.getJaxbElement();
Body body = wmlDocumentEl.getBody();
List <Object> bodyChildren = body.getEGBlockLevelElts();
P p = bodyChildren.item(2)
Users browsing this forum: Bing [Bot], Yahoo [Bot] and 7 guests