About us | News | Contact
iText ® Licenses Support   
You are here: Home > Forums > iText in Action — Second Edition > General questions about iText
User login
  • Create new account
  • Request new password

Backwards compatiblity

Submitted by pgoovaerts on Tue, 06/07/2011 - 14:08

We want to upgrade our current version of iText (v2.1.7) to the latest available version. Are there any incompatiblities to be expected?

‹ DB connection Is there a limit on the number of pages in a PDF generated by iText? ›
  • Login or register to post comments

Overview of major changes

Submitted by Bruno Lowagie on Wed, 06/08/2011 - 08:46.

iText is no longer compiled using the JDK 1.4, but with Java 5 (introduction of generics).

All com.lowagie.* packages have been renamed to com.itextpdf.*.

In 5.0.0, we've removed all RTF, XML and HTML support. XML/HTML parsing is reintroduced in the 5.1.x versions in combination with XML Worker. Everything before XML Worker 1.0.0 should be considered beta.

Table and Cell have been removed in favor of PdfPTable and PdfPCell.

HeaderFooter has been removed in favor of page events.

The use of java.awt.Color has been reduced; we've introduced our own BaseColor class.

We've introduced "sanity checks" for unbalanced saveState()/restoreState() and beginText()/endText() sequences (if you had such unbalanced sequences, there was a bug in your application, but you may not have noticed it).

And last but not least: The LGPL/MPL changed into AGPL.

  • Login or register to post comments

BouncyCastle

Submitted by Bruno Lowagie on Tue, 06/14/2011 - 08:18.

If you're upgrading from older versions, make sure you have the BouncyCastle jars in your CLASSPATH. The BouncyCastle classes used to be shipped with the iText jar, but they were removed in iText 2.0.0.

  • Login or register to post comments
Content © 2010 1T3XT BVBA