TDBRichViewEdit.FieldFormat

<< Click to display table of contents >>

TDBRichViewEdit.FieldFormat

Format for saving data in the database field.

property FieldFormat: TRVDBFieldFormat;

(introduced in version 1.6)

This property allows changing the field saving format to RVF (RichView Format), RTF, DocX, HTML, Markdown, or plain text.

Note: It is not guaranteed that document saved in RTF, DocX, HTML, Markdown and text will be the exactly same after reloading (some item types, text and paragraph attributes cannot be saved in RTF, DocX, HTML or plain text). To store all attributes of text and objects, use RVF format.

You can save data in your own format using OnSaveCustomFormat event.

The value rvdbMarkdown affects loading from field as well: if other formats are not detected, field content is loaded as Markdown instead of text (see also AllowMarkdown).

Default value:

rvdbRVF

 

See also

TRichViewEdit.Document.FieldFormat (for LiveBindings)