TrvFileImportFilter, TrvFileOpenFilter, TrvFileImportFilterSet, TrvFileOpenFilterSet Types

Top  Previous  Next

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

Unit RichViewActions;

type

  TrvFileImportFilter = (ffiRVF, ffiRTF, ffiXML, ffiTextANSI, ffiTextUnicode,

    ffiTextAuto, ffiCustom, 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 is declared only if RichViewXML is used.

ffiHTML is declared only if RvHtmlImporter or RvHtmlViewImporter are used.

ffiHTML is included in TrvFileOpenFilter only if RvHtmlViewImporter is used.

Value

File Type

ffiRVF

RichView Format (RVF)

ffiRTF

Rich Text Format (RTF)

ffiXML

Format of RichViewXML (XML)

ffiTextANSI

ANSI text files (TXT)

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

ffiHTML

HTML files (HTM, HTML)

ffiOfficeConverters

Formats supported by Microsoft Office text export converters

See also:

TrvActionOpen.Filter

TrvActionInsertFile.Filter


RichView © Sergey Tkachenko