How to install pdfOffice Java version

Thank you for your interest in our office converter add-on pdfOffice, we hope you will enjoy using our product and share your experiences with us and the iText community. We will walk you through the installation process, from downloading iText 7 pdfOffice to adding the dependency to your Java build tool.

If you require any extra help please have a look at our FAQs or the community discussion at StackOverflow.

Before you install

  • Make sure you have purchased a commercial license for iText 7 Core. All downloads we offer closed-source come with our commercial license model.
  • Download and install the proper license key library, you can find the installation guide here (you will need at least version 3.1.5 of the library).
  • Install iText 7 Core or Community, you can find the installation guide here.
  • Important remark: in the installation guide we use Maven as the build tool for Java.


Installation

pdfOffice is currently only available as a SNAPSHOT, so use version 1.0.0-SNAPSHOT, and use iText's SNAPSHOT repository (https://repo.itextsupport.com/snapshot/)

Using the iText Artifactory Server

iText 7 pdfOffice is available on the iText Artifactory server. Here you can also find the license key library.

You can add this server as an additional Maven repository in the repositories section of your pom.xml or settings.xml, as described in the Maven documentation. Maven will then automatically query this repository for the add-on .jar files.

You can also browse the iText Artifactory server and download jars manually.

1. Add repository to .pom project file

<!-- All add-ons and iText 7 core-->
<repositories>
  <repository>
    <id>itext</id>
    <name>iText Repository - releases</name>
    <url>https://repo.itextsupport.com/releases</url>
  </repository>
</repositories>

2. Add the pdfOCR dependencies to .pom project file

<properties>
       <itext.pdfoffice.version>$release-pdfOffice-variable</itext.pdfoffice.version>
</properties>
<dependencies> <dependency> <groupId>com.itextpdf</groupId> <artifactId>pdfoffice</artifactId> <version>${itext.pdfoffice.version}</version> </dependency> </dependencies>