Table styling release: designed defaults, named presets, and per-call overrides. Render-verified through LibreOffice and PowerPoint.
Added
- Named table presets:
add_table(data, style="publication")— an academic booktabs look (no fills, horizontal rules only, regular-weight header). Also"minimal","striped","dark", and"colorful"(per-column accent colors with a gray row-label column). Unknown preset names raise with the available list - Per-call table styling: pass a dict as
styleto override spec keys on top of the theme/default spec —header_fill,band_fills,borders,fill="none",header_bold,column_accents,label_fill,band_blend, and more - Table rules: booktabs-style horizontal borders via the
bordersspec key, widths in points; interior rules are written to both sides of the cell boundary so every renderer draws them - Hex colors:
"#1F2430"/"#fff"now work anywhere colors are accepted; invalid hex raises a clearValueError
Changed
- Plain tables look designed: without a theme or explicit style, tables use the light theme's spec instead of the bare python-pptx default
- Table rows hug their content instead of stretching to fill the bounding height
- Grid cells center their content:
grid[r, c].add_text(...)defaults to centered alignment, and tables are vertically centered within their cell
Also ships everything from the unreleased 0.10.0 entry (fluent Deck builder, auto-pagination, design blocks) — see CHANGELOG.md.