class final Core · pdftoolkit/pdf 0.12.4

PDF\Specification\Iso32000_2\Dictionary\OutlineItemDictionaryTable151\CountEntry
ISO 32000-2:2020 EC3, table 151, /Count.

Read the source declaration ↗

Inheritance and contracts

Parent : PDF\Specification\SchemaEntry

ISO 32000-2:2020 EC3 definition

Table 151 · Entries in an outline item dictionary
§12.3.3 · PDF page 461

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.

/Count integer

(Required if the item has any descendants) If the outline item is open, Count is the sum of the number of visible descendent outline items at all levels. The number of visible descendent outline items shall be determined by the following recursive process: Step 1. Initialize Count to zero. Step 2. Add to Count the number of immediate children. During repetitions of this step, update only the Count of the original outline item. Step 3. For each of those immediate children whose Count is positive and non-zero, repeat steps 2 and 3. If the outline item is closed, Count is negative and its absolute value is the number of descendants that would be visible if the outline item were opened.

PDF 2.0 scope and limits.

Construction

__construct()

Declared by PDF\Specification\Iso32000_2\Dictionary\OutlineItemDictionaryTable151\CountEntry · 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