Thanks for the reply ..
let me give you brief on my issue.
i am using the following code for getting an object of presentationMLPackage similar to what you have done in case of docx4jToHtml
PresentationMLPackage presentationMLPackage = (PresentationMLPackage)OpcPackage.load(is,Filetype.ZippedPackage,null);
but it is throwing exception as
java.lang.NoSuchFieldError: org.pptx4j.jaxb.Context.jcPML
at org.docx4j.openpackaging.parts.PresentationML.JaxbPmlPart.<init>(JaxbPmlPart.java:76)
01-24 11:40:51.168: E/AndroidRuntime(27380): at org.docx4j.openpackaging.parts.PresentationML.MainPresentationPart.<init>(MainPresentationPart.java:42)
01-24 11:40:51.168: E/AndroidRuntime(27380): at org.docx4j.openpackaging.parts.PresentationML.JaxbPmlPart.newPartForContentType(JaxbPmlPart.java:89)
01-24 11:40:51.168: E/AndroidRuntime(27380): at org.docx4j.openpackaging.contenttype.ContentTypeManager.newPartForContentType(ContentTypeManager.java:411)
01-24 11:40:51.168: E/AndroidRuntime(27380): at org.docx4j.openpackaging.contenttype.ContentTypeManager.getPart(ContentTypeManager.java:255)
01-24 11:40:51.168: E/AndroidRuntime(27380): at org.docx4j.openpackaging.io.LoadFromZipNG.getRawPart(LoadFromZipNG.java:519)
01-24 11:40:51.168: E/AndroidRuntime(27380): at org.docx4j.openpackaging.io.LoadFromZipNG.getPart(LoadFromZipNG.java:427)
01-24 11:40:51.168: E/AndroidRuntime(27380): at org.docx4j.openpackaging.io.LoadFromZipNG.addPartsFromRelationships(LoadFromZipNG.java:350)
01-24 11:40:51.168: E/AndroidRuntime(27380): at org.docx4j.openpackaging.io.LoadFromZipNG.process(LoadFromZipNG.java:243)
01-24 11:40:51.168: E/AndroidRuntime(27380): at org.docx4j.openpackaging.io.LoadFromZipNG.get(LoadFromZipNG.java:193)
01-24 11:40:51.168: E/AndroidRuntime(27380): at org.docx4j.openpackaging.packages.OpcPackage.load(OpcPackage.java:301)
01-24 11:40:51.168: E/AndroidRuntime(27380): at com.example.ppt2image.PPTConverter.changeToHtml(PPTConverter.java:43)
I could not found jcPML field in
https://github.com/plutext/docx4j/blob/ ... ntext.javaa/c to one suggestion i tried to add one entry in the context.java for org.pptx.pml.P.class.getPackage
but P.java file is NOT present in
https://github.com/plutext/docx4j/tree/ ... pptx4j/pmlAre there any discrepancies in the api of Docx4J ?
Please Help .
Thanks