docs_gee 1.0.1
docs_gee: ^1.0.1 copied to clipboard
Pure Dart library for generating DOCX and PDF documents with rich formatting, tables, lists. Cross-platform with no native dependencies.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
1.0.1 - 2024-12-21 #
Added #
Hyperlinks
- External links - Link text to external URLs
DocxRun('text', hyperlink: 'https://example.com')- Automatic blue color and underline styling
Internal Links (Bookmarks)
- Bookmarks - Create named anchors in document
DocxParagraph.heading('Title', level: 1, bookmarkName: 'section1')
- Bookmark references - Link to internal bookmarks
DocxRun('Go to section', bookmarkRef: 'section1')
Table of Contents
- Automatic TOC generation
DocxDocument(includeTableOfContents: true)- Configurable title (
tocTitle) - Configurable heading depth (
tocMaxLevel: 1-4) - Word auto-updates TOC on document open
Fixed #
- Repository URL in pubspec.yaml
1.0.0 - 2024-12-19 #
Added #
Document Generation
- DocxGenerator - Generates Microsoft Word DOCX files
- Pure Dart implementation using OOXML standard
- Configurable default font name and size
- Compatible with Word 2007+, Google Docs, LibreOffice
- PdfGenerator - Generates PDF documents
- Pure Dart implementation (PDF 1.4 standard)
- No native dependencies
- Cross-platform support including Web
Document Model
- Document - Container for document content
- Title and author metadata
- Mixed content support (paragraphs and tables)
- Creation and modification timestamps
Text Formatting
- TextRun - Rich text formatting
- Bold, italic, underline, strikethrough
- Text color (hex format)
- Background/highlight color
- Text alignment - Left, center, right, justify
Paragraph Styles
- Headings (H1-H4)
- Subtitle
- Caption
- Block quote
- Code block (monospace)
- Footnote
Lists
- Bullet lists (•)
- Dash lists (–)
- Numbered lists (1, 2, 3)
- Alphabetic lists (a, b, c)
- Roman numeral lists (I, II, III)
- Nested lists up to 9 levels deep
Tables
- Basic table support with rows and cells
- Cell background colors
- Cell text alignment
- Table borders (all, none, outside only)
- Border styles (single, double, dashed, dotted)
Other Features
- Page breaks
- Emoji support (DOCX only - Word handles natively)
- Cross-platform: iOS, Android, Web, macOS, Windows, Linux
Documentation #
- Complete API reference
- Usage examples for all features
- Platform-specific guides (Web, Mobile)