rvico TRichView Reference | Item Types

Endnotes

Top  Previous  Next

Endnote looks like number (numbering type is specified in TRVStyle.EndnoteNumbering). Endnote contains subdocument. This subdocument is not displayed in TCustomRichView where the endnote is inserted, but it can be printed. Subdocuments for all endnotes are printed after the main document.

Class for this item type is TRVEndnoteItemInfo  (see for detailed information).

Style of this item type: rvsEndnote (-204)

Methods of TCustomRichView

The following viewer-style method adds item of this type to the end of the document:

AddItem (create TRVEndnoteItemInfo object, add it using AddItem)

The following method returns TRVEndnoteItemInfo object

GetItem

Methods of TCustomRichViewEdit

The following editor-style method inserts item of this type in the position of caret:

InsertItem (create TRVEndnoteItemInfo object, insert it using InsertItem)

The following method returns TRVEndnoteItemInfo object at the position of caret:

GetCurrentItem.

Saving and Loading

Export to HTML

Subdocuments for all endnotes are saved after the main document. Before each subdocument, <a name="endnoteN"></a> is inserted, where N is an index of this endnote (in the list of all numbered sequences, footnotes and endnotes). Endnotes are saved as hyperlinks to this anchor.

RTF

Endnotes can be exported in RTF.

You can set RTFReadProperties.IgnoreNotes to True, and endnotes will not be imported from RTF.


RichView © Sergey Tkachenko