Why OfficeIMO.Word?
OfficeIMO.Word helps .NET applications generate and modify .docx files without COM interop or Office automation. It is a good fit for reports, contracts, invoices, and other structured document workflows where you want code-first control over content, layout, and packaging.
The best fit is modern document automation: assemble real documents, inspect them before editing, convert selected content through HTML or Markdown, and keep review metadata visible when documents move through approval workflows.
Features
- Paragraphs & text styling -- fonts, sizes, colors, bold, italic, underline, strikethrough, highlight, and spacing
- Tables with merge & split -- horizontal and vertical cell merging, nested tables, 105+ built-in table styles
- Images -- insert from file path, stream, Base64 string, or URL with precise positioning and sizing
- Headers & footers -- default, first page, and odd/even with text, images, and page numbers
- Watermarks -- text and image watermarks with rotation, color, and transparency
- Table of Contents -- automatic TOC generation with configurable heading levels
- Bookmarks & hyperlinks -- internal cross-references and external links
- Charts -- pie, bar, line, area, and combo charts with series data, legends, and axis formatting
- Content controls -- checkboxes, drop-down lists, combo boxes, date pickers, and rich text controls
- Document protection -- read-only, password protection, and editing restrictions
- Footnotes & endnotes -- numbered references with custom formatting
- Sections & page numbering -- multiple sections with independent orientation, margins, and numbering
Workflow Focus
| Workflow | What OfficeIMO.Word owns | Current product direction |
|---|
| Document assembly | Merge fields, repeated regions, content-control bindings, validation, and batch output | Make template automation easy to evaluate with guides and proof artifacts. |
| Review automation | Comments, revisions, visible markup, document comparison, and feature inspection | Build a structured review/redline/diff story for contracts, policies, proposals, and audit documents. |
| HTML and Markdown conversion | Word/HTML and Word/Markdown converter packages with diagnostics and resource policy | Expand real-world conversion fixtures, support matrices, and generated artifact galleries. |
| Real-document proof | Examples, tests, docs, and website showcase content | Lead with source inputs, generated DOCX files, validation status, and known limitations. |
Quick start
using OfficeIMO.Word;
using var document = WordDocument.Create("Report.docx");
// Add a styled heading
var paragraph = document.AddParagraph("Quarterly Report");
paragraph.Style = WordParagraphStyle.Heading1;
paragraph.Color = OfficeIMO.Drawing.OfficeColor.DarkBlue;
// Add body text
document.AddParagraph("This report summarizes key metrics for Q4 2025.")
.SetBold(false)
.SetFontSize(12);
// Add a table
var table = document.AddTable(4, 3);
table.Rows[0].Cells[0].Paragraphs[0].Text = "Region";
table.Rows[0].Cells[1].Paragraphs[0].Text = "Revenue";
table.Rows[0].Cells[2].Paragraphs[0].Text = "Growth";
table.Rows[1].Cells[0].Paragraphs[0].Text = "North America";
table.Rows[1].Cells[1].Paragraphs[0].Text = "$4.2M";
table.Rows[1].Cells[2].Paragraphs[0].Text = "+12%";
table.Rows[2].Cells[0].Paragraphs[0].Text = "Europe";
table.Rows[2].Cells[1].Paragraphs[0].Text = "$3.1M";
table.Rows[2].Cells[2].Paragraphs[0].Text = "+8%";
table.Rows[3].Cells[0].Paragraphs[0].Text = "Asia Pacific";
table.Rows[3].Cells[1].Paragraphs[0].Text = "$2.7M";
table.Rows[3].Cells[2].Paragraphs[0].Text = "+15%";
table.Style = WordTableStyle.GridTable4Accent1;
document.Save();
Compatibility
| Target Framework | Supported |
|---|
| .NET 10.0 | Yes |
| .NET 8.0 | Yes |
| .NET Standard 2.0 | Yes |
| .NET Framework 4.7.2 | Yes |
OfficeIMO.Word runs on Windows, Linux, and macOS. It produces standard .docx files intended for Word and other OOXML-capable editors.