class final Core · pdftoolkit/pdf 0.12.4
PDF\Specification\Iso32000_2\Dictionary\AnnotationDictionaryTable166ISO 32000-2:2020 EC3, table 166.Inheritance and contracts
Parent : PDF\Specification\SchemaDictionary
Interfaces : Countable, IteratorAggregate, PDF\Syntax\FileStructure\BasicType, Stringable, Traversable
ISO 32000-2:2020 EC3 definition
Table 166 · Entries common to all annotation dictionaries
§12.5.2 · PDF page 482
Original PDF at the documented commit ↗ · Source metadata at the documented commit ↗ · Public errata ↗
Original retained in the core repository. Table inventory and semantic validation remain distinct.
| Entry | PDF type | Physical PDF page | Requirement |
|---|---|---|---|
/Type | name | 482 | Optional |
/Subtype | name | 482 | Required |
/Rect | rectangle | 482 | Required |
/Contents | text string | 482 | Optional |
/P | dictionary | 482 | Optional; conditional |
/NM | text string | 482 | Optional |
/M | date or text string | 482 | Optional |
/F | integer | 483 | Optional |
/AP | dictionary | 483 | Required; conditional |
/AS | name | 483 | Required; conditional |
/Border | array | 483 | Optional |
/C | array | 484 | Optional |
/StructParent | integer | 484 | Required; conditional |
/OC | dictionary | 484 | Optional |
/AF | array of dictionaries | 484 | Optional |
/ca | number | 484 | Optional |
/CA | number | 485 | Optional; conditional |
/BM | name | 485 | Optional |
/Lang | text string | 485 | Optional |
EC3 correction /AP · Completed · ISO TC 171 SC 2 WG 8 · page PDF 483 · Issue #22
Construction
__construct()
public function __construct(PDF\Syntax\Object\DictionaryObject\Entry ...$entries)Inherited methods
11 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 declared domains, unconditional requirements and explicit reviewed relations.with()
public function with(PDF\Syntax\Object\DictionaryObject\Entry $entry): staticwithout()
public function without(PDF\Syntax\Object\NameType|string $key): staticConstants
| Name | PHP value | Origin |
|---|---|---|
COMMON_TABLES | | PDF\Specification\Iso32000_2\Dictionary\AnnotationDictionaryTable166 |
TABLE | | PDF\Specification\Iso32000_2\Dictionary\AnnotationDictionaryTable166 |