Expand description
Table module for PPTX generation
This module provides comprehensive table support including:
- Cell content and formatting
- Row and column management
- Text alignment (horizontal and vertical)
- Cell backgrounds and borders
- Text wrapping
- XML generation for OOXML
Structs§
- Table
- Table definition with rows and positioning
- Table
Builder - Builder for creating tables with fluent API
- Table
Cell - Table cell content with formatting options
- Table
Row - Table row containing cells
Enums§
- Cell
Align - Horizontal text alignment
- CellV
Align - Vertical text alignment
Constants§
- HEADER_
TEXT - Standard header text color.
- HELPER_
HEADER_ BG - Header background used by helper table presets.
- IMPORT_
HEADER_ BG - Header background used by HTML/Markdown import tables.
Functions§
- generate_
cell_ xml - Generate cell XML with formatting.
Based on reference PPTX structure:
txBodycomes beforetcPr. - generate_
table_ xml - Generate table XML for a slide
- header_
cell - Styled header cell preset.
- table_
from_ string_ rows - Build a positioned table from string rows with optional header styling.