diff --git a/build.gradle b/build.gradle
index 97ee04ad47..47aa68d6b3 100644
--- a/build.gradle
+++ b/build.gradle
@@ -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}"
diff --git a/build.xml b/build.xml
index 673d1bb983..6ac84afbd1 100644
--- a/build.xml
+++ b/build.xml
@@ -2484,6 +2484,9 @@ under the License.
+
+
+
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.*,
diff --git a/sonar/ooxml/pom.xml b/sonar/ooxml/pom.xml
index dd908ed814..36bddf0d32 100644
--- a/sonar/ooxml/pom.xml
+++ b/sonar/ooxml/pom.xml
@@ -189,5 +189,12 @@
batik-all
1.13
+
+
+
+ de.rototor.pdfbox
+ graphics2d
+ 0.27
+