CSvgTextAreaElementImpl Class Reference

class CSvgTextAreaElementImpl : public CSvgElementImpl

Class description goes here.

SVGEngine.lib
Since
1.0

Inherits from

Public Member Functions
~CSvgTextAreaElementImpl ()
MXmlElement * CloneL ( MXmlElement *)
TBool DrawL ( CGfx2dGc *, CSvgElementImpl *)
TBool DrawTextElements ( CGfx2dGc *, CSvgElementImpl *)
TInt FileOffset ()
TInt GetAttributeDes (const TInt , TPtrC16 &)
TInt GetAttributeFloat (const TInt , TFloatFixPt &)
void GetBBox ( TGfxRectangle2D &)
TInt GetLength ()
TInt GetOrgLength ()
void GetText ( TDes &)
void GetUnscaledBBox ( TGfxRectangle2D &)
TFloatFixPt Height ()
void InitializeL ()
TBool IsEditable ()
TBool IsViewable ()
void LocalizedArrangeTextL ( CGfx2dGc *)
TBool MouseEntered ( RPointerArray < CSvgElementImpl > &, TInt , TInt )
TBool MouseExited ( RPointerArray < CSvgElementImpl > &, TInt , TInt )
TBool MouseMoved ( RPointerArray < CSvgElementImpl > &, TInt , TInt )
TBool MousePressed ( RPointerArray < CSvgElementImpl > &, TInt , TInt )
TBool MouseReleased ( RPointerArray < CSvgElementImpl > &, TInt , TInt )
CSvgTextAreaElementImpl * NewL (const TUint8 , CSvgDocumentImpl *)
CSvgTextAreaElementImpl * NewLC (const TUint8 , CSvgDocumentImpl *)
void Print ( TBool )
void RemoveText (const TDesC &)
TFloatFixPt Rx ()
TFloatFixPt Ry ()
TInt SetAttributeDesL (const TInt , const TDesC &)
TInt SetAttributeFloatL (const TInt , const TFloatFixPt )
TInt SetAttributeL (const TDesC &, const TDesC &)
void SetEditable (const TDesC &)
void SetFileOffset ( TInt )
void SetOrgLength ( TInt )
void SetTextAreaDimensions ( TFloatFixPt , TFloatFixPt , TFloatFixPt , TFloatFixPt )
void SetTextL (const TDesC &)
TFloatFixPt Width ()
TFloatFixPt X ()
TFloatFixPt Y ()
Protected Member Functions
void CopyL ( CSvgTextAreaElementImpl *)
Private Member Functions
CSvgTextAreaElementImpl ( CSvgDocumentImpl *)
void ConstructL (const TUint8 )
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
CSvgElementImpl::AnimateMotionMatrixIndexL()
CSvgElementImpl::AnimateTransformMatrixIndexL()
CSvgElementImpl::AppendChildL(MXmlElement *,TBool)
CSvgElementImpl::AreAllAttributesAdded()
CSvgElementImpl::CSvgElementImpl()
CSvgElementImpl::CanGenerateInternalEvent(TUint16,TSvgEvent)
CSvgElementImpl::CloneSvgStylePropertiesL(CSvgElementImpl *,CSvgElementImpl *)
CSvgElementImpl::CopyL(CSvgElementImpl *)
CSvgElementImpl::CreateSvgTestL(const TUint16)
CSvgElementImpl::CurrentColor()
CSvgElementImpl::DeactivateAnimation()
CSvgElementImpl::DoAnimProcL(MSvgEvent *)
CSvgElementImpl::DrawShapeL(CGfx2dGc *,CSvgElementImpl *)
CSvgElementImpl::DrawShapeL(CGfx2dGc *,MGfxShape &,CSvgElementImpl *)
CSvgElementImpl::FindProperty(const TInt8,CCssValue *&)
CSvgElementImpl::FindProperty(const TInt8,CCssValue *&,CSvgElementImpl *)
CSvgElementImpl::GetAttributeIntL(const TInt,TInt32 &)
CSvgElementImpl::GetAttributePath(const TInt,CGfxGeneralPath *&)
CSvgElementImpl::GetCTM()
CSvgElementImpl::GetCurrentScale()
CSvgElementImpl::GetDefaultAttributeL(const TInt,CCssValue *&)
CSvgElementImpl::GetPathAttribute(TInt)
CSvgElementImpl::GetRequiredExtensions(const CDesCArrayFlat *&)
CSvgElementImpl::GetRequiredFeatures(const CDesCArrayFlat *&)
CSvgElementImpl::GetSvgStylePropertiesArray(RPointerArray< CCssValue > *&)
CSvgElementImpl::GetSystemLanguage(const CDesCArrayFlat *&)
CSvgElementImpl::GetTransform(MSvgTransformList *&)
CSvgElementImpl::HasAnimation()
CSvgElementImpl::HasAnyTests()
CSvgElementImpl::HasExtension(const TDesC &)
CSvgElementImpl::HasFeature(const TDesC &)
CSvgElementImpl::Href()
CSvgElementImpl::HrefPointer()
CSvgElementImpl::Id()
CSvgElementImpl::InitAllSvgStyleProperties(CSvgElementImpl *)
CSvgElementImpl::InitSvgJSRStyleProperties(CSvgElementImpl *)
CSvgElementImpl::InitSvgStyleProperties()
CSvgElementImpl::InitSvgStylePropertiesWithNullL()
CSvgElementImpl::InitializeL(TUint8)
CSvgElementImpl::IsAnimatedElement()
CSvgElementImpl::IsAnimating()
CSvgElementImpl::IsDrawable()
CSvgElementImpl::IsInherited(const TInt)
CSvgElementImpl::IsMouseDown()
CSvgElementImpl::IsMouseIn()
CSvgElementImpl::IsOverwriteTransforms()
CSvgElementImpl::IsSVGEnginePaused()
CSvgElementImpl::IsTransformable()
CSvgElementImpl::IsVisible()
CSvgElementImpl::PointToParent(const TInt)
CSvgElementImpl::PrintStyleProperties()
CSvgElementImpl::PropagateToChildren(CCssValue *,CCssValue *,const TInt)
CSvgElementImpl::ReInitializeAnimation()
CSvgElementImpl::ReceiveEventL(MSvgEvent *)
CSvgElementImpl::ReceiveEventL(MSvgEvent *,const TUint16)
CSvgElementImpl::RemoveAttribute(const TInt)
CSvgElementImpl::Reset(MSvgEvent *)
CSvgElementImpl::ResetReferenceAttrSet()
CSvgElementImpl::ResetReferenceElementL()
CSvgElementImpl::SetAllAttributesAdded(TBool)
CSvgElementImpl::SetAttributeIntL(const TInt,const TInt32)
CSvgElementImpl::SetAttributePathL(const TInt,CGfxGeneralPath *)
CSvgElementImpl::SetAttributePathRef(const TInt,CGfxGeneralPath *&)
CSvgElementImpl::SetCTM(TGfxAffineTransform &)
CSvgElementImpl::SetGCL(CGfx2dGc *)
CSvgElementImpl::SetIdandXmlbaseL(const TDesC &,const TDesC &)
CSvgElementImpl::SetIsAnimating(TBool)
CSvgElementImpl::SetLangSpaceAttributeL(const TDesC &,const TDesC &)
CSvgElementImpl::SetMouseDown(TBool)
CSvgElementImpl::SetMouseIn(TBool)
CSvgElementImpl::SetOverwriteTransforms(TBool)
CSvgElementImpl::SetPathAttribute(TInt,CGfxGeneralPath *)
CSvgElementImpl::SetPresentationAttribute(const TInt8,CCssValue *&)
CSvgElementImpl::SetPropertyFloatL(const TInt &,TReal32)
CSvgElementImpl::SetPropertyL(const TInt &,const TDesC &)
CSvgElementImpl::SetRequiredExtensions(CDesCArrayFlat *&)
CSvgElementImpl::SetRequiredFeatures(CDesCArrayFlat *&)
CSvgElementImpl::SetSystemLanguage(CDesCArrayFlat *&)
CSvgElementImpl::SetTestAttributeL(const TDesC &,const TDesC &)
CSvgElementImpl::SetTransform(MSvgTransformList *&)
CSvgElementImpl::SetTransform(const TDesC &,const TDesC &)
CSvgElementImpl::SetTransformList(TGfxAffineTransform &)
CSvgElementImpl::SetTurnOff(TBool)
CSvgElementImpl::SetUriRefDesL(const TUint16,const TDesC &)
CSvgElementImpl::SetXMLLangL(const TDesC &)
CSvgElementImpl::SetXMLSpaceL(const TDesC &)
CSvgElementImpl::SetXlinkAttributeL(const TDesC &,const TDesC &)
CSvgElementImpl::StyleInParent(CSvgElementImpl *,TInt)
CSvgElementImpl::UpdateCTM()
CSvgElementImpl::WasTurnedOff()
CSvgElementImpl::XMLLang()
CSvgElementImpl::XMLSpace()
CSvgElementImpl::XlinkShow()
CSvgElementImpl::~CSvgElementImpl()
CXmlElementImpl::CopyL(CXmlElementImpl *)
CXmlElementImpl::ElemID()
CXmlElementImpl::FirstChild()
CXmlElementImpl::HasChildNodes()
CXmlElementImpl::LastChild()
CXmlElementImpl::NextSibling()
CXmlElementImpl::OwnerDocument()
CXmlElementImpl::ParentNode()
CXmlElementImpl::PreviousSibling()
CXmlElementImpl::RemoveAttribute(const TDesC &)
CXmlElementImpl::RemoveChild(MXmlElement *)
CXmlElementImpl::SetFirstChild(MXmlElement *)
CXmlElementImpl::SetLastChild(MXmlElement *)
CXmlElementImpl::SetNextSibling(MXmlElement *)
CXmlElementImpl::SetOwnerDocument(MXmlDocument *)
CXmlElementImpl::SetParentNode(MXmlElement *)
CXmlElementImpl::TagName()
CXmlElementImpl::~CXmlElementImpl()
Public Attributes
TInt iOffset
TInt iOrgLength
Private Attributes
HBufC * iAllText
CSvgRectElementImpl * iBorderRectangle
CSvgLineElementImpl * iCursorElement
TInt iCursorPosition
TBool iEditable
TBool iInitialized
CSvgRectElementImpl * iInnerRectangle
TGfxRectangle2D iLastBBox
TBool iNeedTextRearrange
RPointerArray < CSvgTextElementImpl > * iTextElementsArray
Inherited Attributes
CSvgElementImpl::iAnimateAttrSet
CSvgElementImpl::iAnimateMotionMatrixIndex
CSvgElementImpl::iAnimateTransformMatrixIndex
CSvgElementImpl::iHasAnimationBase
CSvgElementImpl::iId
CSvgElementImpl::iReqAttrFlag
CSvgElementImpl::iSvgLangSpace
CSvgElementImpl::iSvgStyleProperties
CSvgElementImpl::iSvgTests
CSvgElementImpl::iSvgTransformable
CSvgElementImpl::iSvgUriReferenceImpl
CXmlElementImpl::iElemID
CXmlElementImpl::iFirstChild
CXmlElementImpl::iLastChild
CXmlElementImpl::iNextSibling
CXmlElementImpl::iOwnerDocument
CXmlElementImpl::iParentNode

Constructor & Destructor Documentation

CSvgTextAreaElementImpl(CSvgDocumentImpl *)

CSvgTextAreaElementImpl ( CSvgDocumentImpl * aDoc ) [private]

Need method description

Since
1.0

Parameters

CSvgDocumentImpl * aDoc

~CSvgTextAreaElementImpl()

~CSvgTextAreaElementImpl ( ) [virtual]

Need method description

Since
1.0

Member Functions Documentation

CloneL(MXmlElement *)

MXmlElement * CloneL ( MXmlElement * aParentElement )

Need method description

Since
1.0

Parameters

MXmlElement * aParentElement

ConstructL(const TUint8)

void ConstructL ( const TUint8 aElemID ) [private]

Need method description

Since
1.0

Parameters

const TUint8 aElemID

CopyL(CSvgTextAreaElementImpl *)

void CopyL ( CSvgTextAreaElementImpl * aDestElement ) [protected]

Need method description

Since
1.0

Parameters

CSvgTextAreaElementImpl * aDestElement

DrawL(CGfx2dGc *, CSvgElementImpl *)

TBool DrawL ( CGfx2dGc * aGc,
CSvgElementImpl * aElement
) [virtual]

Need method description

Since
1.0

Parameters

CGfx2dGc * aGc
CSvgElementImpl * aElement

DrawTextElements(CGfx2dGc *, CSvgElementImpl *)

TBool DrawTextElements ( CGfx2dGc * aGc,
CSvgElementImpl * aElement
)

Parameters

CGfx2dGc * aGc
CSvgElementImpl * aElement

FileOffset()

TInt FileOffset ( ) const [inline]

GetAttributeDes(const TInt, TPtrC16 &)

TInt GetAttributeDes ( const TInt aNameId,
TPtrC16 & aValue
) [virtual]

Need method description

Since
1.0

Parameters

const TInt aNameId
TPtrC16 & aValue

GetAttributeFloat(const TInt, TFloatFixPt &)

TInt GetAttributeFloat ( const TInt aNameId,
TFloatFixPt & aValue
) [virtual]

Need method description

Since
1.0

Parameters

const TInt aNameId
TFloatFixPt & aValue

GetBBox(TGfxRectangle2D &)

void GetBBox ( TGfxRectangle2D & aBbox ) [virtual]

Need method description

Since
1.0

Parameters

TGfxRectangle2D & aBbox

GetLength()

TInt GetLength ( )

GetOrgLength()

TInt GetOrgLength ( ) [inline]

GetText(TDes &)

void GetText ( TDes & allText )

Parameters

TDes & allText

GetUnscaledBBox(TGfxRectangle2D &)

void GetUnscaledBBox ( TGfxRectangle2D & ) [virtual]

Need method description

Since
1.0

Parameters

TGfxRectangle2D &

Height()

TFloatFixPt Height ( )

Need method description

Since
1.0

InitializeL()

void InitializeL ( )

IsEditable()

TBool IsEditable ( )

IsViewable()

TBool IsViewable ( ) [inline, virtual]

Return wether an svg element is displayable, such as <rect>, <circle>, or an abstract element, such as <g>, <animate>.

Since
1.0

LocalizedArrangeTextL(CGfx2dGc *)

void LocalizedArrangeTextL ( CGfx2dGc * aGc )

Parameters

CGfx2dGc * aGc

MouseEntered(RPointerArray< CSvgElementImpl > &, TInt, TInt)

TBool MouseEntered ( RPointerArray < CSvgElementImpl > & aElements,
TInt aX,
TInt aY
)

Notified when the mouse pointer enters a visible svg element.

Since
1.0 param : aElements -- SVG elements containing the mouse point. param : aX -- x coordinate of mouse pointer. param : aY -- y coordinate of mouse pointer.

Parameters

RPointerArray < CSvgElementImpl > & aElements
TInt aX
TInt aY

MouseExited(RPointerArray< CSvgElementImpl > &, TInt, TInt)

TBool MouseExited ( RPointerArray < CSvgElementImpl > & aElements,
TInt aX,
TInt aY
)

Notified when the mouse pointer exits a visible svg element.

Since
1.0 param : aElements -- SVG elements containing the mouse point. param : aX -- x coordinate of mouse pointer. param : aY -- y coordinate of mouse pointer.

Parameters

RPointerArray < CSvgElementImpl > & aElements
TInt aX
TInt aY

MouseMoved(RPointerArray< CSvgElementImpl > &, TInt, TInt)

TBool MouseMoved ( RPointerArray < CSvgElementImpl > & aElements,
TInt aX,
TInt aY
)

Notified when the mouse pointer exits a visible svg element.

Since
1.0 param : aElements -- SVG elements containing the mouse point. param : aX -- x coordinate of mouse pointer. param : aY -- y coordinate of mouse pointer.

Parameters

RPointerArray < CSvgElementImpl > & aElements
TInt aX
TInt aY

MousePressed(RPointerArray< CSvgElementImpl > &, TInt, TInt)

TBool MousePressed ( RPointerArray < CSvgElementImpl > & aElements,
TInt aX,
TInt aY
)

Notified when the mouse pointer is pressed down on visible svg element.

Since
1.0 param : aElements -- SVG elements containing the mouse point. param : aX -- x coordinate of mouse pointer. param : aY -- y coordinate of mouse pointer.

Parameters

RPointerArray < CSvgElementImpl > & aElements
TInt aX
TInt aY

MouseReleased(RPointerArray< CSvgElementImpl > &, TInt, TInt)

TBool MouseReleased ( RPointerArray < CSvgElementImpl > & aElements,
TInt aX,
TInt aY
)

Notified when the mouse pointer is released on on visible svg element.

Since
1.0 param : aElements -- SVG elements containing the mouse point. param : aX -- x coordinate of mouse pointer. param : aY -- y coordinate of mouse pointer.

Parameters

RPointerArray < CSvgElementImpl > & aElements
TInt aX
TInt aY

NewL(const TUint8, CSvgDocumentImpl *)

CSvgTextAreaElementImpl * NewL ( const TUint8 aElemID,
CSvgDocumentImpl * aDoc
) [static]

Need method description

Since
1.0

Parameters

const TUint8 aElemID
CSvgDocumentImpl * aDoc

NewLC(const TUint8, CSvgDocumentImpl *)

CSvgTextAreaElementImpl * NewLC ( const TUint8 aElemID,
CSvgDocumentImpl * aDoc
) [static]

Need method description

Since
1.0

Parameters

const TUint8 aElemID
CSvgDocumentImpl * aDoc

Print(TBool)

void Print ( TBool aIsEncodeOn ) [virtual]

Parameters

TBool aIsEncodeOn

RemoveText(const TDesC &)

void RemoveText ( const TDesC & aString )

Parameters

const TDesC & aString

Rx()

TFloatFixPt Rx ( )

Need method description

Since
1.0

Ry()

TFloatFixPt Ry ( )

Need method description

Since
1.0

SetAttributeDesL(const TInt, const TDesC &)

TInt SetAttributeDesL ( const TInt aNameId,
const TDesC & aValue
) [virtual]

Need method description

Since
1.0

Parameters

const TInt aNameId
const TDesC & aValue

SetAttributeFloatL(const TInt, const TFloatFixPt)

TInt SetAttributeFloatL ( const TInt aNameId,
const TFloatFixPt aValue
) [virtual]

Need method description

Since
1.0

Parameters

const TInt aNameId
const TFloatFixPt aValue

SetAttributeL(const TDesC &, const TDesC &)

TInt SetAttributeL ( const TDesC & aName,
const TDesC & aValue
) [virtual]

Need method description

Since
1.0

Parameters

const TDesC & aName
const TDesC & aValue

SetEditable(const TDesC &)

void SetEditable ( const TDesC & aValue )

Parameters

const TDesC & aValue

SetFileOffset(TInt)

void SetFileOffset ( TInt aOffset ) [inline]

Parameters

TInt aOffset

SetOrgLength(TInt)

void SetOrgLength ( TInt aOrgLength ) [inline]

Parameters

TInt aOrgLength

SetTextAreaDimensions(TFloatFixPt, TFloatFixPt, TFloatFixPt, TFloatFixPt)

void SetTextAreaDimensions ( TFloatFixPt aX,
TFloatFixPt aY,
TFloatFixPt aWidth,
TFloatFixPt aHeight
)

Need method description

Since
1.0

SetTextL(const TDesC &)

void SetTextL ( const TDesC & aText )

Parameters

const TDesC & aText

Width()

TFloatFixPt Width ( )

Need method description

Since
1.0

X()

TFloatFixPt X ( )

Need method description

Since
1.0

Y()

TFloatFixPt Y ( )

Need method description

Since
1.0

Member Data Documentation

HBufC * iAllText

HBufC * iAllText [private]

CSvgRectElementImpl * iBorderRectangle

CSvgRectElementImpl * iBorderRectangle [private]

CSvgLineElementImpl * iCursorElement

CSvgLineElementImpl * iCursorElement [private]

TInt iCursorPosition

TInt iCursorPosition [private]

TBool iEditable

TBool iEditable [private]

TBool iInitialized

TBool iInitialized [private]

CSvgRectElementImpl * iInnerRectangle

CSvgRectElementImpl * iInnerRectangle [private]

TGfxRectangle2D iLastBBox

TGfxRectangle2D iLastBBox [private]

TBool iNeedTextRearrange

TBool iNeedTextRearrange [private]

TInt iOffset

TInt iOffset

TInt iOrgLength

TInt iOrgLength

RPointerArray< CSvgTextElementImpl > * iTextElementsArray

RPointerArray < CSvgTextElementImpl > * iTextElementsArray [private]