News Archive

New Versions2017-05-08

We just released new versions of all SetaPDF components.

Beside various tweaks and bug fixes here are some points to mention:

Check the release notes of the components below.
Log in to download the latest version of the related packages!

switch product

Version 2.24.0.1049

Release date: 2017-05-08

Rev. 1026 to 1049

SetaPDF-Core Component
Feature
  • Added setTabOrder() and getTabOrder() in SetaPDF_Core_Document_Page_Annotations class.
  • Added method to normalize line breaks: SetaPDF_Core_Text::normalizeLineBreaks().
  • Added SetaPDF_Core_Document::getSaveMethod() and renamed $update parameter in save() method to $saveMethod (meaning is the same as before).
  • Added support for PDF documents with invalid data before their PDF file header.
Bugfix
  • Fixed a bug which occurs if AES encryption is used while the Length value of a stream is an indirect object which is already written because of the SetaPDF_Core_Document::SAVE_METHOD_REWRITE_ALL save method.
  • Prevent "String offset cast occured" notice in abstract reader class.
  • Fixed SetaPDF_Core_Document_Destination::findByName() when name was not found.
Tweak
  • Normalizes line breaks in SetaPDF_Core_Text_Block class.
  • Check for null bytes in file names before passing them to PHP functions to prevent warnings or notices.
  • Added support for faulty objects with a generation number higher than zero in object streams.
  • Allow date strings without "D:" prefix.
Demo
  • Updated get image sizes demo to handle rotated pages correctly.