rvico TRichView Reference | Item Types | Table | Cell

Additional Properties and Methods of TRVTableCellData

Top  Previous  Next

TRVTableCellData has many properties and methods, similar to properties and methods of TRichView.

Some of them are listed below.

But when the cell is in editing state, RichViewEdit creates special inplace-editor and temporary moves all cell content to this editor.

To provide correct work with cell content both in normal and in editing state, call methods of cell.GetRVData instead of methods of the cell itself.

When working in editor, you seldom need to access cells' data directly, the most of operations can be performed using the methods that work with item at the caret position, read more.

See also: TRVTableItemInfo.Changed

Cell methods for appending items

(links are to the corresponding methods of TCustomRichView)

AddBreak, AddBreakEx, AddBreakExTag, AddBreakTag;

AddBulletEx, AddBulletExTag;

AddControlEx, AddControlExTag;

AddHotspotEx, AddHotspotExTag;

AddFmt, AddItem;

AddNL, AddNLTag, AddTextNL;

AddPictureEx, AddPictureExTag;

AddNLATag, AddNLWTag.

(note: it's not recommended to use the methods of the group above for cells of table inserted in TRichViewEdit, if editor's UndoLimit<>0)

Obtaining information from cell

GetItemStyle;

GetBreakInfo, GetBulletInfo, GetControlInfo, GetHotspotInfo, GetPictureInfo, GetTextInfo;

GetItemTag, IsParaStart, GetItemPara, IsFromNewLine, GetOffsBeforeItem, GetOffsAfterItem.

Modifying items

SetBreakInfo, SetBulletInfo, SetControlInfo, SetHotspotInfo, SetPictureInfo, SetItemTag.

(note: it's not recommended to use the methods of the group above for cells of table inserted in TRichViewEdit, if editor's UndoLimit<>0)


TRichView © trichview.com