From 488bb31ce6568116529f92533a7278fb4ce4d89a Mon Sep 17 00:00:00 2001 From: Dominik Stadler Date: Sat, 26 Oct 2019 06:49:47 +0000 Subject: [PATCH] Add script to convert PPT to PNGs git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1868989 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 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 "$@" -- 2.39.5