rvico TRichView Reference | Types

TRVReaderStyleMode Type

Top  Previous  Next

Unit RVStyle;

type

  TRVReaderStyleMode = 

    (rvrsUseSpecified, rvrsUseClosest, rvrsAddIfNeeded);

Defines modes for loading formatting from RTF.

Mode

Meaning

rvrsUseSpecified

All character/paragraph formatting in RTF will be ignored, all text/paragraphs will be formatted with the specified style.

rvrsUseClosest

RTF formatting will be mapped to the the most similar existing style. New styles will not be added.

rvrsAddIfNeeded

This mode provides the most closer look to the original RTF. RichView will try to use existing styles as much as possible, but if style with the desired formatting does not exist, RichView will create and use a new style.

See TRichView.RTFReadProperties.TextStyleMode and ParaStyleMode.


TRichView © trichview.com