class final Core · roukmoute/pdf 0.6.2

PDF\Specification\Dictionary\CrossReferenceStreamDictionaryTable17\WEntry
Table 17, /W; PDF type: array; Required.

Read the source declaration ↗

Inheritance and contracts

Parent : PDF\Specification\SchemaEntry

Definition in the specification

Table 17 · Additional entries specific to a cross-reference stream dictionary
ISO 32000-1:2008, §7.5.8.3 · PDF page 58 ↗

/W array

(Required) An array of integers representing the size of the fields in a single cross-reference entry. Table 18 describes the types of entries and their fields. For PDF 1.5, W always contains three integers; the value of each integer shall be the number of bytes (in the decoded stream) of the corresponding field. EXAMPLE [1 2 1] means that the fields are one byte, two bytes, and one byte, respectively. A value of zero for an element in the W array indicates that the corresponding field shall not be present in the stream, and the default value shall be used, if there is one. If the first element is zero, the type field shall not be present, and shall default to type 1. The sum of the items shall be the total length of each entry; it can be used with the Index array to determine the starting position of each subsection. Different cross-reference streams in a PDF file may use different values for W.

Qualifier: Required

  • Direct object required
  • Direct array elements required

Conditional descriptions remain traceable. A definition alone does not implement a codec, a signature or every format mechanism. Read the coverage.

Construction

__construct()

public function __construct(PDF\Syntax\Object\ArrayType $value)

Declared by PDF\Specification\Dictionary\CrossReferenceStreamDictionaryTable17\WEntry · 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