TrailerDictionary
in package
implements
Serializable
Trailer dictionary — ISO 32000-2 §7.5.5, Table 17.
Carries the bookkeeping entries that follow the classic trailer
keyword at the end of a PDF file: the total object count (/Size), the
catalog reference (/Root), the optional info dict, file ID, previous
xref offset (for incremental updates), and encrypt dict reference.
Used by PdfFileWriter to emit the trailer section of a generated PDF.
Table of Contents
Interfaces
- Serializable
- Contract for anything that can emit raw PDF syntax via `toPdf()`.
Properties
- $encrypt : PdfReference|null
- $id : PdfArray|null
- $info : PdfReference|null
- $prev : int|null
- $root : PdfReference
- $size : int
Methods
- __construct() : mixed
- toPdf() : string
Properties
$encrypt
public
PdfReference|null
$encrypt
= null
$id
public
PdfArray|null
$id
= null
$info
public
PdfReference|null
$info
= null
$prev
public
int|null
$prev
= null
$root
public
PdfReference
$root
$size
public
int
$size
= 0
Methods
__construct()
public
__construct(PdfReference $root) : mixed
Parameters
- $root : PdfReference
toPdf()
public
toPdf() : string