class final Core · pdftoolkit/pdf 0.12.4

PDF\Specification\Iso32000_2\Dictionary\PageObjectTable31\ContentsEntry
ISO 32000-2:2020 EC3, table 31, /Contents.

Read the source declaration ↗

Inheritance and contracts

Parent : PDF\Specification\SchemaEntry

ISO 32000-2:2020 EC3 definition

Table 31 · Entries in a page object
§7.7.3.3 · PDF page 120

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.

/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.

PDF 2.0 scope and limits.

Construction

__construct()

Declared by PDF\Specification\Iso32000_2\Dictionary\PageObjectTable31\ContentsEntry · View the code ↗

Inherited methods

3 methods from parents and contracts

definition()

public function definition(): PDF\Specification\EntryDefinition

Declared by PDF\Specification\SchemaEntry · View the code ↗

key()

public function key(): PDF\Syntax\Object\NameType

Declared by PDF\Syntax\Object\DictionaryObject\Entry · View the code ↗

value()

public function value(): PDF\Syntax\FileStructure\BasicType

Declared by PDF\Syntax\Object\DictionaryObject\Entry · View the code ↗

Properties

Constants