SetaPDF_Core_Document_ObjectCollector_StructTree Class for collecting objects from the StructTree structure

File: /SetaPDF v2/Core/Document/ObjectCollector/StructTree.php

Class hierarchy

Summary

Properties


Methods

_collectRoleMap()

Parameters
$structTreeRoot : SetaPDF_Core_Document_Catalog_StructTreeRoot
 
$addObjectCallback : callable
 
Exceptions

Throws SetaPDF_Core_SecHandler_Exception

Throws SetaPDF_Core_Type_Exception

collect()

public SetaPDF_Core_Document_ObjectCollector_StructTree::collect (
callable $addObjectCallback
): void

Collect all indirect objects/references for non-stream objects related to the StructTree structure of the document.

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

Throws SetaPDF_Exception_NotImplemented