TRVHTMLSaveProperties.CSSSavingType

<< Click to display table of contents >>

TRVHTMLSaveProperties.CSSSavingType

Specifies how CSS styles are saved in HTML.

type // defined in RVStyle.pas
  TRVCSSSavingType = (
    rvcssstStyleSheet,
    rvcssstInline     
  );

 

property CSSSavingType: TRVCSSSavingType;

(introduced in version 21)

This property is used only if HTML is saved using CSS, i.e. HTMLSavingType = rvhtmlstNormal.

Value

Meaning

rvcssstStyleSheet

Styles are saved as a style sheet (and referred in "class" attributes of tags). Recommended.

By default, styles are saved in <style> tag. But if ExternalCSSFileName is defined, it is used instead.

rvcssstInline

Styles are saved inline (in "style" attributes of tags).

This option generates highly overbloated HTML. Not recommended.

This option may be useful when generating HTML that will be used as a part of larger HTML file.

Default value:

rvcssstStyleSheet