class final Core · pdftoolkit/pdf 0.12.4
PDF\Specification\Iso32000_2\Dictionary\PageObjectTable31\ContentsEntryISO 32000-2:2020 EC3, table 31, /Contents.Héritage et contrats
Parent : PDF\Specification\SchemaEntry
Définition ISO 32000-2:2020 EC3
Tableau 31 · Entries in a page object
§7.7.3.3 · page PDF 120
Original PDF au commit documenté ↗ · Métadonnées de la source au commit documenté ↗ · Errata publics ↗
Original conservé dans le dépôt du core. Inventaire des tableaux et contrôles sémantiques restent distincts.
Extrait normatif original en anglais.
/Contents stream or array
(Optional) A content stream (see 7.8.2, "Content streams") that shall describe the contents of this page. If this entry is absent, the page shall be empty. The value shall be either a single stream or an array of streams. If the value is an array, the effect shall be as if all of the streams in the array were concatenated with at least one white-space character added between the streams’ data, in order, to form a single stream. PDF writers can create image objects and other resources as they occur, even though they interrupt the content stream. The division between streams may occur only at the boundaries between lexical tokens (see 7.2, "Lexical conventions") but shall be unrelated to the page’s logical content or organisation. Applications that consume or produce PDF files need not preserve the existing structure of the Contents array. PDF writers shall not create a Contents array containing no elements.
Construction
__construct()
public function __construct(PDF\Syntax\Object\ArrayType|PDF\Syntax\Object\IndirectReference $value)Méthodes héritées
3 méthodes des parents et contrats
definition()
public function definition(): PDF\Specification\EntryDefinitionkey()
public function key(): PDF\Syntax\Object\NameTypevalue()
public function value(): PDF\Syntax\FileStructure\BasicTypePropriétés
| Déclaration | Provenance et 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 |
Constantes
| Nom | Valeur PHP | Provenance |
|---|---|---|
KEY | | PDF\Specification\Iso32000_2\Dictionary\PageObjectTable31\ContentsEntry |
TABLE | | PDF\Specification\Iso32000_2\Dictionary\PageObjectTable31\ContentsEntry |
VARIABLE | | PDF\Specification\SchemaEntry |