]> source.dussan.org Git - poi.git/commitdiff
pdfbox dependency
authorPJ Fanning <fanningpj@apache.org>
Mon, 20 Dec 2021 20:56:05 +0000 (20:56 +0000)
committerPJ Fanning <fanningpj@apache.org>
Mon, 20 Dec 2021 20:56:05 +0000 (20:56 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896201 13f79535-47bb-0310-9956-ffa450edef68

build.gradle
build.xml
poi-ooxml/build.gradle

index c8874f9d1c1b40b786050d844f335cc59b22e026..352b3e3db1eae75ec65419518fa6e036f9a177ed 100644 (file)
@@ -124,6 +124,8 @@ subprojects {
         hamcrestVersion = '2.2'
         xmlbeansVersion = '5.0.2'
         batikVersion = '1.14'
+        graphics2dVersion = '0.34'
+        pdfboxVersion = '2.0.25'
         saxonVersion = '10.6'
         apiGuardianVersion = '1.1.2'
 
index afc5a76cd11c89ad180701242b71191457a31491..ebb781c4fc249f3980868a53101d608ed7e108a0 100644 (file)
--- a/build.xml
+++ b/build.xml
@@ -324,8 +324,8 @@ under the License.
     <dependency prefix="svg.batik-transcoder" artifact="org.apache.xmlgraphics:batik-transcoder:1.14" usage="ooxml-batik"/>
     <dependency prefix="svg.batik-util" artifact="org.apache.xmlgraphics:batik-util:1.14" usage="ooxml-batik"/>
     <dependency prefix="svg.batik-xml" artifact="org.apache.xmlgraphics:batik-xml:1.14" usage="ooxml-batik"/>
-    <dependency prefix="pdf.pdfbox" artifact="org.apache.pdfbox:pdfbox:2.0.24" usage="ooxml-provided"/>
-    <dependency prefix="pdf.fontbox" artifact="org.apache.pdfbox:fontbox:2.0.24" usage="ooxml-provided"/>
+    <dependency prefix="pdf.pdfbox" artifact="org.apache.pdfbox:pdfbox:2.0.25" usage="ooxml-provided"/>
+    <dependency prefix="pdf.fontbox" artifact="org.apache.pdfbox:fontbox:2.0.25" usage="ooxml-provided"/>
     <dependency prefix="pdf.graphics2d" artifact="de.rototor.pdfbox:graphics2d:0.34" usage="ooxml-provided"/>
 
     <!-- jars in the ooxml-lib directory, see the fetch-ooxml-jars target-->
index 3c225a8b1892f37ab92153827878447a406268ff..f29c0f79ca720f385175dbf054f9725e5d67f9e6 100644 (file)
@@ -82,7 +82,8 @@ dependencies {
     rendersignImplementation "org.bouncycastle:bcpkix-jdk15on:${bouncyCastleVersion}"
     rendersignImplementation "org.bouncycastle:bcutil-jdk15on:${bouncyCastleVersion}"
 
-    renderImplementation 'de.rototor.pdfbox:graphics2d:0.34'
+    renderImplementation "org.apache.pdfbox:pdfbox:${pdfboxVersion}"
+    renderImplementation "de.rototor.pdfbox:graphics2d:${graphics2dVersion}"
     renderImplementation "org.apache.xmlgraphics:batik-svggen:${batikVersion}"
     renderImplementation("org.apache.xmlgraphics:batik-svgrasterizer:${batikVersion}") {
         exclude group: 'xalan', module: 'xalan'
@@ -103,7 +104,8 @@ dependencies {
         }
     }
 
-    rendersignImplementation 'de.rototor.pdfbox:graphics2d:0.34'
+    rendersignImplementation "org.apache.pdfbox:pdfbox:${pdfboxVersion}"
+    rendersignImplementation "de.rototor.pdfbox:graphics2d:${graphics2dVersion}"
     rendersignImplementation "org.apache.xmlgraphics:batik-svggen:${batikVersion}"
     rendersignImplementation("org.apache.xmlgraphics:batik-svgrasterizer:${batikVersion}") {
         exclude group: 'xalan', module: 'xalan'