Skip to content

Add basic table support to nimPDF#49

Merged
jangko merged 1 commit intojangko:masterfrom
bunkford:master
Nov 26, 2025
Merged

Add basic table support to nimPDF#49
jangko merged 1 commit intojangko:masterfrom
bunkford:master

Conversation

@bunkford
Copy link
Contributor

  • Introduced a new table.nim module for handling table creation and rendering.
  • Implemented various table features including:
    • Auto-fitting and scaling of cell content.
    • Support for merged cells and custom styling (background color, text color, borders).
    • Automatic pagination with repeated headers for long tables.
    • Text wrapping and smart font sizing to prevent overflow.
  • Added example PDF documentation showcasing table functionalities.
  • Updated nimPDF.nim and page.nim to integrate the new table module.

- Introduced a new `table.nim` module for handling table creation and rendering.
- Implemented various table features including:
  - Auto-fitting and scaling of cell content.
  - Support for merged cells and custom styling (background color, text color, borders).
  - Automatic pagination with repeated headers for long tables.
  - Text wrapping and smart font sizing to prevent overflow.
- Added example PDF documentation showcasing table functionalities.
- Updated `nimPDF.nim` and `page.nim` to integrate the new table module.
@jangko
Copy link
Owner

jangko commented Nov 26, 2025

Nice, thanks

@jangko jangko merged commit ecf6e4a into jangko:master Nov 26, 2025
0 of 20 checks passed
@jangko jangko mentioned this pull request Nov 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants