Hello Everyone,
I am new to docx4j, however I created some tests and I find it very useful.
I can not figure it out how to replace text in document with image from file:/
I am able to instert picture to the end of doc with: wordPackage.getMainDocumentPart().addObject(p).
I know how to replace text for other text using JAXBElement.
I also know how to replace image with other image using wordPackage.getParts() and then comparing name of PartName
Could someone please help me with replacing text with image or just help to insert picture to desired part of document?
Thanks in advance!