Interface Block

All Known Implementing Classes:
BoxBlock, CanvasBlock, ColumnsBlock, ComponentBlock, GroupBlock, Heading, ImageBlock, LetterPartBlock, ListBlock, PageBreakBlock, Paragraph, TableBlock

Closed set of letter content blocks usable in body sections and positioned regions. JSON selects the concrete record through the type property: heading, paragraph, list, image, table, group, component, or pageBreak. Component references resolve from document-local registrations before validation. A PageBreakBlock is valid only in body sections; other block kinds can also appear in fixed elements and visual signatures.

Block records snapshot supplied collections or image bytes but generally defer content, style, and geometry validation until PDF generation.

  • Method Summary

    Modifier and Type
    Method
    Description
    Returns overrides layered on the inherited document and optional section style.
  • Method Details

    • style

      Style style()
      Returns overrides layered on the inherited document and optional section style. Individual text runs and table cells can override the resulting style further.
      Returns:
      nullable block style; null means inherit all properties