PDF generation library for Zig - pure Zig, zero dependencies
Find a file
reugenio 236cf7f328 feat: v0.4 - Utilities (Table, Pagination, Headers/Footers, Links)
Phase 4 Implementation:
- Table helper (src/table.zig):
  - Table.init() with TableOptions (col_widths, colors, fonts)
  - header(), row(), rowStyled(), footer() methods
  - setColumnAlign() for per-column alignment
  - separator() and space() utilities

- Pagination module (src/pagination.zig):
  - Pagination.addPageNumbers() with {PAGE}/{PAGES} format
  - addHeader() with optional separator line
  - addFooter() and addFooterWithLine()
  - Position enum (bottom_left, bottom_center, etc.)

- Links visual styling (src/links.zig, src/page.zig):
  - PageLinks struct for link storage
  - Page.drawLink() - blue underlined text
  - Page.writeLink() - link at current position

- Examples:
  - table_demo.zig - 3 table styles (product, invoice, employee)
  - pagination_demo.zig - 5 pages with headers/footers/numbers

~70 tests passing, 6 examples working.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-08 20:45:33 +01:00
docs feat: v0.2 - Complete text system (cell, multiCell, alignment) 2025-12-08 19:46:30 +01:00
examples feat: v0.4 - Utilities (Table, Pagination, Headers/Footers, Links) 2025-12-08 20:45:33 +01:00
src feat: v0.4 - Utilities (Table, Pagination, Headers/Footers, Links) 2025-12-08 20:45:33 +01:00
.gitignore feat: v0.2 - Complete text system (cell, multiCell, alignment) 2025-12-08 19:46:30 +01:00
build.zig feat: v0.4 - Utilities (Table, Pagination, Headers/Footers, Links) 2025-12-08 20:45:33 +01:00
CLAUDE.md feat: v0.4 - Utilities (Table, Pagination, Headers/Footers, Links) 2025-12-08 20:45:33 +01:00