rvico TRichView Reference | TRVStyle | TCustomRVFontInfo

TCustomRVFontInfo.Options

Top  Previous  Next

Options for exporting text of this style to RTF and HTML.

type

  TRVTextOption = (rvteoHTMLCode, rvteoRTFCode);

  TRVTextOptions = set of TRVTextOption;

 

property NextStyleNo: Integer;

(introduced in version 1.6)

Option

Meaning

rvteoRTFCode

If set, '{', '}', '\' are saved in RTF as they are.

Example: set this option, write text of this style: '\animtext1 Viva Las Vegas', copy to RTF and paste in MS Word.

rvteoHTMLCode

If set, '&', '<', '>', and multiple spaces are saved in HTML as they are.

Example: set this option, write text of this style: '<marquee width=200>Attention. Spaceship is arriving at the Second Terminal.</marquee>', save as HTML and open in web browser.

Text with rvteoHTMLCode is not saved in RTF.

Text with rvteoRTFCode is not saved in HTML.

Text with both these options is saved both in HTML and RTF.

Default value:

[]

See also:

TCustomRichView.SaveRTF;
About HTML export.


RichView © Sergey Tkachenko