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


Methods

__construct()

Parameters
$document : \SetaPDF_Core_Document
 

collect()

public Outlines::collect (
callable $addObjectCallback,
bool $withActionsOrDestinations = true
): void

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

Parameters
$addObjectCallback : callable
 
$withActionsOrDestinations : bool
 
Exceptions

Throws \setasign\SetaPDF2\Core\SecHandler\Exception

Throws \setasign\SetaPDF2\Core\Type\Exception