officefileapi-devexpress-dot-xtrarichedit-dot-documentformat-36e7f55e.md
The OpenDocument text format (.odt, implemented by OpenOffice.org office suite).
Namespace : DevExpress.XtraRichEdit
Assembly : DevExpress.RichEdit.v25.2.Core.dll
NuGet Package : DevExpress.RichEdit.Core
[Browsable(false)]
public static readonly DocumentFormat OpenDocument
<Browsable(False)>
Public Shared ReadOnly OpenDocument As DocumentFormat
| Type | Description |
|---|---|
| DocumentFormat |
A document format.
|
The following code snippets (auto-collected from DevExpress Examples) contain references to the OpenDocument field.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
word-document-api-automatic-document-conversion-on-web-server/CS/Program.cs#L51
dictF.Add(DocumentFormat.ePub, "epub");
dictF.Add(DocumentFormat.OpenDocument, "odt");
dictF.Add(DocumentFormat.WordML, "xml");
reporting-winforms-export-doc-odt/CS/WindowsFormsApplication1/Form1.cs#L50
void barItem_ItemClick3(object sender, ItemClickEventArgs e) {
ExportToDOC("odt", DocumentFormat.OpenDocument);
}
word-document-api-automatic-document-conversion-on-web-server/VB/Program.vb#L46
dictF.Add(DocumentFormat.ePub, "epub")
dictF.Add(DocumentFormat.OpenDocument, "odt")
dictF.Add(DocumentFormat.WordML, "xml")
reporting-winforms-export-doc-odt/VB/WindowsFormsApplication1/Form1.vb#L50
Private Sub barItem_ItemClick3(ByVal sender As Object, ByVal e As ItemClickEventArgs)
ExportToDOC("odt", DocumentFormat.OpenDocument)
End Sub
See Also