class final Core · roukmoute/pdf 0.6.2
PDF\Document\Files\FileSpecificationTable44/pages110–111: explicit file declaration, without path/URL loading.Inheritance and contracts
Parent : PDF\Specification\SchemaDictionary
Interfaces : Countable, IteratorAggregate, PDF\Document\DocumentGraphComponent, PDF\Document\VersionedComponent, PDF\Syntax\FileStructure\BasicType, Stringable, Traversable
Definition in the specification
Table 44 · Entries in a file specification dictionary
ISO 32000-1:2008, §7.11.3 · PDF page 110 ↗
| Entry | PDF type | Source requirement | Table |
|---|---|---|---|
/Type | name | Required if an EF or RF entry is present; recommended always | 44 |
/FS | name | Optional | 44 |
/F | string | Required if the DOS, Mac, and Unix entries are all absent; amended with the UF entry for PDF 1.7 | 44 |
/UF | text string | Optional, but recommended if the F entry exists in the dictionary; PDF 1.7 | 44 |
/DOS | byte string | Optional | 44 |
/Mac | byte string | Optional | 44 |
/Unix | byte string | Optional | 44 |
/ID | array | Optional | 44 |
/V | boolean | Optional; PDF 1.2 | 44 |
/EF | dictionary | Required if RF is present; PDF 1.3; amended to include the UF key in PDF 1.7 | 44 |
/RF | dictionary | Optional; PDF 1.3 | 44 |
/Desc | text string | Optional; PDF 1.6 | 44 |
/CI | dictionary | Optional; shall be indirect reference; PDF 1.7 | 44 |
Conditional descriptions remain traceable. A definition alone does not implement a codec, a signature or every format mechanism. Read the coverage.
Construction
__construct()
public function __construct(PDF\Syntax\Object\StringType $fileName, PDF\Document\Files\FileSpecificationOptions $options = new FileSpecificationOptions(), ?PDF\Document\Files\AssociatedFileRelationship $relationship = null)Declared methods
validateGraph()
public function validateGraph(PDF\Document\DocumentGraphContext $graph): voidvalidateVersion()
public function validateVersion(PDF\Syntax\FileStructure\EffectivePdfVersion $version): voidwith()
public function with(PDF\Syntax\Object\DictionaryObject\Entry $entry): staticwithout()
public function without(PDF\Syntax\Object\NameType|string $key): staticInherited methods
9 methods from parents and contracts
__toString()
public function __toString(): stringcount()
public function count(): intdefinition()
public function definition(): PDF\Specification\TableDefinitionentries()
public function entries(): iterable@return iterable<Entry>get()
public function get(PDF\Syntax\Object\NameType|string $key): ?PDF\Syntax\FileStructure\BasicTypegetIterator()
public function getIterator(): Traversablehas()
public function has(PDF\Syntax\Object\NameType|string $key): booltoPdf()
public function toPdf(PDF\Serialization\SerializationContext $context): stringvalidate()
public function validate(): voidChecks unconditional requirements; conditional and inherited rules remain explicit.Properties
| Declaration | Origin and documentation |
|---|---|
public readonly PDF\Syntax\Object\StringType $fileName | PDF\Document\Files\FileSpecification |
public readonly ?PDF\Document\Files\AssociatedFileRelationship $relationship | PDF\Document\Files\FileSpecification |
Constants
| Name | PHP value | Origin |
|---|---|---|
COMMON_TABLES | | PDF\Specification\SchemaDictionary |
TABLE | | PDF\Document\Files\FileSpecification |