StructAttribute
in package
implements
Serializable
Structure attribute object — ISO 32000-2 §14.7.5.
Attribute objects carry layout, list, table, print-field, etc. properties attached to structure elements via /A. The /O entry names the owning attribute class (e.g. Layout, List, Table).
Example: $attr = new StructAttribute('Layout'); $attr->entries['Placement'] = new PdfName('Block');
Attributes
- #[RequiresPdfVersion]
- \Phpdftk\Pdf\Core\PdfVersion::V1_3
Table of Contents
Interfaces
- Serializable
- Contract for anything that can emit raw PDF syntax via `toPdf()`.
Properties
Methods
- __construct() : mixed
- toPdf() : string
Properties
$entries
public
array<string, mixed>
$entries
= []
Additional attribute entries.
$o
public
PdfName
$o
Methods
__construct()
public
__construct(string $owner) : mixed
Parameters
- $owner : string
toPdf()
public
toPdf() : string