CollectionSchema
extends PdfObject
in package
PDF Collection Schema dictionary.
Defines the schema for collection fields in a PDF portfolio.
Example: $schema = new CollectionSchema(); $schema->fields->set('FileName', $fieldDefDict);
Attributes
- #[RequiresPdfVersion]
- \Phpdftk\Pdf\Core\PdfVersion::V1_7
Table of Contents
Constants
- PDF_TYPE = 'CollectionSchema'
Properties
- $fields : PdfDictionary
- $generationNumber : int
- $objectNumber : int
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
= 'CollectionSchema'
Properties
$fields
public
PdfDictionary
$fields
$generationNumber
public
int
$generationNumber
= 0
$objectNumber
public
int
$objectNumber
= 0
Methods
__construct()
public
__construct() : mixed
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