TrvFileExportFilter, TrvFileSaveFilter, TrvFileExportFilterSet, TrvFileSaveFilterSet Types

<< Click to display table of contents >>

TrvFileExportFilter, TrvFileSaveFilter, TrvFileExportFilterSet, TrvFileSaveFilterSet Types

Types for Filter property of "Save As" and "Export" actions.

Unit RichViewActions;

type

  TrvFileExportFilter = (ffeRVF, ffeRTF, ffeXML, ffeTextANSI,

    ffeTextUnicode, ffeCustom, ffeDocX, ffeMarkdown, ffeHTMLCSS, 

    ffeHTML, ffeOfficeConverters);

  TrvFileSaveFilter = ffeRVF..ffeHTMLCSS;

  TrvFileExportFilterSet = set of TrvFileExportFilter;

  TrvFileSaveFilterSet   = set of TrvFileSaveFilter;

The declaration above includes the full set of values, but the actual declaration depends on the third-party tools used in the project.

Value

File Type

ffeRVF

RichView Format (RVF)

ffeRTF

Rich Text Format (RTF)

ffeXML

Format of RichViewXML (XML)

ffeTextANSI

Text files (TXT). The action asks user to select encoding (from Windows code pages, UTF-8, UTF-16)

ffeTextUnicode

Unicode (UTF-16) text files (TXT)

ffeCustom

Custom file formats defined in CustomFilter property of the corresponding action

ffeHTMLCSS

HTML files (HTM, HTML) saved by TCustomRichViewEdit.SaveHTMLEx method

ffeHTML

Simplified HTML files (HTM, HTML) saved by TCustomRichViewEdit.SaveHTML method

ffeMarkdown

Markdown (MARKDOWN, MDOWN, MKDN, MD, MKD, MDWN, MDTXT, MDTEXT)

ffeDocX

Microsoft Word 2007+ Format (DocX)

ffeOfficeConverters

Formats supported by Microsoft Office text export converters

See also:

TrvActionSaveAs.Filter

TrvActionExport.Filter