iText 5.4.3 — XML Worker 5.4.3



iText 5.4.3

  • Changes made by Alexander Chingarev
    • Added Adobe's XML core library.
    • PDF/A-related updates:
      • PdfAStamper throws exception when trying to open non-PDF/A compliant document.
      • Added PDF/A-1 verifications for file structure, graphics, transparency, annotations, actions, interactive forms and tagged PDF.
    • Prevent writing structure element attributes if the PDF version is lower than 1.7.
    • Link annotations aren't correctly tagged according to Acrobat verification tool.
    • ZapfDingbats based characters for representing check marks are replaced with self-contained appearance streams.
  • Changes made by Pavel Alay
    • Improve handling of circular references in PdfSmartCopy, improve performance of PdfSmartCopy, clear serialized objects in addPage() method in case new PdfReader.
    • XFA signing:
      • small changes to XmlDSig.
      • Add support of XAdES BES signatures.
      • Add XmlDSig verification tool.
      • Fix "setIdAttribute" issue.
  • Changes made by Eugene Markovskyi
    • Bugfix: tagged output causes inconsistent XMP metadata
    • BaseFont: introduced a constant for the PARAGRAPH_SEPARATOR character.
    • FontSelector: refactored the processing of characters to deal with a newline/carriage return problem.
    • Added tagging for Form XObjects.
  • Changes made by Raf Hens
    • Synced English and Dutch error messages.
    • Change copyright year in the Version class.
    • Code contribution Deutsche Bahn Systel GmbH, Thorsten Seitz:
      • Improved splitting for tables with row spans where splitLate is true.
      • Added an event that is triggered after a table is split, allowing modification to the part of the table that goes to the next page.
  • Changes made by Michaël Demey
    • Fix in RadioCheckField: getCheckField() passed a constant parameter to setCheckType() instead of the checkType variable.
  • Changes made by Bruno
    • Fix AcroFields: the replacePushbutton() method didn't work in append mode.
    • PdfDictionary: Introduced a checkType() method that looks for the /Type entry if dictionaryType is null. This way the methods isFont(), isPage(), isPages(), isCatalog() and isOutlines() also work in case the PdfDictionary is obtained from an existing PDF instead of an element of a PDF that is being built from scratch.
    • Digital signatures: allow people to define a different caption for the signing reason and location in the default signature appearance using the setReasonCaption() and setLocationCaption() methods.
    • PdfSignatureAppearance: Introduced a setReuseAppearance() method that allows the reuse of the existing appearance of a signature field.
    • RadioCheckField: According to ISO-32000-1, the value of a check box needs to be either Off or Yes.
    • Added ETSI developer extensions when using signature functionality that requires adding those extensions.
    • Added a PdfReader constructor that makes it easier to work in partial reading mode.
    • PageSize: deprecated special _LANDSCAPE values.
    • Stop adding /ProcSet entry to page resources as this entry has been deprecated since PDF 1.4.
    • The PDF parsing functionality now supports parsing colors in the DeviceGray, DeviceRGB and DeviceCMYK color space (indexed color spaces aren't supported yet).
    • BaseColor: the toString() method now returns a hexadecimal value.
    • Fixed bug in TSAClientBouncyCastle: lines may not be broken when encoding a password to Base64 (reported by Michael Klink)
    • Upgrade to BouncyCastle 1.49.

XML Worker 5.4.3

  • Changes made by Bruno Lowagie
    • Removed the SVG code; it never worked and we didn't find any interested contributors to fix it.
  • Changes made by Eugene Markovskyi
    • Fixed the ArrayIndexOutOfBoundsException caused by tables.

iText RUPS 5.4.3

  • Changes made by Bruno Lowagie
    • Reverted a fix applied in 5.4.2: the page table still wasn't correct and is now being created in a different way.