setasign\SetaPDF2\Core\Document\ObjectCollector
StructTree Class for collecting objects from the StructTree structure
File: /SetaPDF v2/Core/Document/ObjectCollector/StructTree.php
Old class name (alias):
\SetaPDF_Core_Document_ObjectCollector_StructTree
Class hierarchy
Summary
Properties
$_document
Methods
__construct()
Parameters
- $document : \SetaPDF_Core_Document
_collectClassMap()
Parameters
- $structTreeRoot : \SetaPDF_Core_Document_Catalog_StructTreeRoot
- $addObjectCallback : callable
Exceptions
Throws \setasign\SetaPDF2\Core\Document\ObjectNotFoundException
Throws \setasign\SetaPDF2\Core\Exception
Throws \setasign\SetaPDF2\Core\Parser\Pdf\InvalidTokenException
Throws \setasign\SetaPDF2\Core\Reader\Exception
Throws \setasign\SetaPDF2\Core\SecHandler\Exception
Throws \setasign\SetaPDF2\Core\Type\Exception
Throws \setasign\SetaPDF2\Core\Type\IndirectReference\Exception
Throws \setasign\SetaPDF2\Exception
_collectIdTree()
Parameters
- $structTreeRoot : \SetaPDF_Core_Document_Catalog_StructTreeRoot
- $addObjectCallback : callable
Exceptions
Throws \setasign\SetaPDF2\Core\Document\ObjectNotFoundException
Throws \setasign\SetaPDF2\Core\Exception
Throws \setasign\SetaPDF2\Core\Parser\Pdf\InvalidTokenException
Throws \setasign\SetaPDF2\Core\Reader\Exception
Throws \setasign\SetaPDF2\Core\SecHandler\Exception
Throws \setasign\SetaPDF2\Core\Type\Exception
Throws \setasign\SetaPDF2\Core\Type\IndirectReference\Exception
Throws \setasign\SetaPDF2\Exception
_collectKids()
Parameters
- $structTreeRoot : \SetaPDF_Core_Document_Catalog_StructTreeRoot
- $addObjectCallback : callable
Exceptions
Throws \setasign\SetaPDF2\Core\Document\ObjectNotFoundException
Throws \setasign\SetaPDF2\Core\Exception
Throws \setasign\SetaPDF2\Core\Parser\Pdf\InvalidTokenException
Throws \setasign\SetaPDF2\Core\Reader\Exception
Throws \setasign\SetaPDF2\Core\SecHandler\Exception
Throws \setasign\SetaPDF2\Core\Type\Exception
Throws \setasign\SetaPDF2\Core\Type\IndirectReference\Exception
Throws \setasign\SetaPDF2\Exception
_collectParentTree()
Parameters
- $structTreeRoot : \SetaPDF_Core_Document_Catalog_StructTreeRoot
- $addObjectCallback : callable
Exceptions
Throws \setasign\SetaPDF2\Core\Document\ObjectNotFoundException
Throws \setasign\SetaPDF2\Core\Exception
Throws \setasign\SetaPDF2\Core\Parser\Pdf\InvalidTokenException
Throws \setasign\SetaPDF2\Core\Reader\Exception
Throws \setasign\SetaPDF2\Core\SecHandler\Exception
Throws \setasign\SetaPDF2\Core\Type\Exception
Throws \setasign\SetaPDF2\Core\Type\IndirectReference\Exception
Throws \setasign\SetaPDF2\Exception
_collectRoleMap()
Parameters
- $structTreeRoot : \SetaPDF_Core_Document_Catalog_StructTreeRoot
- $addObjectCallback : callable
Exceptions
collect()
Collect all indirect objects/references for non-stream objects related to the StructTree structure of the document.
Parameters
- $addObjectCallback : callable
Exceptions
Throws \setasign\SetaPDF2\Core\Document\ObjectNotFoundException
Throws \setasign\SetaPDF2\Core\Exception
Throws \setasign\SetaPDF2\Core\Parser\Pdf\InvalidTokenException
Throws \setasign\SetaPDF2\Core\Reader\Exception
Throws \setasign\SetaPDF2\Core\SecHandler\Exception
Throws \setasign\SetaPDF2\Core\Type\Exception
Throws \setasign\SetaPDF2\Core\Type\IndirectReference\Exception
Throws \setasign\SetaPDF2\Exception