Download iText®
The iText source code and binaries are hosted on SourceForge
- Download iText, the Java version of the library.
- Download iTextSharp, the C# port of the library
You can download the source code using your favorite Subversion (SVN) client:
svn co https://itext.svn.sourceforge.net/svnroot/itext/trunk main
This repository can also be browsed online.
Other iText projects
You can also download the following products:
- iText XML Worker: XML parser. Parses HTML snippets and converts them to PDF (demo).
- iText RUPS: tool allowing you to look inside your PDFs.
Please note that these projects depend on iText®. They can't be used as standalone tools.
Technical requirements
Depending on your use of iText, you need some extra jars or libraries:
- If you want to compile iText (or iTextSharp), you'll need three extra libraries: bcprov, bcmail and bctsp. You'll also need them at runtime if your code involves encryption or digital signing. These libraries were released by The Legion of the Bouncy Castle.
- If you are using CJK (Chinese, Japanese, Korean) font technology (fonts that aren't embedded in the PDF, but that use font packs you can install with Adobe Reader), you need an extra iTextAsian.jar.
- If you are using hyphenation, you need an extra itext-hyph-xml.jar. This jar contains files distributed with the Apache FOP library.
Maven repository
If you are using Maven, you can update the pom.xml of your project
or to the main settings.xml file. For the settings.xml you have to add it to the "profile" section
(see: http://maven.apache.org/settings.html#Repositories).
Here is a sample for the project pom.xml file which should be sufficient for most users.
iText is stored in the central Maven repository, so normally you don't have to add an extra <repository> tag,
you only need to add <dependency> tags for each iText package you need.
In this sample, we want to use iText 5.1.3 and XML Worker 1.1.1.
---------- pom.xml ----------
<project [..default xml namespace details..]>
[..project-details..]
<dependencies>
<dependency>
<groupId>com.itextpdf</groupId>
<artifactId>itextpdf</artifactId>
<version>5.1.3</version>
<type>jar</type>
</dependency>
<dependency>
<groupId>com.itextpdf.tool</groupId>
<artifactId>xmlworker</artifactId>
<version>1.1.1</version>
<type>jar</type>
</dependency>
[..other package dependency..]
</dependencies>
</project>
-----------------------------
Note: Placeholders for other elements are added in square brackets and shouldn't be copied to your pom.xml.
News
-
After publishing the promo-movie, we finally finished processing the videos of the talks.published on 2012-05-08
-
Mark Stephens explains what are in his opinion the three main differences between the Open Source and commercial software. A must-read for everyone considering to use iText without purchasing a commercial license.published on 2012-04-13
-
The East Bay Java User Group meetup has been rescheduled. It will take place on Monday April 26th. Go to the registration page.published on 2012-04-10
Source tweets
-
eugenemark committed revision 5147 to the iText®, a JAVA-PDF library SVN repository, changing 1 filesposted on 2012-05-15
-
eugenemark committed revision 5146 to the iText®, a JAVA-PDF library SVN repository, changing 1 filesposted on 2012-05-15
-
blowagie commented on the Compiling on Java 7. artifactposted on 2012-05-12
Content © 2010-2012 1T3XT BVBA
