MParser Class Reference
Public Member Functions
|
void
|
ActivateThisTextL
(const
CRichText
&,
TInt
,
TInt
)
|
IMPORT_C
TBool
|
ConfirmCursorOverTag
(const
CRichText
&,
TInt
,
TInt
,
TInt
)
|
const
TDesC
&
|
CreateDoItText
(const
CRichText
&,
TInt
,
TInt
)
|
IMPORT_C void
|
GetRecogniseFormat
(
TCharFormat
&)
|
IMPORT_C void
|
GetRolloverFormat
(
TCharFormat
&)
|
IMPORT_C void
|
MParser_Reserved_2
()
|
TBool
|
ParseThisText
(const
CRichText
&,
TBool
,
TInt
,
TInt
,
TInt
&,
TInt
&)
|
IMPORT_C
TBool
|
ReformatOnRecognise
()
|
IMPORT_C
TBool
|
ReformatOnRollover
()
|
void
|
Release
()
|
Member Functions Documentation
ActivateThisTextL(const CRichText &, TInt, TInt)
void
|
ActivateThisTextL
|
(
|
const
CRichText
&
|
aTextObj,
|
|
TInt
|
aStartText,
|
|
TInt
|
aLength
|
|
)
|
[pure virtual]
|
ConfirmCursorOverTag(const CRichText &, TInt, TInt, TInt)
This confirmation routine is called by the parsing framework when it's logic determines the cursor is over a tag. It gives the parser a chance to override the default cursor-tag rollover matching. This is not necessary if the default behaviour is acceptable. It is called from the
CRichText::CursorOverTag()
when the framework tests for format redraw when over a tag and
CRichText::OverrideFormatForParsersIfApplicable()
when Tagma is formatting text.
Parameters
const
CRichText
& aTextObj
|
A reference to the text document tag is within.
|
TInt
aTagStart
|
The document position of the first tag character.
|
TInt
aTagLen
|
The number of characters in the tag.
|
TInt
aCurPos
|
The cursor position used in calculation of calling routines.
|
CreateDoItText(const CRichText &, TInt, TInt)
GetRecogniseFormat(TCharFormat &)
IMPORT_C void
|
GetRecogniseFormat
|
(
|
TCharFormat
&
|
aFormat
|
)
|
[virtual]
|
GetRolloverFormat(TCharFormat &)
IMPORT_C void
|
GetRolloverFormat
|
(
|
TCharFormat
&
|
aFormat
|
)
|
[virtual]
|
MParser_Reserved_2()
IMPORT_C void
|
MParser_Reserved_2
|
(
|
)
|
[virtual]
|
ParseThisText(const CRichText &, TBool, TInt, TInt, TInt &, TInt &)
ReformatOnRecognise()
IMPORT_C
TBool
|
ReformatOnRecognise
|
(
|
)
|
const [virtual]
|
ReformatOnRollover()
IMPORT_C
TBool
|
ReformatOnRollover
|
(
|
)
|
const [virtual]
|
Release()
void
|
Release
|
(
|
)
|
[pure virtual]
|
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.