docx_dart 1.2.0
docx_dart: ^1.2.0 copied to clipboard
A Dart library for creating, reading, editing, and saving Microsoft Word .docx files.
Changelog #
1.2.0 #
- Added
InlineParagraphStyleandInlineRunStylefor simplified inline styling. - Added
DocxUnithelper class for easier dimension definitions (cmandpt). - Added
run.addFloatingPictureto support anchoring images behind text (<wp:anchor behindDoc="1">). - Exposed simplified enums
ParagraphAlignmentandUnderlinefor inline styles. - Exposed internal formatting elements (
InlineParagraphStyle,InlineRunStyle,ParagraphAlignment,Underline,DocxUnit) andFontin the barrel filedocx_dart.dart. - Added
fontandparagraphFormatproperties toParagraphStyleandCharacterStyleto enable reading and updating formatting/font details directly from styles. - Added
clear()andremoveParagraph(Paragraph paragraph)methods toBlockItemContainerto allow removing content without raw XML manipulation.
1.1.0 #
- Relaxed the
imagedependency constraint to support projects that resolvearchive3.x through other packages.
1.0.0 #
- Initial public release of
docx_dart. - Added support for creating, opening, editing, and saving
.docxdocuments. - Added document APIs for paragraphs, headings, tables, sections, headers, footers, inline images, table of contents fields, and page number fields.
- Added test coverage for document structure, sections, tables, image handling, settings, numbering parts, and browser document workflows.