From 08a762bf230484ddddddfb236dc0526f59e670ed Mon Sep 17 00:00:00 2001 From: Dominik Stadler Date: Sun, 11 Dec 2016 20:57:00 +0000 Subject: [PATCH] Add script to convert PPT to PNGs git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773618 13f79535-47bb-0310-9956-ffa450edef68 --- ppt2png.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 ppt2png.sh diff --git a/ppt2png.sh b/ppt2png.sh new file mode 100755 index 000000000..eb14b37f6 --- /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 "$@"