TCustomRVData, TCustomRVFormattedData and Others (TRichView Documents)

<< Click to display table of contents >>

TCustomRVData, TCustomRVFormattedData and Others (TRichView Documents)

These classes represent RichView documents. Documents contain a list of items. Some items may, in each order, contain subdocuments.

Class

Unit*

Meaning

TCustomRVData

CRVData

Basic class for TRichView documents.

TCustomRVFormattedData

CRVFData

Basic class for formatted TRichView documents (allows storing items coordinates).

TRVControlData

RVCtrlData

Basic class for documents owned by windowed control.

TRichViewRVData

RVRVData

Document in TRichView and TDBRichView, a class of RVData property of these components.

TRVEditRVData

RVERVData

Document in TRichViewEdit and TDBRichViewEdit, a class of RVData property of these components.

TRVTInplaceRVData

RVTInplace

Document in cell inplace editor, a class of of RVData property of cell inplace editors.

TRVItemFormattedData

RVDataList

Basic class for formatted subdocuments owned by items.

TRVTableCellData

RVTable

Table cell.

TRVSubData

RVSubData

Basic class for invisible documents owned by items.

TRVNoteData

RVNote

Document in footnote or endnote.

* these unit names are for VCL and LCL; for FireMonkey, unit names starts from "fmx", for example "fmxCRVData" instead of "CRVData".

This list does not include document classes used for printing.

Hierarchy

RVDataScheme

Overview

Special methods for TCustomRVData:

Edit;

GetRVData;

GetSourceRVData.

Special methods for TCustomRVFormattedData:

GetOriginEx.

These classes have many methods and properties similar to methods and properties in TRichView (what's why in this manual many links to RVData's methods refer to TRichView's methods).

For example, the methods for appending items:

(the links are to the corresponding methods of TRichView)

AddBreak,

AddBullet,

AddControl,

AddHotspot,

AddFmt, AddItem,

AddNL, AddTextNL,

AddPicture.

Obtaining information from cell:

GetItemStyle, GetItemText -A -W,

GetBreakInfo, GetBulletInfo, GetControlInfo, GetHotspotInfo, GetPictureInfo

GetItemTag, GetItemVAlign, IsParaStart, GetItemPara, IsFromNewLine

Modifying items:

SetBreakInfo, SetBulletInfo, SetControlInfo, SetHotspotInfo, SetPictureInfo, SetItemTag, SetItemVAlign, SetItemText -A -W

See also

Controls, Documents, Items