modern-pdf-lib / StructureType
Type Alias: StructureType
StructureType =
"Document"|"Part"|"Art"|"Sect"|"Div"|"BlockQuote"|"Caption"|"TOC"|"TOCI"|"Index"|"NonStruct"|"Private"|"P"|"H"|"H1"|"H2"|"H3"|"H4"|"H5"|"H6"|"L"|"LI"|"Lbl"|"LBody"|"Table"|"TR"|"TH"|"TD"|"THead"|"TBody"|"TFoot"|"Span"|"Quote"|"Note"|"Reference"|"BibEntry"|"Code"|"Link"|"Annot"|"Ruby"|"RB"|"RT"|"RP"|"Warichu"|"WT"|"WP"|"Figure"|"Formula"|"Form"|string&object
Defined in: src/accessibility/structureTree.ts:50
Standard structure types defined by the PDF specification (ISO 32000-1, Table 333 through Table 340), plus a string catch-all for custom structure types.
Groups:
- Grouping: Document, Part, Art, Sect, Div, BlockQuote, Caption, TOC, TOCI, Index, NonStruct, Private
- Block-level: P, H, H1..H6
- List: L, LI, Lbl, LBody
- Table: Table, TR, TH, TD, THead, TBody, TFoot
- Inline-level: Span, Quote, Note, Reference, BibEntry, Code, Link, Annot
- Ruby / Warichu: Ruby, RB, RT, RP, Warichu, WT, WP
- Illustration: Figure, Formula, Form