|
<< Click to display table of contents >> TRVRTFReaderProperties |
This is a type of TRichView.RTFReadProperties. It contains properties for controlling RTF and DocX import in TRichView and TRichViewEdit.
Do not create objects of this class yourself, use this property instead.
Unit [VCL/FMX] RVRTFProps / fmxRVRTFProps.
Syntax
TRVRTFReaderProperties = class (TPersistent)
The most important properties are:
The following properties allow to ignore some part of RTF/DocX content:
By default, hyperlinks targets are loaded in items tags. Use TCustomRichView.OnReadHyperlink to customize loading.
The following types of RTF pictures are supported (if IgnorePictures = False):
▪bitmaps (DIB and DDB);
▪metafiles (WMF and EMF) (in VCL version); if metafile contains only a bitmap, it can be loaded as TBitmap, see ExtractMetafileBitmaps;
▪JPEG images;
▪PNG images;
▪external images, loaded from files (TCustomRichView.OnImportPicture event occurs).
DocX may contain images of other types (such as GIF).