TdxRichEditDocumentFormat Enum
Enumerates document formats available in Rich Edit components.
#Declaration
TdxRichEditDocumentFormat = (
Undefined,
PlainText,
Rtf,
Html,
OpenXml,
Doc
);
#Members
Name | Description |
---|---|
Undefined
|
The document format is undefined. Document import routines iterate through all supported formats to find the best possible match in the target content. Document export routines use the Options. |
Plain
|
The plain text format (TXT). Use a Rich Edit component’s Options. |
Rtf
|
The Rich Text format (RTF). Use a Rich Edit component’s Options. |
Html
|
The Hyper Rich Edit components have no web browser or HTML editor functionality because they do not work with HTML tags directly. HTML import routines interpret tags in a source document and build an internal document model according to the current import settings. Important HTML import and export routines support only a limited subset of the modern HTML standard; therefore, imported and exported documents may look different compared to corresponding source documents. |
Open
|
The Office Open |
Doc
|
The document binary file format (DOC, the Microsoft Word® format, used as the default document format in Microsoft Office® 2003 and earlier versions). Use a Rich Edit component’s Options. |
#Remarks
Note
Tdx
is a scoped enumeration type. Use the type name together with a scope resolution token (.
in Delphi or ::
in C++Builder) followed by an enumeration value to refer to this value. For example, use Tdx
(in Delphi) or Tdx
(in C++Builder) to refer to the Rtf
value in code.
#Direct TdxRichEditDocumentFormat Type References
The following public properties reference the TdxRichEditDocumentFormat
type:
- TdxDocumentSaveOptions.CurrentFormat
- Specifies the document format used to overwrite an existing file with the document opened in a Rich Edit component.
- TdxDocumentSaveOptions.DefaultFormat
- Specifies the default format for new documents.