TrvFileImportFilter, TrvFileOpenFilter, TrvFileImportFilterSet, TrvFileOpenFilterSet Types

<< Click to display table of contents >>

TrvFileImportFilter, TrvFileOpenFilter, TrvFileImportFilterSet, TrvFileOpenFilterSet Types

Types for Filter property of "Open" and "Insert File" actions.

Unit RichViewActions;

type

  TrvFileImportFilter = (ffiRVF, ffiRTF, ffiXML, ffiTextANSI,

    ffiTextUnicode, ffiTextAuto, ffiCustom, ffiDocX, ffiMarkdown,

    ffiHTML, ffiOfficeConverters);

  TrvFileOpenFilter = ffiRVF..ffiHTML;

  TrvFileImportFilterSet = set of TrvFileImportFilter;

  TrvFileOpenFilterSet   = set of TrvFileOpenFilter;

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

ffiXML can be used only if RichViewXML is used.

Value

File Type

ffiRVF

RichView Format (RVF)

ffiRTF

Rich Text Format (RTF)

ffiXML

Format of RichViewXML (XML)

ffiTextANSI

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

ffiTextUnicode

Unicode (UTF-16) text files (TXT)

ffiTextAuto

ANSI or Unicode (UTF-16) text files (TXT), autodetected

ffiCustom

Custom file formats defined in CustomFilter property of the corresponding action

ffiDocX

Microsoft Word 2007+ Format (DocX)

ffiMarkdown

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

ffiHTML

HTML files (HTM, HTML)

ffiOfficeConverters

Formats supported by Microsoft Office text export converters

See also:

TrvActionOpen.Filter

TrvActionInsertFile.Filter