You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by ki...@apache.org on 2020/11/03 00:22:10 UTC
svn commit: r1883075 - in /poi/trunk: build.gradle build.xml osgi/README.md
osgi/pom.xml sonar/ooxml/pom.xml
Author: kiwiwings
Date: Tue Nov 3 00:22:10 2020
New Revision: 1883075
URL: http://svn.apache.org/viewvc?rev=1883075&view=rev
Log:
#64867 - Provide PDF rendering with PPTX2PNG
add dependencies to gradle and maven builds
Modified:
poi/trunk/build.gradle
poi/trunk/build.xml
poi/trunk/osgi/README.md
poi/trunk/osgi/pom.xml
poi/trunk/sonar/ooxml/pom.xml
Modified: poi/trunk/build.gradle
URL: http://svn.apache.org/viewvc/poi/trunk/build.gradle?rev=1883075&r1=1883074&r2=1883075&view=diff
==============================================================================
--- poi/trunk/build.gradle (original)
+++ poi/trunk/build.gradle Tue Nov 3 00:22:10 2020
@@ -293,6 +293,10 @@ project('ooxml') {
compile 'xml-apis:xml-apis-ext:1.3.04'
compile 'org.apache.xmlgraphics:xmlgraphics-commons:2.4'
+ compile 'org.apache.pdfbox:pdfbox:2.0.19'
+ compile 'org.apache.pdfbox:fontbox:2.0.19'
+ compile 'de.rototor.pdfbox:graphics2d:0.27'
+
// for ooxml-lite, should we move this somewhere else?
compile "junit:junit:${junitVersion}"
Modified: poi/trunk/build.xml
URL: http://svn.apache.org/viewvc/poi/trunk/build.xml?rev=1883075&r1=1883074&r2=1883075&view=diff
==============================================================================
--- poi/trunk/build.xml (original)
+++ poi/trunk/build.xml Tue Nov 3 00:22:10 2020
@@ -2484,6 +2484,9 @@ under the License.
<auxClasspath path="${svg.batik-all.jar}"/>
<auxClasspath path="${svg.xml-apis-ext.jar}"/>
<auxClasspath path="${svg.xmlgraphics-commons.jar}"/>
+ <auxClasspath path="${pdf.pdfbox.jar}"/>
+ <auxClasspath path="${pdf.fontbox.jar}"/>
+ <auxClasspath path="${pdf.graphics2d.jar}"/>
<sourcePath path="src/java" />
<sourcePath path="src/ooxml/java" />
<sourcePath path="src/scratchpad/src" />
Modified: poi/trunk/osgi/README.md
URL: http://svn.apache.org/viewvc/poi/trunk/osgi/README.md?rev=1883075&r1=1883074&r2=1883075&view=diff
==============================================================================
--- poi/trunk/osgi/README.md (original)
+++ poi/trunk/osgi/README.md Tue Nov 3 00:22:10 2020
@@ -28,6 +28,15 @@ These are required to sign or validate s
- XML Commons Resolver: https://mvnrepository.com/artifact/xml-resolver/xml-resolver/1.2-osgi
- Bouncy Castle: https://mvnrepository.com/artifact/org.bouncycastle/bcprov-ext-jdk15on/1.66, https://mvnrepository.com/artifact/org.bouncycastle/bcpkix-jdk15on/1.66
+4. PDFBox and PDFBox Graphics2D
+Required to render to PDF documents.
+The required jars can be downloaded from:
+
+ - PDFBox:
+ https://mvnrepository.com/artifact/org.apache.pdfbox/pdfbox
+ https://mvnrepository.com/artifact/org.apache.pdfbox/fontbox
+ - PDFBox Graphics2D:
+ https://mvnrepository.com/artifact/de.rototor.pdfbox/graphics2d
## Blocked Imports
Modified: poi/trunk/osgi/pom.xml
URL: http://svn.apache.org/viewvc/poi/trunk/osgi/pom.xml?rev=1883075&r1=1883074&r2=1883075&view=diff
==============================================================================
--- poi/trunk/osgi/pom.xml (original)
+++ poi/trunk/osgi/pom.xml Tue Nov 3 00:22:10 2020
@@ -75,6 +75,9 @@
!com.zaxxer.sparsebits.*,
!com.graphbuilder.*,
org.apache.batik.*;resolution:=optional,
+ org.apache.pdfbox.*;resolution:=optional,
+ org.apache.fontbox.*;resolution:=optional,
+ de.rototor.pdfbox.graphics2d.*;resolution:=optional,
net.sf.saxon.*;resolution:=optional,
!com.github.javaparser.*,
!org.apache.tools.ant.*,
Modified: poi/trunk/sonar/ooxml/pom.xml
URL: http://svn.apache.org/viewvc/poi/trunk/sonar/ooxml/pom.xml?rev=1883075&r1=1883074&r2=1883075&view=diff
==============================================================================
--- poi/trunk/sonar/ooxml/pom.xml (original)
+++ poi/trunk/sonar/ooxml/pom.xml Tue Nov 3 00:22:10 2020
@@ -189,5 +189,12 @@
<artifactId>batik-all</artifactId>
<version>1.13</version>
</dependency>
+
+ <dependency>
+ <!-- don't add it to the distribution -->
+ <groupId>de.rototor.pdfbox</groupId>
+ <artifactId>graphics2d</artifactId>
+ <version>0.27</version>
+ </dependency>
</dependencies>
</project>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org