SetaPDF_Core_Document_ObjectCollector_Annotations Class for collecting objects from annotations
File: /SetaPDF v2/Core/Document/ObjectCollector/Annotations.php
Class hierarchy
Summary
Properties
Methods
__construct()
public SetaPDF_Core_Document_ObjectCollector_Annotations::__construct (
SetaPDF_Core_Document $document
)Parameters
- $document : SetaPDF_Core_Document
collect()
public SetaPDF_Core_Document_ObjectCollector_Annotations::collect (
callable $addObjectCallback [, boolean $withActionsOrDestinations = true ]
): voidCollect all indirect objects/references for non-stream objects related to annotations of the document.
Parameters
- $addObjectCallback : callable
- $withActionsOrDestinations : boolean
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