RTmParFormat Class Reference
WARNING: this Class is for internal use ONLY. Compatibility is not guaranteed in future releases. Paragraph format; all dimensions are in twips unless otherwise specified.
| Public Member Enumerations |
|---|
| enum | anonymous { ERightToLeft = 1, EKeepTogether = 2, EKeepWithNext = 4, EStartNewPage = 8, EWidowOrphan = 16, ENoWrap = 32, EExactLineSpacing = 64, EPixelLineSpacing = 128, EDirectionalityFromText = 256 } |
| enum | TAlignment { EAlignNormalBidirectional, EAlignNormal = EAlignNormalBidirectional, EAlignCenter, EAlignReverseBidirectional, EAlignReverse = EAlignReverseBidirectional, EAlignJustify, EAlignAbsoluteLeft, EAlignAbsoluteRight } |
| enum | TBorderIndex { ETopBorder = 0, EBottomBorder = 1, ELeadingBorder = 2, ETrailingBorder = 3 } |
Constructor & Destructor Documentation
RTmParFormat(const RTmParFormat &)
Member Functions Documentation
Border(TBorderIndex)
Returns a pointer to the border selected by aIndex. Returns null if the selected border is not present.
CopyL(const RTmParFormat &)
CopyL(const CParaFormat &)
GetCParaFormatL(CParaFormat &)
| IMPORT_C void | GetCParaFormatL | ( | CParaFormat & | aFormat | ) | const |
HaveBorders()
| IMPORT_C TBool | HaveBorders | ( | ) | const |
Return TRUE if the paragraph has any borders.
RightToLeft()
|
TBool
| RightToLeft | ( | ) | const [inline] |
Returns true if the paragraph's base direction is right-to-left.
Tab(TInt)
Returns a reference to the tab selected by aIndex.
Tabs()
Return the number of tab stops stored in the object.
operator!=(const RTmParFormat &)
The inequality operator. Returns true if this object and aFormat differ in any way.
operator=(const RTmParFormat &)
operator==(const RTmParFormat &)
Member Enumerations Documentation
Enum anonymous
Enumerators
| ERightToLeft = 1 |
Base direction of paragraph is right-to-left (as for Arabic)
|
| EKeepTogether = 2 |
Do not allow paragraph to straddle page boundaries.
|
| EKeepWithNext = 4 |
Put this paragraph on the same page as the next.
|
| EStartNewPage = 8 |
Put this paragraph at the start of a new page.
|
| EWidowOrphan = 16 |
Suppress widows and orphans.
|
| ENoWrap = 32 |
Suppresses line breaking.
|
| EExactLineSpacing = 64 |
Force line spacing distance to be respected even on lines that are taller than the specified height.
|
| EPixelLineSpacing = 128 |
Line spaceing is in pixels, not twips.
|
| EDirectionalityFromText = 256 |
Work out paragraph directionality from the text.
|
Enum TAlignment
Enumerators
| EAlignNormalBidirectional | |
| EAlignNormal = EAlignNormalBidirectional | |
| EAlignCenter |
in 7.0s
|
| EAlignReverseBidirectional | |
| EAlignReverse = EAlignReverseBidirectional | |
| EAlignJustify |
in 7.0s
|
| EAlignAbsoluteLeft | |
| EAlignAbsoluteRight | |
Enum TBorderIndex
Index used to select one of the four borders of a paragraph
Enumerators
| ETopBorder = 0 | |
| EBottomBorder = 1 | |
| ELeadingBorder = 2 | |
| ETrailingBorder = 3 | |
Member Data Documentation
TLogicalRgb
iBackgroundColor
RArray< TTmTab > * iTabList
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.