TCustomRVFontInfo.Options

<< Click to display table of contents >>

TCustomRVFontInfo.Options

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

type

  TRVTextOption = (rvteoHTMLCode, rvteoRTFCode, rvteoDocXCode,

    rvteoDocXInRunCode, rvteoHidden);

  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. A spaceship is arriving at the Second Terminal.</marquee>', save as HTML and open in web browser.

rvteoDocXCode

If set, text of this style is saved to DocX as it is (converted to UTF-8), in place of <w:r>. No character properties are saved.

rvteoDocXInRunCode

If set, text of this style is saved to DocX as it is (converted to UTF-8) in place of <w:t> (inside <w:r>).

rvteoHidden

If set, this text is hidden. Hidden text is displayed only if rvoShowHiddenText is included in RichView.Options

All "code" options are mutually exclusive. If two or more different "code" options are included, text of this style is not saved in any of RTF, HTML, DocX.

If the both rvteoDocXCode and rvteoDocXInRunCode are specified, rvteoDocXCode is used.

Default value:

[]

See also:

TCustomRichView.SaveRTF;

TCustomRichView.SaveDocX;

About HTML export.