News Archive

New Versions2015-11-23

Today we released new versions of all SetaPDF components.

The main changes were done in the SetaPDF-Core component which affects all other components by default. Also the SetaPDF-Extractor and SetaPDF-FormFiller component got new features.

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

switch product

Version 2.17.0.768

Release date: 2015-11-23
SetaPDF-Core Component
Feature
  • Added SetaPDF_Core_Document_Page_Annotation::getAdditionalActions() method and SetaPDF_Core_Document_Page_Annotation_AdditionalActions to allow access to additional actions of annotations.
  • Added SetaPDF_Core_Document_Page_Annotation_Widget_AdditionalActions class which is returned by SetaPDF_Core_Document_Page_Annotation_Widget::getAdditionalActions() to allow access to additional actions of widget annotations.
  • Added new reader class and helper class which take care and manage open file handles. They allow you to bypass operation system limits on open file handles/descriptors: SetaPDF_Core_Reader_MaxFile and SetaPDF_Core_Reader_MaxFileHandler.
  • Added stream reader class.
Change
  • SetaPDF_Core_Reader_File extends SetaPDF_Core_Reader_Stream now.
  • SetaPDF_Core_Reader_File::setFilename() and SetaPDF_Core_Reader_Stream::setStream() are now protected (and their names are prepended with an underscore now).
  • SetaPDF_Core_Writer_File::copy expects a resource instead of a path now.
Bugfix
  • Added checks for a valid page tree objects to avoid fatal errors.
  • Added checks for valid parent elements in page tree structure to resolve inherited attributes.
Tweak
  • Moved the getBorderStyle() method from the main annotation class to annotation classes that support this entry.
  • Added possibility to delete additional actions of the document catalog by passing null to their setter methods.
  • Refactored page annotation class.
  • Refactored SetaPDF_Core_Document_Page_Annotation_BorderStyle class.
  • Refactored reader classes: Removed sleep() and wakeUp() methods form the reader interface and unused methods in the reader implementations.
  • Added support for streams with a defined length of zero while the stream is larger.
  • Added appropriate algorithms for envelopes in public key security factories.
  • Added getStreamAlgorithm() and getStringAlgorithm() methods in SetaPDF_Core_SecHandler_AbstractHandler.
  • Return $this in SetaPDF_Core_Document::setWriter() to allow method chaining.
Demo
  • Added demo that shows how to add images in a specific resolution.
  • Updated GetColorSpaces demo.