All docs
V21.1
21.2 (EAP/Beta)
21.1
20.2
20.1
The page you are viewing does not exist in version 20.1. This link will take you to the root page.
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

FlatOpcDocumentImporterOptions Class

Contains options used to load (import) the document in FlatOpc format (Microsoft Word XML Document, .xml).

Namespace: DevExpress.XtraRichEdit.Import

Assembly: DevExpress.RichEdit.v21.1.Core.dll

Declaration

[ComVisible(true)]
public class FlatOpcDocumentImporterOptions :
    OpenXmlDocumentImporterOptions

Remarks

The code sample below shows how to handle the BeforeImport event to specify FlatOpc import options:

private static void WordProcessor_BeforeImport(object sender, BeforeImportEventArgs e)
{
    if (e.DocumentFormat == DocumentFormat.FlatOpc)
    {
        //Do not update date fields:
        ((DevExpress.XtraRichEdit.Import.FlatOpcDocumentImporterOptions)e.Options).UpdateField.Date = false;
    }
}

Implements

See Also