phpdftk API Documentation

OCConfig extends PdfObject
in package

Optional content configuration dictionary — ISO 32000-2 §8.11.4.3, Table 101.

Lives inside OCPropertiesDict::$d (default) or in the /Configs array (alternative configurations). Carries the initial on/off state of each OCG, the display tree order (/Order), radio-button groups (/RBGroups), and permanently locked groups (/Locked).

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

Table of Contents

Properties

$as  : PdfArray|null
$baseState  : PdfName|null
$creator  : PdfString|null
$generationNumber  : int
$intent  : PdfArray|null
$listMode  : PdfName|null
$locked  : PdfArray|null
$name  : PdfString|null
$objectNumber  : int
$off  : PdfArray|null
$on  : PdfArray|null
$order  : PdfArray|null
$rbGroups  : PdfArray|null

Methods

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.

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