summaryrefslogtreecommitdiffstats
path: root/osgi
diff options
context:
space:
mode:
authorAndreas Beeker <kiwiwings@apache.org>2020-11-03 00:22:10 +0000
committerAndreas Beeker <kiwiwings@apache.org>2020-11-03 00:22:10 +0000
commit150fb90cc2320b1e879038c199eedcc1c4ca4376 (patch)
tree67a0a4e464731163fbbd254981cb78e598b5192b /osgi
parentb20318b58cc4a1a5c7a342915c32cd493233ea0f (diff)
downloadpoi-150fb90cc2320b1e879038c199eedcc1c4ca4376.tar.gz
poi-150fb90cc2320b1e879038c199eedcc1c4ca4376.zip
#64867 - Provide PDF rendering with PPTX2PNG
add dependencies to gradle and maven builds git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1883075 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'osgi')
-rw-r--r--osgi/README.md9
-rw-r--r--osgi/pom.xml3
2 files changed, 12 insertions, 0 deletions
diff --git a/osgi/README.md b/osgi/README.md
index bca3ccfc6a..0ccbebf5d9 100644
--- a/osgi/README.md
+++ b/osgi/README.md
@@ -28,6 +28,15 @@ These are required to sign or validate signed Office documents. The OSGi bundles
- 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
diff --git a/osgi/pom.xml b/osgi/pom.xml
index 9672252444..99a1bba145 100644
--- a/osgi/pom.xml
+++ b/osgi/pom.xml
@@ -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.*,