<< Click to display table of contents >> TCustomRichView.RVFWarnings (read-only) |
Information about the last performed RVF reading operation.
type
TRVFWarning = (
rvfwUnknownPicFmt, rvfwUnknownCtrls,
rvfwConvUnknownStyles, rvfwConvLargeImageIdx,
rvfwConvToUnicode, rvfwConvFromUnicode,
rvfwInvalidPicture, rvfwUnknownCtrlProperties, rvfwConvUnits);
TRVFWarnings = set of TRVFWarning;
property RVFWarnings: TRVFWarnings;
Note: TRVFWarning and TRVFWarnings are defined in RVStyle unit.
You can use this property to know about warnings or errors that may be occurred during the last reading from RVF.
Depending on RichView.RVFOptions some cases could be considered as warnings (and reading method was successfully finished) or errors.
Warning |
Meaning |
---|---|
rvfwUnknownPicFmt |
Pictures of unknown classes exist in RVF. See rvfoIgnoreUnknownPicFmt. |
rvfwUnknownCtrls |
Controls of unknown classes exist in RVF. See rvfoIgnoreUnknownCtrls. |
rvfwConvLargeImageIdx |
Bullets or hotspots with too large image indices exist in RVF. See rvfoConvLargeImageIdxToZero. |
rvfwConvUnknownStyles |
Text, paragraph or list styles with too large indices exist in RVF. See rvfoConvUnknownStylesToZero. |
rvfwConvToUnicode rvfwConvFromUnicode |
There was a conversion from ANSI text in RVF file to Unicode in RichView or vice versa. This is a result of loading RVF file with set of styles different from one which was used when saving. A conversion is performed automatically, without generating errors. |
rvfwInvalidPicture |
Some pictures were replaced with InvalidPicture. |
rvfwUnknownCtrlProperties |
There was error when reading inserted controls (for example, unknown properties) |
rvfwConvUnits |
RVF file has different units than Style.Units, and a conversion of units was made. This warning is not set if units were changed because of rvfoCanChangeUnits included in RVFOptions. A conversion is performed automatically, without generating errors. |
See RVF Overview for details.
Methods reading RVF:
▪LoadRVF.
Methods of RichViewEdit reading RVF:
(also PasteRVF and Paste, but in this version you can't detect when Clipboard reading operation is finished).