OpenDocument
Edit on GitHubCreate and edit ODT, ODS, and ODP files and connect them to Office and PDF adapters.
Install
dotnet add package OfficeIMO.OpenDocument
Create an ODT document
using OfficeIMO.OpenDocument;
using OdtDocument document = OdtDocument.Create();
document.AddHeading("Summary", 1);
document.AddParagraph("Created without LibreOffice or Office.");
document.Save("summary.odt");
The package also exposes OdsDocument for spreadsheets and OdpDocument for presentations. Add the focused Word, Excel, or PowerPoint OpenDocument adapter when the workflow needs bidirectional conversion; add OfficeIMO.OpenDocument.Pdf for PDF output.
Runtime boundary
The native package depends only on OfficeIMO.Drawing. It does not invoke LibreOffice, Microsoft Office, or UNO. Conversion diagnostics identify unsupported or approximated features so callers can enforce their own fidelity policy.
Browse the OpenDocument API reference for the complete model.