class HexaPDF:: Type:: StructElem
| Parent | HexaPDF::Dictionary |
|---|
Represents a structure element.
See: PDF2.0 s14.7.2
Field Definitions
| Name | Type/Allowed Values | Required | Default Value |
|---|---|---|---|
| Type | Symbol | false | :StructElem |
| S | Symbol | true | nil |
| P | HexaPDF::Dictionary or Hash | true | nil |
| ID | HexaPDF::DictionaryFields::PDFByteString or String | false | nil |
| Ref | HexaPDF::PDFArray or Array | false | nil |
| Pg | HexaPDF::Dictionary or Hash | false | nil |
| K | HexaPDF::Dictionary or HexaPDF::PDFArray or Integer or Hash or Array | false | nil |
| A | HexaPDF::Stream or HexaPDF::Dictionary or HexaPDF::PDFArray or Hash or Array | false | nil |
| C | Symbol or HexaPDF::PDFArray or Array | false | nil |
| R | Integer | false | 0 |
| T | String | false | nil |
| Lang | String | false | nil |
| Alt | String | false | nil |
| E | String | false | nil |
| ActualText | String | false | nil |
| AF | HexaPDF::PDFArray or Array | false | nil |
| NS | HexaPDF::Dictionary or Hash | false | nil |
| PhoneticAlphabet | Symbol | false | :ipa |
| Phoneme | String | false | nil |