hi,all:
i want to replace the footer placeholders with "AAA" ,i find there is not the method getJAXBNodesViaXPath in the FooterPart.class,how can i do?
thanks in advance!
tosswang
It is currently Sat Oct 18, 2025 6:48 pm
WARN Conversion org.docx4j.convert.out.pdf.viaXSLFO.Conversion.notImplemented(Conversion.java:478)
Mensagem: NOT IMPLEMENTED: support for wp:inline
without pic:pic
ERROR Conversion org.docx4j.convert.out.pdf.viaXSLFO.Conversion.createBlock(Conversion.java:828)
Mensagem: java.lang.NullPointerException
WARN Conversion org.docx4j.convert.out.pdf.viaXSLFO.Conversion.notImplemented(Conversion.java:478)
Mensagem: NOT IMPLEMENTED: support for w:pict
without v:imagedata
DocumentSettingsPart dsp = doc.getDocumentSettingsPart();
ObjectFactory factory = new ObjectFactory();
CTDocProtect protection = factory.createCTDocProtect();
protection.setEdit(STDocProtect.COMMENTS);
protection.setEnforcement(true);
protection.setCryptProviderType(STCryptProv.RSA_FULL);
protection.setCryptAlgorithmClass(STAlgClass.HASH);
protection.setCryptAlgorithmType(STAlgType.TYPE_ANY);
protection.setCryptAlgorithmSid(BigInteger.valueOf(4));
protection.setCryptSpinCount(BigInteger.valueOf(100000));
protection.setHash(???);
protection.setSalt(???);
dsp.getJaxbElement().setDocumentProtection(protection);
Total posts 10200 • Total topics 2872 • Total members 2100