phpdftk API Documentation

DPartRoot extends PdfObject
in package

Document parts root (/Type /DPartRoot) — ISO 32000-2 §14.12.

Referenced from Catalog::$dPartRoot. Defines the document-part hierarchy and the names used for DPart metadata (e.g., for PDF/VT variable-data printing).

Attributes
#[RequiresPdfVersion]
\Phpdftk\Pdf\Core\PdfVersion::V2_0

Table of Contents

Constants

PDF_TYPE  = 'DPartRoot'

Properties

$dPartRootNode  : PdfReference
$generationNumber  : int
$nodeNameList  : PdfArray|null
$objectNumber  : int
$recordLevel  : int|null
$recordPropertiesList  : PdfArray|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 = 'DPartRoot'

Properties

$generationNumber

public int $generationNumber = 0

$recordLevel

public int|null $recordLevel = null

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