setasign\SetaPDF2\Core\Document\ObjectCollector
Outlines Class for collecting objects from the document outline
File: /SetaPDF v2/Core/Document/ObjectCollector/Outlines.php
Old class name (alias):
\SetaPDF_Core_Document_ObjectCollector_Outlines
Class hierarchy
Summary
Properties
$_document
protected \SetaPDF_Core_Document Outlines::$_document
Methods
__construct()
Parameters
- $document : \SetaPDF_Core_Document
collect()
public Outlines::collect (
callable $addObjectCallback,
bool $withActionsOrDestinations = true
): voidbool $withActionsOrDestinations = true
Collect all indirect objects/references for non-stream objects related to the outline of the document.
Parameters
- $addObjectCallback : callable
- $withActionsOrDestinations : bool