I've been converting DOCX files to XML-FO using the available code, however none of the images in the original document get converted. There appears to be code to support images, and I've tried with GIF, JPG and PNG.
During conversion I see the following exceptions in the log:
- Code: Select all
java.lang.NoSuchMethodException: For extension function, could not find method static org.docx4j.model.images.WordXmlPictureE10.createXslFoImgE10([ExpressionContext,] #UNKNOWN (org.docx4j.openpackaging.packages.WordprocessingMLPackage), #STRING, #NODESET, #UNKNOWN (java.util.HashMap)).
at org.apache.xalan.extensions.MethodResolver.getMethod(MethodResolver.java:276)
From what I can gather the second input ...