iText 1.10 - iText 1.1.4


iText 1.10 (november 16th, 2004)

  • paulo 129 (2004-03-10)
    • fixed some compatibility issues with jdk 1.5 and J++.
    • fixed the dpiy with tiff images.
    • correct processing with fields with the /Opt key.
    • added AcroFields.setFieldProperty() to set properties like flags and text color.
    • fixed AcroFields.removeFieldsFromPage().
    • added support to use existing document fonts in PdfStamper. Will not work every time.
    • fixed a colorspace bug with images with smasks.
    • added PdfPTable.setLockedWidth() to lock the width when adding with Document.add().
    • fixed a bug in PdfReader when reading content. (already fixed in 1.02b)
    • another hack to read broken PDFs.
    • optimized PdfStamper. The streams are not decoded/encoded but added to an array.
    • SimpleBookmark is more lenient with broken bookmarks.
  • paulo 130 (2004-03-31)
    • added tab order information to AcroFields
    • added BaseFont.setPostscriptFontName() to change the font name
    • added PdfContentByte.setDefaultColorspace().
    • added global javascript support to PdfCopy, PdfCopyFields and PdfStamper.
    • added bookmark support to PdfCopyFields.
    • removed the checked exception from PdfStream.flateCompress().
    • added to PdfReader: getBoxSize(int,String), getPageContent(int), getStreamBytes(PRStream), getJavaScript(RandomAccessFileOrArray), getJavaScript().
    • added PDF/X-1a:2001 and PDF/X-3:2002 support with PdfWriter.setPDFXConformance(). Some compliance checks are made when adding an object.
    • added PdfWriter.setOutputIntents(). The output intents can also be imported from an existing PDF.
    • added PdfWriter.setBoxSize() and PdfWriter.setDefaultColorspace().
    • PdfWriter.setExtraCatalog() was removed. Use PdfWriter.getExtraCatalog().
    • PdfReader and BaseFont support reading from files described as an URL. Reading a font like "http://server.com/myfonts/arial.ttf" will work.
    • added Font.setStyle(int).
    • added Paragraph spacing before and after. Contribution by Maarten.
  • paulo 131 (2004-05-12)
    • removed the icc profiles from bw tiff images.
    • the properties files for cjk fonts are only searched once.
    • PdfContentByte.roundRectangle() fixed to allow negative values.
    • fixed a problem with indirect references in PdfCopyfieldsImp.
    • added an optimization to break Table. Contribution by David Carmona Perez.
    • added PdfPTable row break capability with nested tables. Contibution by Daniel Smith.
    • fixed a problem in PdfLine that could create null Chunk.
    • added a nested Table enhancement. Contibution by Jason McGrath.
    • PdfReader will try even harder to read a damaged PDF.
    • fixed positive descenders in TT fonts.
    • added DisplayDocTitle to the viewer preferences
    • all the CVS changes to date.
  • paulo 132 (2004-06-21)
    • added fdf export capabilities in AcroFields
    • DefaultFontMapper also maps the postscript font name
    • added encryption in PdfCopyFields
    • added page selection in PdfReader and PdfCopyFields
    • fixed a timezone bug in PdfDate.
    • added support for mirroring margins. Note that it won't work with Table.
    • fixed a problem with floating annotations placed with Document.add().
    • added support for setting the viewer preferences in PdfReader and PdfStamper. It's also possible to read the viewer preferences in PdfReader.
    • added BaseFont.setKerning().
    • refactored some nested classes to be static.
  • paulo 133 (2004-08-04)
    • added support for PDF 1.5 compression with object streams and xref streams
    • AcroFields will use the opts array when reading fields
    • ColumnText and PdfPCell supports text only Paragraph, text only List, Image and PdfPTable.
    • PdfPTable can split long rows, be it text or nested tables. The contribution from Daniel Smith was removed as it is covered here.
    • PdfCopyFields will keep the tab order.
    • fixed a problem in PdfReaderInstance with pages with null contents.
    • SimpleXMLParser will parse HTML.
    • TrueType fonts converted from the MAC can be read (not all).
    • the symbol indent from List was changed to float. Shouldn't have much impact and will be caught at compile time in any case.
  • paulo 134 (2004-08-11)
    • added support to merge XFDF forms. Contribution by Leonard Rosenthol.
    • ColumnText and PdfPCell also supports Graphic. Mainly useful to put an horizontal line.
    • new mode of splitting long rows in PdfPTable. The old method left too much blank spaces in the page, now the row is always split. Added PdfPTable.splitLate() to keep the old behavior.
    • fixed in SimpleXMLParser: attributes where converted to lower case in xml and end tags may have whitespace before the '>'.
    • Graphic may have the horizontal line aligned.
    • added Chunk.setHorizontalScaling(). It doesn't work yet with justified text.
    • fixed a problem in PdfReader with indirect references to inexisting objects.
  • paulo 135 (2004-08-19)
    • PdfPTable.skipFirstHeader() is working again.
    • Chunk.setHorizontalScaling() works with any text alignment.
  • paulo 136 (2004-08-30)
    • fixed a bug in PdfCopyFieldsImp in the copy of the resources to the /DR key.
    • fixed a bug in PdfPCell when the only element is a Graphic.
    • added PdfDate.decode() to decode a String into a Calendar.
    • added support for invisible pdf signatures. Documents can be signed and verified. The supported modes are self signed, verisign and Windows certificate signature. See the javadoc for PdfStamper.createInvisibleSignature() and AcroFields.verifySignature(). For jdk 1.4.x you already have all that is needed but for jdk 1.2.x and 1.3.x you'll need a JCE from http://java.sun.com/products/jce. Signatures are not supported with jdk 1.1.x.
  • paulo 137 (2004-09-08)
    • added a generic line dash function in PdfContentByte.
    • fixed a bug that caused the text to be overlapped with a PdfPTable.
    • fixed a concurrency problem in TrueTypeFontUnicode. Contribution by Adrian Pronk.
  • paulo 138 (2004-09-17)
    • added the current rtf changes in the cvs
    • fixed AcroFields.setFieldProperty() for some field constructions.
    • optimized the speed and memory use of PdfPTable for cells with a simple Phrase.
    • added a new constructor PdfPCell().
    • fixed in ColumnText the indent spacing of List.
    • fixed in ColumnText the handling of PdfPTable.spacingBefore().
    • fixed a bug in PdfDocument that prevented the spacingBefore for the first Paragraph in the page.
    • fixed in PdfPRow a height rounding bug.
    • fixed a null pointer bug in PdfTable. Contribution by Steve Appling.
  • paulo 139 (2004-10-06)
    • added the current RTF changes in the CVS including RtfWriter2. Vector was changed to ArrayList to make it easier to work in jdk 1.1.
    • ICC profiles in TIFF files are checked for the correct colorspace.
    • added support for text fields of type COMB.
    • the length of the text field is not checked in the appearance, only in the value.
    • added the choice of provider in signatures. Contribution by Hes Siemelink.
    • added the possibility of having a temp file in signatures instead of doing everything in memory.
    • added awt image output for barcode postnet.
    • added setUseAscender() in ColumnText and PdfPCell. Contribution by Steve Appling.
    • fixed a bug in ColumnText.addText() that ignored the first Phrase.
    • several bug fixes in Table. Contribution by Steve Appling.
    • PdfGraphics2D has the option of converting all the images to JPEG. Contribution by Bill Ensley.
    • spacing before/after works with ListItem. Contribution by Christian Lauer.
    • fitsPage() works correctly for PdfPTable. Contribution by Christian Lauer.
    • added support for multi-column text with Document.add(). Contribution by Steve Appling.
    • added a getter for the current vertical page position in PdfWriter. Contribution by Christian Lauer.
    • added html style borders to Table and PdfPTable. Contribution by Steve Appling with Barry Richards and Prabhakar Chaganti.
    • fixed some rounding problems in PdfPRow.
    • fixed the copy of skipFirstHeader when cloning PdfPTable.
    • added PdfPTable.deleteBodyRows().
    • fixed a bug in PRTokeniser when rebuilding the xref. Contribution by Sid Steward.
    • added the possibility in Chapter/Section of having a bookmark title different from the content title.
  • paulo 140 (2004-11-06)
    • AcroFields.setFieldProperty() has the new properties bgcolor and bordercolor.
    • AcroFields.signatureCoversWholeDocument() will work for any range
    • BarcodeEAN128 class was removed. All the existing functionality and much more was moved to Barcode128. Barcode128 now also supports the AI alphanumerics and can be set as simply as "(01)00000090311314(10)ABC123(15)060916", the FNC1 will be placed at the right places.
    • added subset capability to CFF fonts. Contibution by Oren Manor and Ygal Blum from Tel Aviv University.
    • PdfAnnotation.setAppearance() accepts a PdfTemplate.
    • added PdfAnnotation.setRotate().
    • several fixes to the cellspacing problems in Table. Contribution by Steve Appling.
    • changed PdfDate(GregorianCalendar) to PdfDate(Calendar)
    • MultiColumnText is written to PdfWriter.getDirectContent().
    • fixed a bug in PdfFormField.mergeResources().
    • PdfFormField.getMKColor() was made public.
    • fixed a bug with image transparency in PdfGraphics2D.
    • PdfPKCS7 support an external signature.
    • added PdfSignatureAppearance to support visible signatures and external signatures.
    • PdfStamper.createInvisibleSignature() was replaced with PdfStamper.createSignature() with different parameters.
    • PdfStamper supports adding form fields.
    • PdfString.setWritingMode() was replaced with PdfString.setHexWriting().
    • fix in PdfPKCS7 for buggy SunPKCS11 providers. Contribution by Robert Esterer.
    • fixed a bug in PdfStamperImp for partial form flattening and fields without appearances.
  • paulo 141 (2004-11-10)
    • all the current CVS changes
    • fixed a bug in PdfStamper with form flattening and fields added
    • PdfStamper will keep the acroform even if flattening. The acroform can also be used by other annotations to keep the resources
    • added support to read from an InputStream in RandomAccessFileOrArray, PdfReader and FdfReader.
    • fixed a bug in PdfDocument that caused in certain cases an empty page to be output when an image didn't fit the page.
    • fixed PdfAnnotation.createScreen() to suppport embedded multimedia files
    • SimpleBookmark can read some broken outlines. Contribution by ujihara.
    • the SplitCharacter interface was changed. This was done to open the way to more sophisticated splitting algorithms that require character look ahead.
  • paulo 142 (2004-11-15)
    • all the cvs changes except BuildSite.java.
    • the methods related to the MK dictionary were moved from PdfFormField to PdfAnnotation.
    • new constructor PdfStream(InputStream,PdfWriter) to create streams without temporary arrays. PdfFileSpecification.fileEmbedded() can now create arbitrarily big attachments.
    • changed the interface to the creation of external signatures mainly to support the ncypher dse200.

iText 1.1.1 (November 29, 2004)

based on paulo 143
  • when form filling, eliminated an extra vertical space that prevented the text to fit in the field.
  • added in BaseFont: getDescent(), getAscent() and getCharBBox().
  • added PdfContentByte.createPrinterGraphics(). Contribution by Alexandru Carstoiu.
  • fixed PdfLine.getAscender() for images. Contribution by Steve Appling.
  • PdfPKCS7 can sign authenticatedAttributes. See HOW-TO SIGN.
  • fixes in duplicating PdfPTable. Contribution by Steve Appling.
  • fix in PdfReader to read /Pages with empty /Kids.
  • added PdfSignatureAppearance.setContact().
  • PdfSpotColor was changed to allow external separations.
  • added support for transitions and page actions to PdfStamper.

iText 1.1.2 (December 16, 2004)

based on paulo 144
  • Some more Table changes by Steve Appling on top of itext-paulo-144
  • Lots of changes in the comment sections: all warnings given by javadoc and some of the warnings given by Eclipse.
  • added support for multiple signatures, revision information and extraction.
  • AcroFields can set fields without a /DR key in the original PDF.
  • AcroFields can cache the appearance parsing for a 10 fold speed increase in filling the same PDF multiple times with different values. Contribution by Robert Mueller.
  • added AsianFontMapper to aid with CJK in Graphics2D. Contribution by Takenori.
  • fix in BarcodeEAN.createAwtImage() for EAN8.
  • fix in the list indentation in ColumnText.
  • More fixes to Table and associated classes by Steve Appling.
  • fixed a bug with splitting rows in PdfPTable.
  • new defaults in PdfPTable for splitRows and splitLate. It was splitRows=false and splitLate=false. It's now splitRows=true and splitLate=true. It doesn't have any impact if using the defaults. This is done to avoid row dropping.
  • PdfSignatureAppearance supports other fonts and RTL. It's also possible to have just 2 layers as in Acrobat 6.0 and later.
  • fix in PdfStream.writeLength() to put the length as a not compressed object.
  • Bruno removed some 'import' statements (based on Eclipse warnings)

iText 1.1.3 (December 25, 2004)

based on paulo 145
  • Added the ability to generate soft linebreaks. This is currently only used when list items contain linebreaks.
  • Fixed a bug with list indentations. Multi-line list items should now be correctly indented.
  • implementation of the methods pause() and resume() in RtfWriter and RtfWriter2
  • Chunk.BACKGROUND takes value Chunk.SUBSUPSCRIPT into account
  • Some extra functionality in class Chunk: static final Chunk.NEXTPAGE, simple setUnderline method, getWidthPoint to retrieve the width of a Chunk in points
  • added AcroFields.getBlankSignatureNames().
  • optimization fix in BarcodePDF417.
  • fixed the keep together in paragraphs and list in ColumnText.
  • PdfCopyFields keeps the calculation order.
  • added support to signature verifying with authenticated attributes.
  • added PdfSignatureAppearance.setSignatureEvent() to support signature dictionary modification.
  • added support to add comments from FDF in PdfStamper.
  • PRStream will close the stream if it was not initially open.

iText 1.1.4 (December 26, 2004)

based on paulo 146
  • removed PdfArray.add(PdfArray) that broke iText in many places. Bug introduced in itext-paulo-144/iText1.1.3.
  • signatures with hash algorithms described as signature algorithms will be correctly verified.