Hi,
When can we expect a latest stable release with option to import dependency from maven central, So that we can use all the latest xhtml import features.
Thanks
It is currently Wed Nov 27, 2024 7:40 am
####<Sep 6, 2013 2:42:57 PM EDT> ... <<WLS Kernel>> xxxx.DocxManipulator getMainDocumentPart
SEVERE: null
org.docx4j.openpackaging.exceptions.InvalidFormatException: Bad [Content_Types].xml
at org.docx4j.openpackaging.contenttype.ContentTypeManager.parseContentTypesFile(ContentTypeManager.java:699)
at org.docx4j.openpackaging.io.LoadFromZipNG.process(LoadFromZipNG.java:206)
at org.docx4j.openpackaging.io.LoadFromZipNG.get(LoadFromZipNG.java:193)
at org.docx4j.openpackaging.packages.OpcPackage.load(OpcPackage.java:301)
at org.docx4j.openpackaging.packages.OpcPackage.load(OpcPackage.java:245)
at org.docx4j.openpackaging.packages.OpcPackage.load(OpcPackage.java:195)
at org.docx4j.openpackaging.packages.OpcPackage.load(OpcPackage.java:178)
at org.docx4j.openpackaging.packages.WordprocessingMLPackage.load(WordprocessingMLPackage.java:172)
at xxxx.getMainDocumentPart(DocxManipulator.java:829)
Caused by: java.lang.ClassCastException: org.docx4j.openpackaging.contenttype.CTTypes cannot be cast to javax.xml.bind.JAXBElement
at org.docx4j.openpackaging.contenttype.ContentTypeManager.parseContentTypesFile(ContentTypeManager.java:674)
... 11 more>
MainPresentationPart presentation = ppt.getMainPresentationPart();
Part slidePart = ppt.getParts().get(new PartName("/ppt/slides/slide" + slideNum + ".xml"));
// remove slide from slide list[/color]
SldIdLst sldIdLst = presentation.getJaxbElement().getSldIdLst();
sldIdLst.getSldId().remove(slideNum);
// remove relationship from presentation[/color]
presentation.getRelationshipsPart().removeRelationship(slidePart.getPartName());
// remove part from package[/color]
ppt.getPackage().getParts().remove(slidePart.getPartName());
ppt.getParts().remove(slidePart.getPartName());
Total posts 10111 • Total topics 2842 • Total members 2074