-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathTranslatePPTX.sh
executable file
·31 lines (26 loc) · 1.4 KB
/
TranslatePPTX.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/bin/bash
export JAVA=/usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java
if [ "x${POIHOME}" == "x" ]
then
echo "error: must set POIHOME environment variable to head of Apache POI installation tree"
exit
fi
export POIBUILD=${POIHOME}/build
export CLASSPATH=""
export CLASSPATH="${CLASSPATH}:${POIBUILD}/classes"
export CLASSPATH="${CLASSPATH}:${POIBUILD}/examples-classes"
export CLASSPATH="${CLASSPATH}:${POIBUILD}/excelant-classes"
export CLASSPATH="${CLASSPATH}:${POIBUILD}/excelant-test-classes"
export CLASSPATH="${CLASSPATH}:${POIBUILD}/integration-test-classes"
export CLASSPATH="${CLASSPATH}:${POIBUILD}/ooxml-classes"
export CLASSPATH="${CLASSPATH}:${POIBUILD}/ooxml-lite-merged"
export CLASSPATH="${CLASSPATH}:${POIBUILD}/ooxml-test-classes"
export CLASSPATH="${CLASSPATH}:${POIBUILD}/scratchpad-classes"
export CLASSPATH="${CLASSPATH}:${POIBUILD}/scratchpad-test-classes"
export CLASSPATH="${CLASSPATH}:${POIBUILD}/test-classes"
export CLASSPATH="${CLASSPATH}:${POIBUILD}/../ooxml-lib/xmlbeans-2.6.0.jar"
export CLASSPATH="${CLASSPATH}:${POIBUILD}/OtherStuffIDownloaded/openxml4j-1.0-beta.jar"
export CLASSPATH="${CLASSPATH}:${POIBUILD}/OtherStuffIDownloaded/ooxml-schemas-1.3.jar"
export CLASSPATH="${CLASSPATH}:${POIBUILD}/OtherStuffIDownloaded/poi-ooxml-3.17.jar"
export CLASSPATH="${CLASSPATH}:${POIBUILD}/OtherStuffIDownloaded/poi-ooxml-schemas-3.17.jar"
${JAVA} org.apache.poi.xslf.extractor.TranslatePPTX $@