setasign\SetaPDF2\Core\Document\ObjectCollector

Dests Class for collecting objects related to destinations

File: /SetaPDF v2/Core/Document/ObjectCollector/Dests.php
Old class name (alias): \SetaPDF_Core_Document_ObjectCollector_Dests

Class hierarchy

Summary

Properties

$_document


Methods

__construct()

Parameters
$document : \SetaPDF_Core_Document
 

_collectDestsInDestsEntry()

protected Dests::_collectDestsInDestsEntry (
callable $addObjectCallback
): void

Collect indirect objects/references of destinations defined in the Dests entry of the catalog dictionary.

Parameters
$addObjectCallback : callable
 
Exceptions

Throws \setasign\SetaPDF2\Core\SecHandler\Exception

Throws \setasign\SetaPDF2\Core\Type\Exception

_collectDestsInNameTree()

collect()

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

Collect all indirect objects/references for non-stream objects related to destinations 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

Throws \setasign\SetaPDF2\NotImplementedException