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 Nov 26, 2024 1:49 am
wordMLPackage = WordprocessingMLPackage.load(new java.io.File(outputfilepath));
wordMLPackage = ProcessAltChunk.process(wordMLPackage);
SaveToZipFile saver = new SaveToZipFile(wordMLPackage);
saver.save(finaloutpath);
try {
// JBOSS might use a different class loader to load JAXBContext, which causes problems,
// so explicitly specify our class loader.
Context tmp = new Context();
java.lang.ClassLoader classLoader = tmp.getClass().getClassLoader();
//log.info("\n\nClassloader: " + classLoader.toString() );
log.info("loading Context jc");
org.docx4j.openpackaging.parts.WordprocessingML.MetafileWmfPart cannot be cast to org.docx4j.openpackaging.parts.WordprocessingML.BinaryPartAbstractImage
Total posts 10111 • Total topics 2842 • Total members 2074