Back to Devexpress

DocumentFormat.OpenDocument Field

officefileapi-devexpress-dot-xtrarichedit-dot-documentformat-36e7f55e.md

latest3.2 KB
Original Source

DocumentFormat.OpenDocument Field

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

Declaration

csharp
[Browsable(false)]
public static readonly DocumentFormat OpenDocument
vb
<Browsable(False)>
Public Shared ReadOnly OpenDocument As DocumentFormat

Field Value

TypeDescription
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

csharp
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

csharp
void barItem_ItemClick3(object sender, ItemClickEventArgs e) {
    ExportToDOC("odt", DocumentFormat.OpenDocument);
}

word-document-api-automatic-document-conversion-on-web-server/VB/Program.vb#L46

vb
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

vb
Private Sub barItem_ItemClick3(ByVal sender As Object, ByVal e As ItemClickEventArgs)
    ExportToDOC("odt", DocumentFormat.OpenDocument)
End Sub

See Also

DocumentFormat Struct

DocumentFormat Members

DevExpress.XtraRichEdit Namespace