|
TRichView document can contain items of the following types: text, pictures, hot-pictures, bullets, hotspots, controls, list markers, tables.
| ▪ | Text can have different styles. Each text item has its index in the collection of text styles. Style defines a font of text item, some additional effects (such as background color, vertical offset (for subscripts/superscripts), overline), has some properties affecting editing. Text style can be hypertext; for hypertext you can define additional properties such as mouse cursor and hover color. Style also defines whether the text is in ANSI or Unicode encoding. |
| ▪ | Tabulators are used instead of TAB (#9) characters. |
| ▪ | "Hot Pictures": the same as pictures, but they are also hypertext links. |
| ▪ | "Bullets" are pictures from ImageList. Bullets provide an easy and efficient way for adding many similar "standard" pictures in the document. You can use any number of ImageLists (these bullets have no relation to paragraph bullets and numbering; see list markers). |
| ▪ | "Hotspots" are bullets-"hypertext links". They can have two pictures: normal and "hot" (for highlighting effect under the mouse pointer) |
| ▪ | Controls: You can use any Delphi/C++Builder control merged in text. |
| ▪ | Tables arrange subitems in rows and columns. |
| ▪ | Labels are non-text items looking like text. |
| ▪ | Numbered sequences allow to insert numbered fields (like "Fig. 1", "Fig. 2", ...) in text. |
Non-text items have an associated string referred in this help as a "name of item". RichView does not use names itself, use them for your own purposes.
Items are organized in paragraphs. You can define your paragraph styles with different left, right and first line indents, with left, right, center or left-right alignment.
All information above can be saved and loaded to stream, file, database field or clipboard in special format (RVF). You can also export document as HTML, RTF file or print it (See export to html).
Internally, all item types are implemented as classes. Standard item types are implemented in unit RVItem.
Detailed description of item types is beyond the scope of this help file.
All item types are classes derived from one base class - TCustomRVItemInfo.
See also: detailed overview of item types
|