class RTmParFormat |
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 Functions | |
---|---|
RTmParFormat() | |
const TTmParBorder * | Border(TBorderIndex) |
const TTmBullet * | Bullet() |
IMPORT_C void | Close() |
IMPORT_C void | CopyL(const RTmParFormat &) |
IMPORT_C void | CopyL(const CParaFormat &) |
IMPORT_C void | GetCParaFormatL(CParaFormat &) |
IMPORT_C TBool | HaveBorders() |
TBool | RightToLeft() |
const TTmTab & | Tab(TInt) |
IMPORT_C TInt | Tabs() |
TBool | operator!=(const RTmParFormat &) |
IMPORT_C TBool | operator==(const RTmParFormat &) |
Private Member Functions | |
---|---|
RTmParFormat(const RTmParFormat &) | |
void | operator=(const RTmParFormat &) |
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 } |
Private Attributes | |
---|---|
TTmParBorder * | iBorder |
TTmBullet * | iBullet |
RArray< TTmTab > * | iTabList |
RTmParFormat | ( | const RTmParFormat & | aFormat | ) | [private] |
const RTmParFormat & aFormat |
const TTmParBorder * | Border | ( | TBorderIndex | aIndex | ) | const [inline] |
Returns a pointer to the border selected by aIndex. Returns null if the selected border is not present.
TBorderIndex aIndex |
const TTmBullet * | Bullet | ( | ) | const [inline] |
Returns a pointer to the TTmBullet object if any. Returns null if the RTmParFormat does not contain a TTmBullet.
IMPORT_C void | CopyL | ( | const RTmParFormat & | aFormat | ) |
const RTmParFormat & aFormat |
IMPORT_C void | CopyL | ( | const CParaFormat & | aFormat | ) |
const CParaFormat & aFormat |
IMPORT_C void | GetCParaFormatL | ( | CParaFormat & | aFormat | ) | const |
CParaFormat & aFormat |
TBool | RightToLeft | ( | ) | const [inline] |
Returns true if the paragraph's base direction is right-to-left.
const TTmTab & | Tab | ( | TInt | aIndex | ) | const [inline] |
Returns a reference to the tab selected by aIndex.
TInt aIndex |
TBool | operator!= | ( | const RTmParFormat & | aFormat | ) | const [inline] |
The inequality operator. Returns true if this object and aFormat differ in any way.
const RTmParFormat & aFormat |
void | operator= | ( | const RTmParFormat & | aFormat | ) | [private] |
const RTmParFormat & aFormat |
IMPORT_C TBool | operator== | ( | const RTmParFormat & | aFormat | ) | const |
const RTmParFormat & aFormat |
Bit assignments for RTmParFormat::iFlags.
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. |
Paragraph alignment
EAlignNormalBidirectional | |
EAlignNormal = EAlignNormalBidirectional | |
EAlignCenter |
in 7.0s |
EAlignReverseBidirectional | |
EAlignReverse = EAlignReverseBidirectional | |
EAlignJustify |
in 7.0s |
EAlignAbsoluteLeft | |
EAlignAbsoluteRight |
Index used to select one of the four borders of a paragraph
ETopBorder = 0 | |
EBottomBorder = 1 | |
ELeadingBorder = 2 | |
ETrailingBorder = 3 |