Text content provides the content model for text objects. Viewing them is the responsibility of another component, text views.
In order to maintain a clear separation of concerns between the various types of text object, and the layout requirements of text views, two classes are provided:
MLayDoc provides information about the character and paragraph formatting applied to runs of identically formatted characters
MFormatText provides an interface to set formats and to maintain format layers in an optimal way
These interfaces are implemented by CGlobalText and CRichText.
Text content and views are fully integrated with printing. The header and footer for a document is specified in terms of rich text, with fields available to give the page number. Text views supports printing to either a view or to a preview. Print settings may be stored in the same store as the text content.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.