rvico TRichView Reference | Item Types

Footnotes

Top  Previous  Next

Footnote looks like number (numbering type is specified in TRVStyle.FootnoteNumbering). Footnote contains subdocument. This subdocument is not displayed in TCustomRichView where the footnote is inserted, but it can be printed. Subdocuments for all footnotes are printed at the bottom of page where this footnote occurs. TRichView cannot print text for footnote on several pages.

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

Style of this item type: rvsFootnote (-203)

Methods of TCustomRichView

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

AddItem (create TRVFootnoteItemInfo object, add it using AddItem)

The following method returns TRVFootnoteItemInfo object

GetItem

Methods of TCustomRichViewEdit

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

InsertItem (create TRVFootnoteItemInfo object, insert it using InsertItem)

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

GetCurrentItem.

Saving and Loading

Export to HTML

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

RTF

Footnotes can be exported in RTF.

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


RichView © Sergey Tkachenko