Interface Block.TypeStage

  • All Known Implementing Classes:
    Block.Builder
    Enclosing class:
    Block

    public static interface Block.TypeStage
    • Method Detail

      • type

        Block.ContentStage type​(@NotNull
                                BlockType type)

        The type of block:

        • "text" - Regular text content
        • "heading" - Section or document headings
        • "section_heading" - Subsection headings
        • "table" - Tabular data with rows and columns
        • "figure" - Images, charts, diagrams, or logos
        • "table_head" - Table header cells
        • "table_cell" - Table body cells
        • "key_value" - Key-value pairs (e.g., form regions, key-val groups, etc)
        • "page_number" - Page number indicators
        • "barcode" - Barcodes and QR codes
        • "formula" - Mathematical formulas and equations
        • "header" - Page headers
        • "footer" - Page footers