class final Core · pdftoolkit/pdf 0.12.4
PDF\Specification\Iso32000_2\Dictionary\OutlineItemDictionaryTable151\CountEntryISO 32000-2:2020 EC3, table 151, /Count.Héritage et contrats
Parent : PDF\Specification\SchemaEntry
Définition ISO 32000-2:2020 EC3
Tableau 151 · Entries in an outline item dictionary
§12.3.3 · page PDF 461
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.
/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.
Construction
__construct()
public function __construct(PDF\Syntax\Object\IntegerType|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\OutlineItemDictionaryTable151\CountEntry |
TABLE | | PDF\Specification\Iso32000_2\Dictionary\OutlineItemDictionaryTable151\CountEntry |
VARIABLE | | PDF\Specification\SchemaEntry |