1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies). |
1 /* |
2 // All rights reserved. |
2 * Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies). |
3 // This component and the accompanying materials are made available |
3 * All rights reserved. |
4 // under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members |
4 * This component and the accompanying materials are made available |
5 // which accompanies this distribution, and is available |
5 * under the terms of "Eclipse Public License v1.0" |
6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html". |
6 * which accompanies this distribution, and is available |
7 // |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
8 // Initial Contributors: |
8 * |
9 // Nokia Corporation - initial contribution. |
9 * Initial Contributors: |
10 // |
10 * Nokia Corporation - initial contribution. |
11 // Contributors: |
11 * |
12 // |
12 * Contributors: |
13 // Description: |
13 * |
14 // |
14 * Description: |
|
15 * |
|
16 */ |
|
17 |
15 |
18 |
16 #ifndef __TXTSTYLE_H__ |
19 #ifndef __TXTSTYLE_H__ |
17 #define __TXTSTYLE_H__ |
20 #define __TXTSTYLE_H__ |
18 |
21 |
19 #include <e32std.h> |
22 #include <e32std.h> |
20 #include <e32base.h> |
23 #include <e32base.h> |
21 #include <txtfmlyr.h> |
24 #include <txtfmlyr.h> |
22 |
25 |
|
26 #ifndef SYMBIAN_ENABLE_SPLIT_HEADERS |
|
27 #include <txtstyle_internal.h> |
|
28 #endif |
23 |
29 |
24 // Classes declared in this file: |
30 // Classes declared in this file: |
25 class CParagraphStyle; |
31 class CParagraphStyle; |
26 class CStyleTable; |
32 class CStyleTable; |
27 // |
33 // |
28 // Classes referenced in this file: |
34 // Classes referenced in this file: |
29 class RReadStream; |
35 class RReadStream; |
30 class RWriteStream; |
36 class RWriteStream; |
31 |
37 |
32 /** |
38 /** |
33 The maximum number of characters in a paragraph style name. |
39 The maximum number of characters in a paragraph style name. |
34 @internalAll |
40 It should not be used by external developers. |
35 */ |
41 */ |
36 const TInt KMaxParagraphStyleName=0x20; |
42 const TInt KMaxParagraphStyleName=0x20; |
37 |
43 |
38 |
44 |
39 /** |
45 /** |
40 The name of a paragraph style, with a maximum of 32 characters, to uniquely |
46 The name of a paragraph style, with a maximum of 32 characters, to uniquely |
41 identify the style. |
47 identify the style. |
42 @internalComponent |
48 It should not be used by external developers. |
43 */ |
49 */ |
44 typedef TBuf<KMaxParagraphStyleName> TParagraphStyleName; |
50 typedef TBuf<KMaxParagraphStyleName> TParagraphStyleName; |
45 |
|
46 /** |
|
47 @internalComponent |
|
48 */ |
|
49 const TUid KUserDefinedParagraphStyleUid={268435535}; |
|
50 |
|
51 |
51 |
52 // |
52 // |
53 // Defines a paragraph style, and the paragraph style to use next. |
53 // Defines a paragraph style, and the paragraph style to use next. |
54 |
54 |
55 |
55 |