From: Dominik Stadler Date: Sun, 11 Dec 2016 20:57:00 +0000 (+0000) Subject: Add script to convert PPT to PNGs X-Git-Tag: REL_3_16_BETA2~235 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=6216145e16386edf4c65250d567239be6f5d368c;p=poi.git Add script to convert PPT to PNGs git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773618 13f79535-47bb-0310-9956-ffa450edef68 --- 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 "$@"