Appearance
zeropdf / ParsedPdfStructureElement
Interface: ParsedPdfStructureElement
Defined in: src/parser.ts:162
Tagged structure element discovered while parsing an existing PDF.
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
actualText? | readonly | string | Replacement text exposed to assistive technology. | src/parser.ts:174 |
altText? | readonly | string | Alternate text for tagged non-text content. | src/parser.ts:172 |
children? | readonly | readonly ParsedPdfStructureElement[] | Nested child list items or structure elements. | src/parser.ts:178 |
language? | readonly | string | BCP 47 language tag for document or structure content. | src/parser.ts:176 |
mcid? | readonly | number | First marked-content id associated with the structure element. | src/parser.ts:168 |
mcids? | readonly | readonly number[] | Marked-content ids associated with the structure element. | src/parser.ts:170 |
pageObjectId? | readonly | number | Object id of the page associated with this item. | src/parser.ts:166 |
role | readonly | string | Structure role used to tag this content. | src/parser.ts:164 |