MPtiHwrRecognizer Class Reference
MHwrRecognizer class. Interface definiton for Hwr.
Member Functions Documentation
AddAuxiliaryRange(const TRecognitionRange &)
Appends an auxiliary range
EnableGuideline(const TBool)
TInt
| EnableGuideline | ( | const TBool | aFlag | ) | [pure virtual] |
Tell the HWR engine whether guideline is on.
Parameters
const TBool aFlag | ETrue to enable guideline, and EFalse to diable. |
EnableRecognitionDictionary(const TBool)
TInt
| EnableRecognitionDictionary | ( | const TBool | aFlag | ) | [pure virtual] |
Tell the engine whether to use dictionary when doing reconition.
Parameters
const TBool aFlag | ETrue to enable recognition dictionary, and EFalse to diable. |
EnableWordRecognition(const TBool)
void | EnableWordRecognition | ( | const TBool | aFlag | ) | [pure virtual] |
Enable or disable word recognition
Parameters
const TBool aFlag | The word recognition flag, ETrue if enable word recognition, otherwise EFalse |
GetAuxCandidateNum()
TInt
| GetAuxCandidateNum | ( | ) | const [pure virtual] |
Retrieve the current each secondary candidate number need to be returned each time
GetBottomGuideLinePos(TInt &)
void | GetBottomGuideLinePos | ( | TInt & | aPos | ) | [pure virtual] |
Set position of HWR bottom guideline
Parameters
TInt & aPos | Position to be set |
GetCandidateNum()
TInt
| GetCandidateNum | ( | ) | const [pure virtual] |
Retrieve the current primary candidate number need to be returned each time
GetDictVersion(TDes &)
TInt
| GetDictVersion | ( | TDes & | aVersion | ) | [pure virtual] |
Retrieve an ASCII string that describes the version information of the basic recognition dictionary
Parameters
TDes & aVersion | Contains recognition dictionary version string on return |
GetEngineVersion(TDes &)
TInt
| GetEngineVersion | ( | TDes & | aVersion | ) | [pure virtual] |
Retrieve an ASCII string that describes the version information of the current HWR engine
Parameters
TDes & aVersion | Contains the engine version string on return |
GetRange()
Get current recognition range of hwr engine
GetTopGuideLinePos(TInt &)
void | GetTopGuideLinePos | ( | TInt & | aPos | ) | [pure virtual] |
Set position of HWR top guideline
Parameters
TInt & aPos | Position to be set |
McrAddStrokesL(const RArray< TPoint > &, RPointerArray< HBufC > &)
Get the character candidates from the HWR engine based on the input strokes by MCR
Parameters
const RArray< TPoint > & aTraceData | The array of pen trace points, each stroke is ended by stroke end mark |
RPointerArray< HBufC > & aResult | Candidate buffer array |
McrBeginSessionL()
void | McrBeginSessionL | ( | ) | [pure virtual] |
Tell the engine that a new MCR session has been started.
McrEndSessionL(RPointerArray< HBufC > &)
Tell the engine that a new MCR session need to be ended, return the last result.
QueryUdmInterfaceL()
Retrieve MTruiEngine interface pointer if the derived engine support UDM feature.
Recognize(const RArray< TPoint > &, RPointerArray< HBufC > &)
Get the character candidates from the HWR engine based on the input strokes
Parameters
const RArray< TPoint > & aTraceData | The array of pen trace points, each stroke is ended by stroke end mark |
RPointerArray< HBufC > & aResult | Candidate buffer array |
RecognizeWithCharSet(const RArray< TPoint > &, RPointerArray< HBufC > &, const TDesC &)
Get the character candidates from the HWR engine based on the input strokes
Parameters
const RArray< TPoint > & aTraceData | The array of pen trace points, each stroke is ended by stroke end mark |
RPointerArray< HBufC > & aResult | Candidate buffer array |
const TDesC & aCharSet | The small charset that primary range candidate should come from |
RemoveAllAuxRange()
void | RemoveAllAuxRange | ( | ) | [pure virtual] |
Remove all auxiliary recognition ranges
RemoveAuxiliaryRange(TInt)
TInt
| RemoveAuxiliaryRange | ( | TInt | aIndex | ) | [pure virtual] |
Remove an specified auxiliary recognition range.
Parameters
TInt aIndex | The index of auxiliary range to be deleted |
SetAuxCandidateNum(TInt)
TInt
| SetAuxCandidateNum | ( | TInt | aNumber | ) | [pure virtual] |
Set the number of each secondary candidates the HWR engine should return each time
Parameters
TInt aNumber | The number of each secondary candidates that HWR engine should return each time |
SetCandidateNum(TInt)
TInt
| SetCandidateNum | ( | TInt | aNumber | ) | [pure virtual] |
Set the number of primary candidate candidates the HWR engine should return each time
Parameters
TInt aNumber | The number of primary candidates that HWR engine should return each time |
SetFirstLetterOrder(const TLatinLetterOrder)
Specify whether small case or upper case letter will be the first one in candidate list when the first two letters are the same if case is ignored
Parameters
const TLatinLetterOrder aOrder | EUpperFirst if user wants upper case letter in the first, otherwise ELowerFirst |
SetInputAreaSize(TSize &)
TInt
| SetInputAreaSize | ( | TSize & | aSize | ) | [pure virtual] |
Tell the HWR engine about the size of the writing area used to input character
Parameters
TSize & aSize | The size of writing area |
SetNumberMode(const TAknEditorNumericKeymap)
SetPermittedSymbolSet(const TDesC &)
void | SetPermittedSymbolSet | ( | const TDesC & | aSymbolSet | ) | [pure virtual] |
Set permitted recognized character set
Parameters
const TDesC & aSymbolSet | Permitted recognized character set |
SetRange(const TRecognitionRange &)
Set Hwr to given recognition range
SetScreenSize(TSize &)
TInt
| SetScreenSize | ( | TSize & | aSize | ) | [pure virtual] |
Tell the HWR engine about the size of the touch screen
Parameters
TSize & aSize | The size of touch screen |
StrokeEndMark()
TPoint
| StrokeEndMark | ( | ) | const [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.