@qrcommunication/gigapdf-lib — SDK API reference - v0.110.3
    Preparing search index...

    Type Alias GigaBlockKind

    GigaBlockKind:
        | { t: "paragraph"; v: GigaParagraph }
        | { t: "heading"; v: GigaHeading }
        | { t: "list"; v: GigaList }
        | { t: "table"; v: GigaTable }
        | { t: "image"; v: GigaImageRef }
        | { t: "shape"; v: GigaShape }
        | { t: "textbox"; v: GigaTextBox }
        | { t: "sheet"; v: GigaSheetBlock }
        | { t: "slide"; v: GigaSlideBlock }

    A block payload, fully typed and discriminated by t (mirror of model::BlockKind's JSON). Narrow on kind.t to read the variant body in kind.v — e.g. a paragraph exposes v.runs (each run carrying style.bold/style.italic/style.size_pt/style.color), a heading its v.level, a table its v.rows[].cells[] (with col_span/row_span), and a list its v.ordered + v.items. This is what lets a thin editor render the recognised structure (bold, headings, tables, lists) 1:1.