iText 1.2.0 - iText 1.2.4


iText 1.2 (January 7, 2005)

  • 2004-12-29: paulo 147
    • added full support for Optional Content Groups (OCG) also known as layers. This covers not only the content streams but also annotations and XObjects.
    • added PdfAction.setOCGstate()
    • fixed ColumnText.showTextAligned() to put the activation rectangle in the right place if the rotation is 0.
    • fixed in AcroFields setting combo fields with /Opt values.
  • 2005-01-06: paulo 148
    • new OCG layer interface with parent/child relationship, zoom, radio groups, etc.
    • fix in XfdfReader to close the file.
    • added some extra javadoc comment and corrected a typo here and there (image copy constructor, PdfAnnotation.createSquareCircle,...)

iText 1.2.1 (January 11, 2005)

  • 2005-01-11: paulo 149
    • fixed a bug that broke PDF 1.5 compression. The bug was introduced in itext-paulo-144.
    • fixed PdfCopy to not throw an exception with acroform that is not indirect.
    • fixed PdfGraphics2D to match the pdf text width with the awt text width.
  • Rtf bugfixes by Mark Hall
    • solved a problem with the way fonts are propagated form RtfPhrase to RtfChunk
    • fixed a bug in the way fonts were handled that derive from a BaseFont. The BaseFont is now no longer ignored.
    • solved problems with setTextRise() and anchors

iText 1.2.2 (January 31, 2005)

  • Bugfixes by others:
    • Avoiding a NullPointerException in Phrase (bugfix by August Detlefsen)
    • Binary transparency worked for GIFs, not for all PNGs (bugfix by Chris Nokleberg)
    • CreationDate doesn't throw an exception in RTF anymore (bugfix by Thomas 'taqua')
  • 2005-01-24: paulo 150
    • fixed the reading of some field names
    • added the option "textfont" in AcroFields.setFieldProperty() to set a new font in a field.
    • added support for Type 1 fonts described by *.pfm.
    • fixed a bug in PdfGraphics2D with rotated fonts.
    • added PdfStamper.insertPage() to insert a blank page in an existing document.
    • fixed an exception in PdfStamper in append mode and full compression.
    • performance improvement in Type 1 fonts.
    • fixed Anchor to also work in ColumnText and PdfPTable.
  • 2005-01-29: paulo 151
    • MultiColumnText supports column continuation and column skipping.
    • PdfGraphics2D supports the start position in TexturePaint. Contibution by Chris Nokleberg.
    • PdfReader reads correctly files with hybrid xrefs.
    • PdfStamper deals correctly with files with hybrid xrefs in append mode.

iText 1.2.3 (February 17, 2005)

  • Added a header to some source files that were missing the MPL information
  • Bug discovered by Mark-Jan Nederhof, fixed by Paulo: getAscent in BaseFont
  • Fixes and updates to RtfWriter2 by Mark Hall
    • Fixed the fitspage problem with thanks to Jon Strabala. The RtfWriter2 now fully supports both Table.tableFitsPage() and Table.cellsFitPage(). As a side effect support for the keeptogether property of Paragraph has also been added.
    • Fix for incorrect table widths.
    • Fix for RtfPageNumber and other field not showing in tables.
    • Super/Subscript should now always work.
    • Support for writing the temporary data that is generated during document generation to a file, instead of keeping it in memory. This should reduce the memory footprint when generating large documents (there is a speed decrease). Currently the default is to keep the document in memory and you have to specify if you want to use a temporary file.
    • Added documentation in the tutorial explaining the disk caching
  • 2005-02-11: paulo 152
    • added AcroFields.getFieldType().
    • PdfReader gets the number of pages from the pages and not from the top level page count. It also attempts to fix the doc if both values disagree.
    • Fixed AcroFields.getAppearanceStates() that threw a class cast exception.
    • PdfWriter.DOCUMENT_CLOSE was changed from /DC to /WC. It's not documented but it's what works in Acrobat.
    • PdfStamper.getWriter().setAdditionalAction() is now supported.

iText 1.2.4 (March 21, 2005)

  • Updates by Bruno
    • suggestion by Marc Campforts to remove a carriage return when adding images.
    • support for pagesize and orientation in the XML package (update by Samuel Gabriel)
  • 2005-03-14: paulo 153
    • added the class PushbuttonField to create pushbutton fields.
    • added the class RadioCheckField to create radio and check fields.
    • added support for eps images. Support is very basic but it should be useful for simple logos. Contribution by Carsten Hammer.
    • the package com.lowagie.text.pdf.wmf was moved to com.lowagie.text.pdf.codec.wmf
    • fixed BaseFont.getAscent().
    • FdfReader supports all the encoding
    • a few more submit constants added to PdfAction.
    • added PdfAnnotation.setHighlighting().
    • modified PdfAnnotation.setMKIconFit().
    • added support for PostScript XObject. See PdfContentByte.addPSXObject() and the class PdfPSXObject.
    • fixed a bug in PdfPTableEvent for tables with headers.
    • added support for open actions in PdfStamper.getWriter().
    • added support for replies in comments in PdfStamper.addComments().
    • TextField refactoring.
    • XfdfReader supports nested fields.
    • fixed a problem in List for list numbering. Contribution by Jurij Bilas
  • Updates by Mark Hall:
    • bug fixed when adding Tables that have cell and rowspanning Cells in the same Row.
    • support for Leading in Phrase and Paragraph
    • support for SpaceBefore and SpaceAfter in Paragraph
    • Remark: In a few cases code will have to be updated due to these new capabilities:
      • If you use the default Phrase constructor then the default leading of 16pt will now be respected. Solution: Either specify the desired leading or use a Paragraph.
      • If you are using Table.addCell("Test") then these cells will also have a leading of 16pt since the addCell(String) method uses the default Phrase constructor. Solution: Either use a Phrase with the desired leading or a Paragraph.