class final Core · pdftoolkit/pdf 0.12.4
PDF\Specification\Iso32000_2\Dictionary\OptionalContentUsageDictionaryTable100\LanguageEntryISO 32000-2:2020 EC3, table 100, /Language.Inheritance and contracts
Parent : PDF\Specification\SchemaEntry
ISO 32000-2:2020 EC3 definition
Table 100 · Entries in an optional content usage dictionary
§8.11.4.4 · PDF page 303
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.
Original normative excerpt in English.
/Language dictionary
(Optional) A dictionary specifying the language of the content controlled by this optional content group. It shall contain the following entry: Lang (required) A text string that specifies a language and possibly a locale (see 14.9.2, "Natural language specification"). For example, es-MX represents Mexican Spanish. Additionally, it may contain the following entry: Preferred (optional) A name whose values shall be either ON or OFF. Default value: OFF. It shall be used by PDF processors when there is a partial match but no exact match between the system language and the language strings in all usage dictionaries. See 8.11.4.4, "Usage and usage application dictionaries" for more information.
Construction
__construct()
public function __construct(PDF\Syntax\Object\DictionaryType|PDF\Syntax\Object\IndirectReference $value)Inherited methods
3 methods from parents and contracts
definition()
public function definition(): PDF\Specification\EntryDefinitionkey()
public function key(): PDF\Syntax\Object\NameTypevalue()
public function value(): PDF\Syntax\FileStructure\BasicTypeProperties
| Declaration | Origin and documentation |
|---|---|
public readonly PDF\Syntax\Object\NameType $key | PDF\Syntax\Object\DictionaryObject\Entry |
public readonly PDF\Syntax\FileStructure\BasicType $value | PDF\Syntax\Object\DictionaryObject\Entry |
Constants
| Name | PHP value | Origin |
|---|---|---|
KEY | | PDF\Specification\Iso32000_2\Dictionary\OptionalContentUsageDictionaryTable100\LanguageEntry |
TABLE | | PDF\Specification\Iso32000_2\Dictionary\OptionalContentUsageDictionaryTable100\LanguageEntry |
VARIABLE | | PDF\Specification\SchemaEntry |