setasign\SetaPDF2\Core\Document\ObjectCollector
ObjectCollector Class for collecting objects
File: /SetaPDF v2/Core/Document/ObjectCollector/ObjectCollector.php
Old class name (alias):
\SetaPDF_Core_Document_ObjectCollector
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
$_document
Methods
__construct()
Parameters
- $document : \SetaPDF_Core_Document
_addObject()
Parameters
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\Type\Exception
Throws \setasign\SetaPDF2\Core\Type\IndirectReference\Exception
Throws \setasign\SetaPDF2\Exception
collect()
Collect all specified objects.
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