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
$as
public
PdfArray|null
$as
= null
$baseState
public
PdfName|null
$baseState
= null
$creator
public
PdfString|null
$creator
= null
$generationNumber
public
int
$generationNumber
= 0
$intent
public
PdfArray|null
$intent
= null
$listMode
public
PdfName|null
$listMode
= null
$locked
public
PdfArray|null
$locked
= null
$name
public
PdfString|null
$name
= null
$objectNumber
public
int
$objectNumber
= 0
$off
public
PdfArray|null
$off
= null
$on
public
PdfArray|null
$on
= null
$order
public
PdfArray|null
$order
= null
$rbGroups
public
PdfArray|null
$rbGroups
= null
Methods
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