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 &)
voidGetBBox(TGfxRectangle2D &)
TInt GetLength()
TInt GetOrgLength()
voidGetText(TDes &)
voidGetUnscaledBBox(TGfxRectangle2D &)
TFloatFixPt Height()
voidInitializeL()
TBool IsEditable()
TBool IsViewable()
voidLocalizedArrangeTextL(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 *)
voidPrint(TBool)
voidRemoveText(const TDesC &)
TFloatFixPt Rx()
TFloatFixPt Ry()
TInt SetAttributeDesL(const TInt, const TDesC &)
TInt SetAttributeFloatL(const TInt, const TFloatFixPt)
TInt SetAttributeL(const TDesC &, const TDesC &)
voidSetEditable(const TDesC &)
voidSetFileOffset(TInt)
voidSetOrgLength(TInt)
voidSetTextAreaDimensions(TFloatFixPt, TFloatFixPt, TFloatFixPt, TFloatFixPt)
voidSetTextL(const TDesC &)
TFloatFixPt Width()
TFloatFixPt X()
TFloatFixPt Y()
Protected Member Functions
voidCopyL(CSvgTextAreaElementImpl *)
Private Member Functions
CSvgTextAreaElementImpl(CSvgDocumentImpl *)
voidConstructL(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)

voidConstructL(const TUint8aElemID)[private]

Need method description

Since
1.0

Parameters

const TUint8 aElemID

CopyL(CSvgTextAreaElementImpl *)

voidCopyL(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 TIntaNameId,
TPtrC16 &aValue
)[virtual]

Need method description

Since
1.0

Parameters

const TInt aNameId
TPtrC16 & aValue

GetAttributeFloat(const TInt, TFloatFixPt &)

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

Need method description

Since
1.0

Parameters

const TInt aNameId
TFloatFixPt & aValue

GetBBox(TGfxRectangle2D &)

voidGetBBox(TGfxRectangle2D &aBbox)[virtual]

Need method description

Since
1.0

Parameters

TGfxRectangle2D & aBbox

GetLength()

TInt GetLength()

GetOrgLength()

TInt GetOrgLength()[inline]

GetText(TDes &)

voidGetText(TDes &allText)

Parameters

TDes & allText

GetUnscaledBBox(TGfxRectangle2D &)

voidGetUnscaledBBox(TGfxRectangle2D &)[virtual]

Need method description

Since
1.0

Parameters

TGfxRectangle2D &

Height()

TFloatFixPt Height()

Need method description

Since
1.0

InitializeL()

voidInitializeL()

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 *)

voidLocalizedArrangeTextL(CGfx2dGc *aGc)

Parameters

CGfx2dGc * aGc

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

TBool MouseEntered(RPointerArray< CSvgElementImpl > &aElements,
TIntaX,
TIntaY
)

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,
TIntaX,
TIntaY
)

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,
TIntaX,
TIntaY
)

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,
TIntaX,
TIntaY
)

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,
TIntaX,
TIntaY
)

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 TUint8aElemID,
CSvgDocumentImpl *aDoc
)[static]

Need method description

Since
1.0

Parameters

const TUint8 aElemID
CSvgDocumentImpl * aDoc

NewLC(const TUint8, CSvgDocumentImpl *)

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

Need method description

Since
1.0

Parameters

const TUint8 aElemID
CSvgDocumentImpl * aDoc

Print(TBool)

voidPrint(TBoolaIsEncodeOn)[virtual]

Parameters

TBool aIsEncodeOn

RemoveText(const TDesC &)

voidRemoveText(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 TIntaNameId,
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 TIntaNameId,
const TFloatFixPtaValue
)[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 &)

voidSetEditable(const TDesC &aValue)

Parameters

const TDesC & aValue

SetFileOffset(TInt)

voidSetFileOffset(TIntaOffset)[inline]

Parameters

TInt aOffset

SetOrgLength(TInt)

voidSetOrgLength(TIntaOrgLength)[inline]

Parameters

TInt aOrgLength

SetTextAreaDimensions(TFloatFixPt, TFloatFixPt, TFloatFixPt, TFloatFixPt)

voidSetTextAreaDimensions(TFloatFixPtaX,
TFloatFixPtaY,
TFloatFixPtaWidth,
TFloatFixPtaHeight
)

Need method description

Since
1.0

Parameters

TFloatFixPt aX
TFloatFixPt aY
TFloatFixPt aWidth
TFloatFixPt aHeight

SetTextL(const TDesC &)

voidSetTextL(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]