iText 2.0.1



  • Changes made by Paulo
    • JPG: fix for the Adobe Application-Specific JPEG Marker length (fix by Cory Lewis)
    • PdfCopy: fixed the internal links to other pages. Uses a balanced page tree.
    • PdfSmartCopy: the stream keys are also compared
    • PdfReader: added method removeUsageRights()
    • PdfReader: added method getCertificationLevel()
    • AcroFields: new nodes will be created in the datasets section if needed (XFA)
    • AcroFields: made some methods and fields public
    • PdfPKCS7: more flexible algorithm decoding
    • AESCipher: fixed the exception throwing when using AES encryption
    • Removed debug code from several classes
  • Changes made by Bruno
    • In PdfDocument, all indentation variables are now grouped in an (inner) Indentation object. For the moment, this doesn't change anything to the functionality, but it will be helpful in the future. I'll add some methods to the Indentation object to reset the indentation, change the indentation,...
    • ExceptionConverter: added attribution to the original author of the class.
    • Support for multipliedLeading for paragraphs when using document.add(). Formerly this only worked in ColumnText.
    • Replaced IntHashtable by ACME with code based on class IntHashMap licensed by the Apache Software Foundation.
    • SimpleXMLParser: complete refactoring operation
    • EntitiesToUnicode now also supports entities like &#x148 ;or &#8222.0; The corresponding code was removed from the simple parser.
    • EntitiesToUnicode bugfix: decode entities in Strings: chunks of strings were eaten
    • IanaEncodings: Xerces license update.
    • LPR and LPRClient: sorry, the original developer of this code didn't respond to numerous mails. Because of possible IP issues I had to remove this code.
    • Some compilers didn 't want to compile class OptionArgument. Shoaib Gauhar posted a solution on the mailing list.
  • Changes made by Mark
    • Added support for upper and lowercase lettered and roman lists to the RtfList.
    • RtfTOCEntry now uses filterSpecialChar, should fix encoding problems in the TOC default text.
    • Color values are now generated correctly in the RtfShapeProperty.
    • Fixed a bug where list numbering was getting lost after returning from a sublist.
    • Font settings are now reset to their defaults at the start of paragraphs and phrases.
    • Charset information is now propagated correctly through Font.difference()
    • Added support for the firstLineIndent property of the Paragraph, allowing a different indentation for the first line of a Paragraph.
  • Changes made by Xavier
    • Code cleanup in the basic building blocks (interface Element, TextElementArray was already implemented by parent)
    • Replaced " " by ' ' in MarkedSection.
    • Code cleanup in several classes