Hello,
For example I've got an org.docx4j.wml.Tr object is it possible to replace it with a different Tr object created based on a string, say, loaded from data base?
It is currently Tue Aug 04, 2026 6:13 am
News of docx4j
wordMLPackage = WordprocessingMLPackage.load(new java.io.File(outputfilepath));
wordMLPackage = ProcessAltChunk.process(wordMLPackage);
SaveToZipFile saver = new SaveToZipFile(wordMLPackage);
saver.save(finaloutpath);
org.docx4j.openpackaging.parts.WordprocessingML.MetafileWmfPart cannot be cast to org.docx4j.openpackaging.parts.WordprocessingML.BinaryPartAbstractImageTotal posts 10234 • Total topics 2888 • Total members 2109