iText 5.5.0


iText 5.5.0

  • Changes made by Alexander Chingarev
        Fixed some accessibility issues:

    • Adding the PDF/UA identifier to the XMP metadata.

    • The background rectangle of a Chunk is now marked as an artifact.

    • Attributes for Form XObjects (PdfTemplate) are now being written.

    • Introduction of Layout for ownership.

    • Don't generated nested tags in Tagged PDF page content (to make sure the Read Out Loud functionality works as expected)

    • Support for BBox attribute of structure element

    • Support for "O" attribute for structure element

    • TrueType symbolic fonts should not be decoded when extracting text from PDF and encoded when writing text to PDF.

    • Bugfix PdfCopy: not checking if a page reference is null, ruined tags when concatenating tagged PDFs (reported on StackOverflow; fix suggested by Michael Klink).

    • Fixed issue with wrong appearance streams when merging documents containing same AcroField names.

    • Fixed merging issues when using PdfCopy in full compression mode.

  • Changes made by Pavel Alay

    • Moved the CompareTool class to a separate testutils package and introduced a generic superclass for tests.

    • Updated the CompareTool functionality, adding methods to compare structure and content of Tagged PDFs, document info, links,...

    • Extended the toString() method of the PdfAnnotation class.

    • Fix for bug with checkEmbedded file in PdfA3Checker

    • Fix for issue with Pdf/A cached objects in PdfAStamper reported on StackOverflow

  • Changes made by Eugene Markovskyi

    • PdfDocument: allowing character and word spacing in a broader context.

    • Fixed some accessibility compliance issues, adding an isInline() method to the IAccessibleElement interface.

  • Changes made by Alexey Subach

    • Introduced a new PdfReader constructor with a new interface ExternalDecryptionProcess, allowing to use BC's Recipient and RecipiendId (based on suggestions by Valentin Ts. Ivanov and David Hook). Fixed bbox in image tag attributes.

  • Changes made by Raf Hens

    • Fixed a problem with PdfCopy and forms: enable NeedAppearances in the output when one of the input documents has it enabled.

    • Fixed a problem with the getTiffImage() method in the Image class.

    • Fixed a problem with keywords in XMP metadata: Dublin Core subject should be used for "keywords"

    • Fixed comma and semi-colon handling in XMP keywords

    • Improved producer line functionality

    • Improved the OSGi headers

    • Added method to set raw data stream as-is

  • Changes made by Kevin Day

    • CMapAwareDocumentFont: if font space width isn't defined, use the default width for the font.

    • PdfContentReader: avoid exception when displaying an empty dictionary.

  • Changes made by Michaël Demey

    • Reworked old Info Dictionary code to avoid a ClassCastException in PdfStamperImp.

    • Added custom split character functionality to DefaultSplitCharacter.

    • Images (more specifically TIFFs): Renamed handleIncorrectImage to recoverFromImageError and changed the flow to a more logical flow according to its name.

    • Added a workaround for parsing certain TIFFs with compression 3. The workaround is applied using the recoverFromError Boolean.

    • Image class: Removed useless pageNumber variable (and calculations performed to create it)

    • Image class: Removed use of deprecated RandomAccessFileOrArray constructor.

    • Updated javadocs for onStartPage() method in PdfPageEvent: it now mentions previously undocumented, but expected behavior for the first page.

    • Added a value for the PieceInfo key to PdfName

    • Added PdfName.PIECEINFO

    • Add document.isOpen() check to PdfCopy.addDocument()

  • Changes made by Bruno

    • CompareTool: Updated an exception message that wasn't very clear.

    • Bugfix Point class: Using the wrong variables in the translate() method (reported by Michael Klink).

XML Worker 5.5.0

  • Changes made by Eugene Markovskyi

    • Letter-spacing support (for XFA Worker)

  • Changes made by Raf Hens

    • Support for element.class and element#id selectors

iText RUPS 5.5.0

  • Changes made by Michaël Demey

    • Fixed a NullPointerException in the mouse listener class.

    • Fixed ArrayIndexOutOfBoundsExceptions in the PDF object panel.

    • Fixed an ArrayIndexOutOfBoundsException thrown when reloading a document when a selection has been made in the PDF Object panel.

    • Added autoselection when right clicking the mouse

    • Added functionality to save the opened PDF file to disk

    • Added functionality to delete entries in a dictionary

    • Added basic functionality to add a string to a dictionary

    • Added functionality to add entries (string, array,...) to a dictionary using PdfLiteral; excluded are: null and indirect references.

    • Added functionality to update values in dictionary entries.

    • Added keyboard shortcuts for opening and closing files

    • Added a plain-text representation of the loaded PDF

XFA Worker 5.5.0

(This is a closed source project on top of iText and XML Worker)

  • Changes made by Eugene Markovskyi

    • Accessibility compliance issues (see iText's new isInline() method in the IAccessibleElement interface)

    • Fixed incorrect display of in-line totals

    • Fixed incorrect height multi-line text

    • Fixed incorrect date formatting

    • Fixed positioning error for sub-forms

    • Fixed some minor JavaScript issues when flattening XFA

    • Fixed incorrect pagination of positioned layout with Group elements

    • Fixed table layout issue

    • Implemented JavaScript resolveNodes() method; improved resolveNode() logic; resolved indexed element.

    • Letter-spacing support

    • JavaScript: Calculate tag support

  • Changes made by Pavel Alay

    • Fixed issue with date pattern

    • Fixed issue with choice button

    • Fixed issue with LocalePipeline

    • Changed default locale to en-US

    • Fixed issue with empty pattern

    • Fixed issue with unbreakable space as grouping symbol

    • Fixed number input and output formatting

    • Added arc element support

    • Add ChoiceList support

    • Add basic formcalc support: sum() and arithmetic operations.

    • Add full support of relevant attribute.

    • Add support of LegacyPlusPrint flag

  • Changes made by Alexey Subach

    • Move num2date, date, DateFmt functions to JsXfa.

  • Changes made by Alexander Chingarev

    • Allow the output of tagged PDF

    • Fixed "check tagged structure" errors

    • Make sure we don't generate nested tags in tagged PDF page content