zcatpdf/examples
reugenio 1838594104 feat: v0.5 - Clickable link annotations (Feature Complete)
Phase 5 Implementation:
- Link annotations in PDF (clickable in viewers)
- Page.addUrlLink() - add URL annotation
- Page.addInternalLink() - add internal page link
- Page.urlLink() / writeUrlLink() - visual + annotation combined
- Page.getLinks() - retrieve page links
- OutputProducer generates /Annots arrays for pages
- Link annotation objects with /Type /Annot /Subtype /Link

New example:
- links_demo.zig - demonstrates URL and internal links
  - 2 pages with cross-page navigation
  - External URLs (example.com, GitHub, mailto)
  - Internal links between pages

Final state:
- 7 examples working (hello, invoice, text_demo, image_demo,
  table_demo, pagination_demo, links_demo)
- ~70 tests passing
- Complete feature set for document generation

zpdf is now feature-complete for typical document generation needs:
text, tables, images, pagination, and clickable links.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-08 20:53:33 +01:00
..
hello.zig feat: v0.2 - Complete text system (cell, multiCell, alignment) 2025-12-08 19:46:30 +01:00
image_demo.zig feat: v0.3 - Image support (JPEG embedding) 2025-12-08 20:00:56 +01:00
invoice.zig feat: v0.2 - Complete text system (cell, multiCell, alignment) 2025-12-08 19:46:30 +01:00
links_demo.zig feat: v0.5 - Clickable link annotations (Feature Complete) 2025-12-08 20:53:33 +01:00
pagination_demo.zig feat: v0.4 - Utilities (Table, Pagination, Headers/Footers, Links) 2025-12-08 20:45:33 +01:00
table_demo.zig feat: v0.4 - Utilities (Table, Pagination, Headers/Footers, Links) 2025-12-08 20:45:33 +01:00
text_demo.zig feat: v0.2 - Complete text system (cell, multiCell, alignment) 2025-12-08 19:46:30 +01:00