DocWright 2.0
Released 25 November 2026. Each product now has a home of its own name: what belongs to Word is under DocWright.Word, what belongs to Excel under DocWright.Spreadsheet. Around that move, Excel grew from opening and editing a workbook to making one, calculating it, printing it and drawing its charts.
This is a major release: package and namespace names changed. No type was renamed and nothing behaves differently because of the move, and an application that only converts (DocWrightConverter) changes nothing. A script in the repository rewrites the rest: see Upgrading.
New names
| Up to 1.12 | From 2.0 |
|---|---|
DocWright.Dom and its namespaces |
DocWright.Word |
DocWright.Layout |
DocWright.Word.Layout |
DocWright.Formats.Docx, .Doc, .Rtf, .Odt, .Html, .Markdown, .Text, .Epub, .Rdl |
DocWright.Word.Docx, .Doc, .Rtf, .Odt, .Html, .Markdown, .Text, .Epub, .Rdl |
DocWright.MailMerge, .Compare, .Composition |
DocWright.Word.MailMerge, .Compare, .Composition |
DocWright.Formats.Xlsx |
DocWright.Spreadsheet |
The 1.x packages stay on nuget.org at 1.12.0.
Excel workbooks
| New | What it does |
|---|---|
| A workbook made from nothing, data in and out | XlsxDocument.Create, ImportData from tables, lists and arrays, typed exports back out. Guide |
| Values shown as Excel shows them | Number formats rendered as Excel renders them, measured against 8,372 of Excel's own pairs. Guide |
| CSV, JSON and Markdown | A sheet written as each, and a workbook read from CSV or a Markdown table. Guide |
| Printed as Excel prints it | A new package, DocWright.Spreadsheet.Rendering: a sheet laid out on pages and saved as PDF, images or HTML, with its page setup. Guide |
| Formulas read and calculated | A formula parsed into its parts, references moved as Excel moves them, and formulas calculated as Excel calculates them: lookup, text, date, maths, statistics, finance, engineering and the rest, arrays and dynamic arrays included. Guide |
| Rows, columns and sheets | Inserted, deleted, renamed, moved, copied and merged across workbooks, every reference following. Guide |
| Sort, filter, outline, names, links, validation, templates | Each read, added, changed and removed. Guide |
| Charts | Read, made in 42 types, changed, removed, and drawn in a sheet's pages and on their own, horizontal bars included. Guide |
| Pivot tables, sparklines, shapes, text boxes, form controls | Read, made, refreshed and drawn. Guide |
| Protection and encryption | A sheet or workbook protected, a workbook encrypted with a password, an encrypted one opened. Guide |
| OpenDocument and the legacy format | A workbook saved as .ods; a .xls (Excel 97-2003) opened. Guide |
| Scenarios and embedded objects | Read, added, applied and removed. Guide |
Word documents
- Charts are inserted, changed and removed: six kinds, clustered, stacked and 100% stacked, with a caller's workbook behind them if given. Guide.
- Every document property is read and set: custom properties, the rest of the core set and document variables, shown by
DOCPROPERTYandDOCVARIABLEas Word shows them. Guide. - Legacy form fields are inserted, changed and removed: text, check-box and drop-down fields, written as Word writes them. Guide.
- Charts are drawn closer to Word: horizontal bar charts as bars (they were drawn upright), 100% stacked charts as shares, and every legend in Word's order.