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 2020/09/03 19:16:26 UTC

svn commit: r1881417 - /poi/site/publish/components/slideshow/ppt-wmf-emf-renderer.html

Author: kiwiwings
Date: Thu Sep  3 19:16:26 2020
New Revision: 1881417

URL: http://svn.apache.org/viewvc?rev=1881417&view=rev
Log:
add instructions for PPTX2PNG

Modified:
    poi/site/publish/components/slideshow/ppt-wmf-emf-renderer.html

Modified: poi/site/publish/components/slideshow/ppt-wmf-emf-renderer.html
URL: http://svn.apache.org/viewvc/poi/site/publish/components/slideshow/ppt-wmf-emf-renderer.html?rev=1881417&r1=1881416&r2=1881417&view=diff
==============================================================================
--- poi/site/publish/components/slideshow/ppt-wmf-emf-renderer.html (original)
+++ poi/site/publish/components/slideshow/ppt-wmf-emf-renderer.html Thu Sep  3 19:16:26 2020
@@ -365,13 +365,32 @@ document.write("Last Published: " + docu
 <span class="lineno"></span><span class="codebody">                      often found in math formulas</span>
 </div>
 <div class="codeline">
-<span class="lineno"></span><span class="codebody">    -charset          sets the default charset to be used, defaults to Windows-1252</span>
+<span class="lineno"></span><span class="codebody">    -charset &lt;cs&gt;     sets the default charset to be used, defaults to Windows-1252</span>
 </div>
 <div class="codeline">
 <span class="lineno"></span><span class="codebody"></span>
 </div>
 <div class="codeline">
 <span class="lineno"></span><span class="codebody"></span>
+</div>
+</div>
+<a name="Instructions+to+run"></a>
+<h3 class="boxed">Instructions to run</h3>
+<p>Download the <a href="https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/lastSuccessfulBuild/artifact/build/dist/">current nightly</a>
+</p>
+<p>Download the "provided" jars (<a href="https://search.maven.org/artifact/org.apache.xmlgraphics/batik-all/1.13/pom">batik-all</a>,
+                    <a href="https://search.maven.org/artifact/xml-apis/xml-apis-ext/1.3.04/jar">xml-apis-ext</a>,
+                    <a href="https://search.maven.org/artifact/org.apache.xmlgraphics/xmlgraphics-commons/2.4/jar">xmlgraphics-commons</a>) and put them in the directory "auxiliary".</p>
+<p>Execute the java command (Unix-paths needs to be replaced for Windows - use "-charset" for non-western WMF/EMFs):</p>
+<div class="code">
+<div class="codeline">
+<span class="lineno"></span><span class="codebody"></span>
+</div>
+<div class="codeline">
+<span class="lineno"></span><span class="codebody">java -cp poi-5.0.0-SNAPSHOT.jar:poi-ooxml-5.0.0-SNAPSHOT.jar:poi-ooxml-schemas-5.0.0-SNAPSHOT.jar:poi-scratchpad-5.0.0-SNAPSHOT.jar:lib/*:ooxml-lib/*:auxiliary/* org.apache.poi.xslf.util.PPTX2PNG -format png -fixside long -scale 1000 -charset GBK -outdir . file.pptx</span>
+</div>
+<div class="codeline">
+<span class="lineno"></span><span class="codebody"></span>
 </div>
 </div>
 </div>



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