CSmilParser Class Reference
class CSmilParser : public CBase
|
SMIL2 semantical parser class
Nested Classes and Structures
Constructor & Destructor Documentation
CSmilParser()
CSmilParser
|
(
|
)
|
[private]
|
~CSmilParser()
~CSmilParser
|
(
|
)
|
[virtual]
|
Member Functions Documentation
AttributeValueL(const TDesC &, const TDesC &)
void
|
AttributeValueL
|
(
|
const
TDesC
&
|
aName,
|
|
const
TDesC
&
|
aValue
|
|
)
|
|
AttributesEndL(TInt)
void
|
AttributesEndL
|
(
|
TInt
|
aCount
|
)
|
|
BeginElementL(const TDesC &)
void
|
BeginElementL
|
(
|
const
TDesC
&
|
aName
|
)
|
|
CheckSystemAttribute(const TDesC &, const TDesC &)
ConstructL(MSmilPlayer *)
void
|
ConstructL
|
(
|
MSmilPlayer
*
|
aPlayer
|
)
|
[private, virtual]
|
EndElementL(const TDesC &)
void
|
EndElementL
|
(
|
const
TDesC
&
|
aName
|
)
|
|
NewL(MSmilPlayer *)
Parser phase one constructor
Takes the player interface object as a parameter. This interface is used by the parser for reporting parse errors and for getting values of the content control attributes. It is also passed to the created presentation object.
ParseColor(const TDesC &, TBool &)
IMPORT_C
TRgb
|
ParseColor
|
(
|
const
TDesC
&
|
aString,
|
|
TBool
&
|
aTransparent
|
|
)
|
[static]
|
Parses a CSS2 style color value ("red", "green", "#ffcc44", ...) The aTransparent flag is set if the parsing fails
ParseL(const TDesC &, const TDesC &)
Parses the given SMIL source, constructing the presentation object. The given base URL is used for resolving the URLs in the presentation.
Verbose parse error messages are available through the
MSmilPlayer
interface.
ParseL(const CMDXMLDocument *, const TDesC &)
Parses the given SMIL document, constructing the presentation object. The given base URL is used for resolving the URLs in the presentation.
ParseTimeListL(const TDesC &, TBool)
void
|
ParseTimeListL
|
(
|
const
TDesC
&
|
aString,
|
|
TBool
|
aBegin
|
|
)
|
[private]
|
SetMaxDownUpScaling(TReal32, TReal32)
Enables the layout scaling. This functionality shrinks the layout so that it fits the screensize while maintaining the original aspect ratio. Images and other media is not scaled unless scaling is is enabled by the fit attribute of the region element of the source document.
StringToIntValue(const TDesC &, TInt)
TInt
|
StringToIntValue
|
(
|
const
TDesC
&
|
aString,
|
|
TInt
|
aDefault
|
|
)
|
[private, static]
|
StringToRealValue(const TDesC &, TReal32)
Member Enumerations Documentation
Enum TParseState
Enumerators
EInitial
|
|
ESmil
|
|
EHead
|
|
ELayout
|
|
ELayoutFinished
|
|
EHeadFinished
|
|
EBody
|
|
EBodyFinished
|
|
ESmilFinished
|
|
Member Data Documentation
CSmilRegion * iCurrentRegion
CSmilTransition * iCurrentTransition
TInt
iIgnoreDepth
TInt
|
iIgnoreDepth
|
[private]
|
CLinkedList< Namespace > * iNamespaces
TPtrC
iParamName
TPtrC
|
iParamName
|
[private]
|
TPtrC
iParamValue
TPtrC
|
iParamValue
|
[private]
|
CSmilPresentation * iPresentation
TBool
iScalingEnabled
TBool
|
iScalingEnabled
|
[private]
|
TBool
iSkipContent
TBool
|
iSkipContent
|
[private]
|
CLinkedList< Switch > * iSwitchStack
CSmilTimeContainer * iTimeContainer
TInt
iTimegraphSize
TInt
|
iTimegraphSize
|
[private]
|
TBool
iUnknownElement
TBool
|
iUnknownElement
|
[private]
|
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.