|
|
Top Previous Next |
|
TRVOfficeConverter allows using text converters from Microsoft Office with RichViews, for importing and exporting files in different formats. Unit RVOfficeCnv; Syntax TRVOfficeConverter = class (TComponent) (introduced in version 1.6) Hierarchy TObject TPersistent TComponent How to Use There are two types of converters: for importing and for exporting files. Export converters convert RTF (Rich Text Format) to other formats, import converters convert different formats to RTF. Lists of available converters are in ImportConverters and ExportConverters properties. If there are no converters installed, converters lists are empty. Note: some converters are shipped with Windows. GetImportFilter and GetExportFilter return strings for assigning to Filter property of file-selection dialogs. There are two modes for using this components.
While converting, the component generates OnConverting event. If PreviewMode property is set to True, converters do their work silently, without displaying any dialogs. They can also produce lower quality results in this mode (that depends on converter). Demo projects
|