diff options
author | Andreas Beeker <kiwiwings@apache.org> | 2020-11-02 23:56:27 +0000 |
---|---|---|
committer | Andreas Beeker <kiwiwings@apache.org> | 2020-11-02 23:56:27 +0000 |
commit | b20318b58cc4a1a5c7a342915c32cd493233ea0f (patch) | |
tree | b675bf20af0a1713458a2bb784fafa3ed39d5d2e /build.xml | |
parent | dae47d5cedbca87646a2421618e2afac9b04fd3a (diff) | |
download | poi-b20318b58cc4a1a5c7a342915c32cd493233ea0f.tar.gz poi-b20318b58cc4a1a5c7a342915c32cd493233ea0f.zip |
#64867 - Provide PDF rendering with PPTX2PNG
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1883074 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build.xml')
-rw-r--r-- | build.xml | 18 |
1 files changed, 17 insertions, 1 deletions
@@ -294,10 +294,13 @@ under the License. <!-- only used for signing the release - not used with the ooxml signatures --> <dependency prefix="dsig.bouncycastle-bcpg" artifact="org.bouncycastle:bcpg-jdk15on:1.66" usage="util"/> - <!-- svg/batik libs - not part of the distribution --> + <!-- svg/batik/pdf libs - not part of the distribution --> <dependency prefix="svg.xml-apis-ext" artifact="xml-apis:xml-apis-ext:1.3.04" usage="ooxml-provided"/> <dependency prefix="svg.xmlgraphics-commons" artifact="org.apache.xmlgraphics:xmlgraphics-commons:2.4" usage="ooxml-provided"/> <dependency prefix="svg.batik-all" artifact="org.apache.xmlgraphics:batik-all:1.13" usage="ooxml-provided"/> + <dependency prefix="pdf.pdfbox" artifact="org.apache.pdfbox:pdfbox:2.0.19" usage="ooxml-provided"/> + <dependency prefix="pdf.fontbox" artifact="org.apache.pdfbox:fontbox:2.0.19" usage="ooxml-provided"/> + <dependency prefix="pdf.graphics2d" artifact="de.rototor.pdfbox:graphics2d:0.27" usage="ooxml-provided"/> <!-- jars in the ooxml-lib directory, see the fetch-ooxml-jars target--> <dependency prefix="ooxml.curvesapi" artifact="com.github.virtuald:curvesapi:1.06" usage="ooxml"/> @@ -450,10 +453,17 @@ under the License. <pathelement location="${svg.xmlgraphics-commons.jar}"/> </path> + <path id="pdfbox.classpath"> + <pathelement location="${pdf.pdfbox.jar}"/> + <pathelement location="${pdf.fontbox.jar}"/> + <pathelement location="${pdf.graphics2d.jar}"/> + </path> + <path id="ooxml.classpath"> <pathelement location="${ooxml.xsds.jar}"/> <path refid="ooxml.base.classpath"/> <path refid="batik.classpath"/> + <path refid="pdfbox.classpath"/> </path> <path id="ooxml.lite.verify.classpath"> @@ -712,6 +722,9 @@ under the License. <available file="${svg.xml-apis-ext.jar}"/> <available file="${svg.batik-all.jar}"/> <available file="${svg.xmlgraphics-commons.jar}"/> + <available file="${pdf.pdfbox.jar}"/> + <available file="${pdf.fontbox.jar}"/> + <available file="${pdf.graphics2d.jar}"/> </and> <isset property="disconnected"/> </or> @@ -730,6 +743,9 @@ under the License. <downloadfile src="${svg.batik-all.url}" dest="${svg.batik-all.jar}"/> <downloadfile src="${svg.xml-apis-ext.url}" dest="${svg.xml-apis-ext.jar}"/> <downloadfile src="${svg.xmlgraphics-commons.url}" dest="${svg.xmlgraphics-commons.jar}"/> + <downloadfile src="${pdf.pdfbox.url}" dest="${pdf.pdfbox.jar}"/> + <downloadfile src="${pdf.fontbox.url}" dest="${pdf.fontbox.jar}"/> + <downloadfile src="${pdf.graphics2d.url}" dest="${pdf.graphics2d.jar}"/> </target> <target name="check-svn-jars"> |