setasign\SetaPDF2\Core\Document\ObjectCollector

Pages Class for collecting objects from the page tree

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

Class hierarchy

Summary

Properties

$_document


Methods

__construct()

Parameters
$document : \SetaPDF_Core_Document
 

collect()

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

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