DPart
extends PdfObject
in package
Document part node (/Type /DPart) — ISO 32000-2 §14.12.
A node in the document-part tree. Internal nodes carry a /DParts array of child node references; leaves carry a /Start page reference (and optionally /End) plus their record metadata.
Attributes
- #[RequiresPdfVersion]
- \Phpdftk\Pdf\Core\PdfVersion::V2_0
Table of Contents
Constants
- PDF_TYPE = 'DPart'
Properties
- $dParts : PdfArray|null
- $dpm : PdfDictionary|null
- $end : PdfReference|null
- $generationNumber : int
- $objectNumber : int
- $parent : PdfReference
- $start : PdfReference|null
Methods
- __construct() : mixed
- toIndirectObject() : string
- Wrap the object in an indirect object structure: X Y obj ... endobj
- toPdf() : string
- Serialize the object's dictionary/value to PDF syntax.
Constants
PDF_TYPE
public
mixed
PDF_TYPE
= 'DPart'
Properties
$dParts
public
PdfArray|null
$dParts
= null
$dpm
public
PdfDictionary|null
$dpm
= null
$end
public
PdfReference|null
$end
= null
$generationNumber
public
int
$generationNumber
= 0
$objectNumber
public
int
$objectNumber
= 0
$parent
public
PdfReference
$parent
$start
public
PdfReference|null
$start
= null
Methods
__construct()
public
__construct(PdfReference $parent) : mixed
Parameters
- $parent : PdfReference
toIndirectObject()
Wrap the object in an indirect object structure: X Y obj ... endobj
public
toIndirectObject() : string
Return values
stringtoPdf()
Serialize the object's dictionary/value to PDF syntax.
public
toPdf() : string