Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



How to use styles

Paragraph styles are encapsulated by the RParagraphStyleInfo, CParagraphStyle and CStyleList classes. These three classes should be used as follows:

Styles may be specified as usually applying to one paragraph only. For example, after a user has just typed in a heading in a Word processor, they will expect the style of the following paragraph to be normal text, not another heading. This 'following style' can be set either in the constructor of RParagraphStyleInfo or set using CStyleList::SetStyleToFollow after it has been appended to the style list.