CSymbolList Class Reference
| class CSymbolList : public CBase |
| Public Member Functions |
|---|
| ~CSymbolList() |
| void | ChangeSymbolTextL(const TDesC &, const TDesC &, const THwrUdmRange &) |
|
TBool
| CheckSymbolModel(const TDesC &, const THwrUdmRange &) |
| void | DeleteSymbolModelL(const TDesC &, const THwrUdmRange &) |
| void | ExternalizeL() |
| void | GetAllPresetSymbolsL(RArray< TUint > &) |
| void | GetModelIndexListL(RArray< TInt > &, const THwrUdmRange &) |
| void | GetModelTextListL(RPointerArray< HBufC > &, const THwrUdmRange &) |
| void | GetPresetSymbolByUnicodeL(TUint, RArray< TPoint > &, TDes &) |
|
TInt
| GetSymbolDataRef(TInt, TPtrC &, RArray< TPoint > &, TInt &, TInt &) |
| void | GetSymbolModelL(const TDesC &, RArray< TPoint > &, TUint &, const THwrUdmRange &) |
|
CSymbolList * | NewL(const TDesC &, CSymbolList *) |
| void | SavePresetShortcutL(TUint, const TDesC &) |
| void | SetSymbolModelL(const TDesC &, const RArray< TPoint > &, TInt, TInt, const THwrUdmRange &) |
Constructor & Destructor Documentation
CSymbolList(CSymbolList *)
Member Functions Documentation
ChangeSymbolTextL(const TDesC &, const TDesC &, const THwrUdmRange &)
Change the text of an existing symbol model
Parameters
| const TDesC & aOldText | The text of an existing symbol model |
| const TDesC & aNewText | The new text of the symbol model |
| const THwrUdmRange & aRange | The range this symbol belongs to |
CheckSymbolModel(const TDesC &, const THwrUdmRange &)
ConstructL(const TDesC &)
| void | ConstructL | ( | const TDesC & | aFilePath | ) | [private] |
Symbian 2nd phase constructor.
Parameters
| const TDesC & aFilePath | The file which contain the symbol model |
DeleteSymbolModelL(const TDesC &, const THwrUdmRange &)
GetAllPresetSymbolsL(RArray< TUint > &)
Return all unicodes of preset text stored in PTI engine
Parameters
| RArray< TUint > & aPresets | All preset text's unicodes are stored in this array. |
GetModelIndexListL(RArray< TInt > &, const THwrUdmRange &)
Get the index array that matched the aRange
Parameters
| RArray< TInt > & aList | The index array of the matched symbols. |
| const THwrUdmRange & aRange | The range this symbol belongs to |
GetModelTextListL(RPointerArray< HBufC > &, const THwrUdmRange &)
Get text list of all the symbol models
GetPresetSymbolByUnicodeL(TUint, RArray< TPoint > &, TDes &)
Get trails assigned to a preset text.
Parameters
| TUint aUnicode | The unicode of the preset text. |
| RArray< TPoint > & aModel | Store trails of the preset text. |
| TDes & aShortcut | Indicate whether the preset text has been assigned to a shortcut text. If KNullDesC, it is not in use. |
GetSymbolDataRef(TInt, TPtrC &, RArray< TPoint > &, TInt &, TInt &)
Get the symbol contents for the specified index
Parameters
| TInt aIndex | The index array of the matched symbols. |
| TPtrC & aSymbolName | The name of the symbol |
| RArray< TPoint > & aModel | The stroke for the symbol |
| TInt & aHelpLine | |
| TInt & aBaseLine | |
GetSymbolIndex(const TDesC &, TInt &, const THwrUdmRange &)
Get the index for the specified aText & aRange.
Parameters
| const TDesC & aText | The text of a symbol model |
| TInt & aIndex | To store the index of the symbol model |
| const THwrUdmRange & aRange | The range this symbol belongs to |
GetSymbolModelL(const TDesC &, RArray< TPoint > &, TUint &, const THwrUdmRange &)
Parameters
| const TDesC & aChar | |
| RArray< TPoint > & aModel | Array of points where the symbol's model is stored. |
| TUint & aUnicode | |
| const THwrUdmRange & aRange | The range this symbol belongs to |
InternalizeL(const TDesC &)
| void | InternalizeL | ( | const TDesC & | aFile | ) | [private] |
NewL(const TDesC &, CSymbolList *)
SavePresetShortcutL(TUint, const TDesC &)
| void | SavePresetShortcutL | ( | TUint | aUnicode, |
| | const TDesC & | aShortcut |
| | ) | |
Parameters
| TUint aUnicode | The assigned preset text. |
| const TDesC & aShortcut | The shortcut to be save. |
SetSymbolModelL(const TDesC &, const RArray< TPoint > &, TInt, TInt, const THwrUdmRange &)
Parameters
| const TDesC & aText | Set text for this symbol |
| const RArray< TPoint > & aModel | Array of points where the character's model is stored. |
| TInt aHelpLine | |
| TInt aBaseLine | |
| const THwrUdmRange & aRange | |
SignalMutex(TAny *)
| void | SignalMutex | ( | TAny * | aMutex | ) | [private, static] |
Member Data Documentation
HBufC * iFilePath
|
HBufC * | iFilePath | [private] |
CSymbolList * iPresetModels
RPointerArray< CSymbol > iSymbolList
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.