SetaPDF_Core_Document_ObjectCollector Class for collecting objects
File: /SetaPDF v2/Core/Document/ObjectCollector.php
Class hierarchy
Implements
Summary
Constants
COLLECT_ACRO_FORM
Flag to collect interactive form objects.
COLLECT_ACTIONS
Flag to collect action objects in annotation or outline items.
COLLECT_ALL
Flag to collect all kind of objects.
COLLECT_ANNOTATIONS
Flag to collect objects related to page annotations.
COLLECT_DESTS
Flag to collect destination objects in annotations or outline items.
COLLECT_FONTS
Flag to collect objects related to font objects.
COLLECT_OUTLINES
Flag to collect objects of the document outline.
COLLECT_PAGES
Flag to collect objects related to the document page tree.
COLLECT_STRUCT_TREE
Flag to collect objects with its origin in the documens structure tree root.
Properties
$_addObjectCallback
Methods
__construct()
Parameters
- $document : SetaPDF_Core_Document
_addObject()
Parameters
Exceptions
Throws SetaPDF_Core_Document_ObjectNotFoundException
Throws SetaPDF_Core_Exception
Throws SetaPDF_Core_Parser_Pdf_InvalidTokenException
Throws SetaPDF_Core_Reader_Exception
Throws SetaPDF_Core_Type_Exception
Throws SetaPDF_Core_Type_IndirectReference_Exception
Throws SetaPDF_Exception
collect()
Collect all specified objects.
Parameters
- $addObjectCallback : callable
Exceptions
Throws SetaPDF_Core_Document_ObjectNotFoundException
Throws SetaPDF_Core_Exception
Throws SetaPDF_Core_Parser_Pdf_InvalidTokenException
Throws SetaPDF_Core_Reader_Exception
Throws SetaPDF_Core_SecHandler_Exception
Throws SetaPDF_Core_Type_Exception
Throws SetaPDF_Core_Type_IndirectReference_Exception
Throws SetaPDF_Exception