OfficeIMO.Word.OpenDocument
3.2.1
Prefix Reserved
dotnet add package OfficeIMO.Word.OpenDocument --version 3.2.1
NuGet\Install-Package OfficeIMO.Word.OpenDocument -Version 3.2.1
<PackageReference Include="OfficeIMO.Word.OpenDocument" Version="3.2.1" />
<PackageVersion Include="OfficeIMO.Word.OpenDocument" Version="3.2.1" />
<PackageReference Include="OfficeIMO.Word.OpenDocument" />
paket add OfficeIMO.Word.OpenDocument --version 3.2.1
#r "nuget: OfficeIMO.Word.OpenDocument, 3.2.1"
#:package OfficeIMO.Word.OpenDocument@3.2.1
#addin nuget:?package=OfficeIMO.Word.OpenDocument&version=3.2.1
#tool nuget:?package=OfficeIMO.Word.OpenDocument&version=3.2.1
OfficeIMO.Word.OpenDocument
OfficeIMO.Word.OpenDocument converts between the OfficeIMO Word and ODT object models. Conversion is explicit and returns a feature-mapping report so callers can inspect approximated, skipped, or unsupported source features.
using OfficeIMO.Word;
using OfficeIMO.Word.OpenDocument;
using OfficeIMO.OpenDocument;
using WordDocument word = WordDocument.Load("input.docx", readOnly: true);
OdfConversionResult<OdtDocument> result = word.ToOpenDocumentResult();
result.Value.Save("output.odt");
foreach (OdfConversionMapping mapping in result.Report.Mappings) {
Console.WriteLine($"{mapping.Feature}: {mapping.Status} ({mapping.Count})");
}
The adapter maps ordered body blocks, headings, paragraphs, alignment, indentation, spacing, shading, font family, common run formatting, hyperlinks, lists, tables and merges, embedded inline images, page layout, page breaks, bookmarks, and default headers and footers. Mixed ODT text, spans, hyperlinks, images, and bookmark markers are consumed in document order. Nested inline markup that does not have an exact typed mapping is flattened with an explicit inline-formatting approximation instead of being reported as exact.
The report calls out omitted table and image-layout details as well as tracked changes, section-specific layout, alternate headers/footers, footnotes, fields, charts, content controls, and other source features that cannot be represented directly. Use ToOpenDocumentResult or ToWordDocumentResult for evidence-bearing conversion, and set the options' LossPolicy to ThrowOnAnyLoss for strict workflows.
Dependency footprint
- External: None.
- OfficeIMO:
OfficeIMO.WordandOfficeIMO.OpenDocument; the adapter only owns feature mapping and fidelity reports.
See the complete OfficeIMO package map for related formats and conversion paths.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 is compatible. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 4.7.2
- OfficeIMO.Core (>= 3.2.1)
- OfficeIMO.OpenDocument (>= 3.2.1)
- OfficeIMO.Word (>= 3.2.1)
-
.NETStandard 2.0
- OfficeIMO.Core (>= 3.2.1)
- OfficeIMO.OpenDocument (>= 3.2.1)
- OfficeIMO.Word (>= 3.2.1)
-
net10.0
- OfficeIMO.Core (>= 3.2.1)
- OfficeIMO.OpenDocument (>= 3.2.1)
- OfficeIMO.Word (>= 3.2.1)
-
net8.0
- OfficeIMO.Core (>= 3.2.1)
- OfficeIMO.OpenDocument (>= 3.2.1)
- OfficeIMO.Word (>= 3.2.1)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on OfficeIMO.Word.OpenDocument:
| Package | Downloads |
|---|---|
|
OfficeIMO.OpenDocument.Pdf
Direct loss-aware OpenDocument text, spreadsheet, and presentation to PDF adapters. |
|
|
OfficeIMO.OpenDocument.Odt.Pdf
Bidirectional, loss-aware ODT and PDF conversion through the Word semantic engine. |
GitHub repositories
This package is not used by any popular GitHub repositories.