aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDominik Stadler <centic@apache.org>2016-12-11 20:57:00 +0000
committerDominik Stadler <centic@apache.org>2016-12-11 20:57:00 +0000
commit6216145e16386edf4c65250d567239be6f5d368c (patch)
treecd38ec4cacea1a9b3219b063583fee2cc944c9d0
parent4d09b6305d10919bbf541e87e006303d1a4acfc2 (diff)
downloadpoi-6216145e16386edf4c65250d567239be6f5d368c.tar.gz
poi-6216145e16386edf4c65250d567239be6f5d368c.zip
Add script to convert PPT to PNGs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773618 13f79535-47bb-0310-9956-ffa450edef68
-rwxr-xr-xppt2png.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/ppt2png.sh b/ppt2png.sh
new file mode 100755
index 0000000000..eb14b37f6f
--- /dev/null
+++ b/ppt2png.sh
@@ -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 "$@"