]> source.dussan.org Git - poi.git/commitdiff
Add script to convert PPT to PNGs
authorDominik Stadler <centic@apache.org>
Sat, 26 Oct 2019 06:49:47 +0000 (06:49 +0000)
committerDominik Stadler <centic@apache.org>
Sat, 26 Oct 2019 06:49:47 +0000 (06:49 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1868989 13f79535-47bb-0310-9956-ffa450edef68

ppt2png.sh [new file with mode: 0755]

diff --git a/ppt2png.sh b/ppt2png.sh
new file mode 100755 (executable)
index 0000000..eb14b37
--- /dev/null
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+# find jar-file with highest version number
+for i in `ls build/dist/poi-*.jar | grep -v -- "-sources" | grep -v -- "-excelant" | grep -v -- "-ooxml"`;do
+       CP=$CP:$i
+done
+echo Using classpath $CP
+
+java -cp $CP org.apache.poi.hslf.examples.PPT2PNG "$@"