Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Style behaviour

The style of a paragraph may be changed with a call to the function CRichText::ApplyParagraphStyleL(). This function may also optionally remove the specific paragraph or character formatting that exists on the specified paragraphs. Do this by specifying an appropriate value for the CParagraphStyle::TApplyParaStyleMode argument.

Where specific formatting exists on a paragraph that has a style applied, the specific formatting always overrides the style formatting. For example, if the style sets bold character formatting and right-alignment of the paragraph, specific character formatting can be used to specify certain parts of the text as non-bold, and specific paragraph formatting can set the alignment to centre-aligned.

Two styles may not simultaneously apply to one paragraph. The style applied first will cease to apply as soon as the second style is applied.