Hello,
could anyone post a complete code example of how to add a image to a pptx?
thanks in advance
It is currently Sun Feb 23, 2025 4:35 am
Exception in thread "main" java.lang.ClassCastException: org.docx4j.org.xhtmlrenderer.newtable.TableSectionBox cannot be cast to org.docx4j.org.xhtmlrenderer.newtable.TableBox
at org.docx4j.convert.in.xhtml.Importer.traverse(Importer.java:463)
at org.docx4j.convert.in.xhtml.Importer.traverse(Importer.java:746)
at org.docx4j.convert.in.xhtml.Importer.traverse(Importer.java:746)
at org.docx4j.convert.in.xhtml.Importer.convert(Importer.java:382)
at org.docx4j.samples.XHTMLImportFragment.main(XHTMLImportFragment.java:95)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120)
Total posts 10142 • Total topics 2852 • Total members 2083