|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. --> |
|
3 <!-- This component and the accompanying materials are made available under the terms of the License |
|
4 "Eclipse Public License v1.0" which accompanies this distribution, |
|
5 and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". --> |
|
6 <!-- Initial Contributors: |
|
7 Nokia Corporation - initial contribution. |
|
8 Contributors: |
|
9 --> |
|
10 <!DOCTYPE concept |
|
11 PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd"> |
|
12 <concept id="GUID-E0D10091-1F66-428A-919C-BE8C95DEACD1" xml:lang="en"><title>Paragraph |
|
13 Styles</title><shortdesc>A style is a collection of format attributes which are based on |
|
14 the global format layers, and are uniquely identified by a name. </shortdesc><prolog><metadata><keywords/></metadata></prolog><conbody> |
|
15 <p>In addition, styles are characterized by an outline level, a type, and, |
|
16 optionally, by a style to use for the following paragraph. The outline level |
|
17 is used to determine which headings should be shown when in document outline |
|
18 view mode. The type, represented by a UID, is used to differentiate between |
|
19 the system-provided styles, which are built in to the word processor and cannot |
|
20 be deleted, and user defined styles, which may be deleted. By default, a paragraph |
|
21 style's type is initialized to <codeph>KUserDefinedParagraphStyleUid</codeph>. |
|
22 </p> |
|
23 <p>Another style type which may be encountered is <codeph>KNormalParagraphStyleUid</codeph>. |
|
24 This type is used to distinguish the Normal paragraph style from all other |
|
25 styles. This is necessary because the Normal paragraph style is not a <codeph>CParagraphStyle</codeph> object, |
|
26 but a <codeph>CParaFormatLayer</codeph>, and represents the global |
|
27 paragraph format layer upon which all styles are based. </p> |
|
28 <p>Symbian supports paragraph styles only. Character styles are not supported. |
|
29 This means that a style must be applied to entire paragraphs, although both |
|
30 character and paragraph format attributes may be set in the style. Paragraph |
|
31 styles cannot be used in global text, and their use in rich text is optional.</p> |
|
32 </conbody></concept> |