phpdftk API Documentation

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

$generationNumber

public int $generationNumber = 0

Methods

toIndirectObject()

Wrap the object in an indirect object structure: X Y obj ... endobj

public toIndirectObject() : string
Return values
string

toPdf()

Serialize the object's dictionary/value to PDF syntax.

public toPdf() : string
Return values
string

        
On this page

Search results