You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by ki...@apache.org on 2021/10/25 20:57:24 UTC

svn commit: r1894560 - /poi/site/src/documentation/content/xdocs/components/slideshow/ppt-wmf-emf-renderer.xml

Author: kiwiwings
Date: Mon Oct 25 20:57:23 2021
New Revision: 1894560

URL: http://svn.apache.org/viewvc?rev=1894560&view=rev
Log:
add info on how to use PPTX2PNG on the module-path

Modified:
    poi/site/src/documentation/content/xdocs/components/slideshow/ppt-wmf-emf-renderer.xml

Modified: poi/site/src/documentation/content/xdocs/components/slideshow/ppt-wmf-emf-renderer.xml
URL: http://svn.apache.org/viewvc/poi/site/src/documentation/content/xdocs/components/slideshow/ppt-wmf-emf-renderer.xml?rev=1894560&r1=1894559&r2=1894560&view=diff
==============================================================================
--- poi/site/src/documentation/content/xdocs/components/slideshow/ppt-wmf-emf-renderer.xml (original)
+++ poi/site/src/documentation/content/xdocs/components/slideshow/ppt-wmf-emf-renderer.xml Mon Oct 25 20:57:23 2021
@@ -74,6 +74,20 @@
                 <source>
                     java -cp poi-5.1.0.jar:poi-ooxml-5.1.0.jar:poi-ooxml-schemas-5.1.0.jar:poi-scratchpad-5.1.0.jar:lib/*:ooxml-lib/*:auxiliary/* org.apache.poi.xslf.util.PPTX2PNG -format png -fixside long -scale 1000 -charset GBK file.pptx
                 </source>
+                <p>
+                    If you want to use the renderer on the module path (JPMS) there a currently a few more steps necessary:
+                </p>
+                <ul>
+                    <li>Extract poi-bin-....zip to a directory (= current directory)</li>
+                    <li>Move poi-ooxml-full-5.1.0.jar,poi-javadoc-5.1.0.jar and auxiliary/xml-apis-1.4.01.jar (Java 11+) into new subdirectory "unused"</li>
+                    <li>Move all other jars in current directory into a new subdirectory "poi"</li>
+                    <li>Remove auxiliary/batik-script-1.14.jar:/META-INF/services/org.apache.batik.script.InterpreterFactory - see <a href="https://issues.apache.org/jira/browse/BATIK-1260">BATIK-1260</a></li>
+                    <li>Invoke PPTX2PNG:
+                        <source>
+                            java --module-path poi:lib:auxiliary:ooxml-lib --module org.apache.poi.ooxml/org.apache.poi.xslf.util.PPTX2PNG -format png -fixside long -scale 1000 file.pptx
+                        </source>
+                    </li>
+                </ul>
                 <note>
                     JDK 1.8 is by default using the PiscesRenderingEngine and affected by
                     <a href="https://github.com/AdoptOpenJDK/openjdk-build/issues/716">Busy loop hangs</a>.



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org