MPtiEngineCompositionDataInterface Class Reference

#include <mw/PtiCompositionDataIF.h>

Link against: PtiEngine.lib

class MPtiEngineCompositionDataInterface
Public Member Enumerations
enumTPtiAttributeOfPhrase { EPtiAttributeTransitoryInput, EPtiAttributeNonTargetConvert, EPtiAttributeTargetConvert }
Public Member Functions
pure virtual IMPORT_C TPtrC8AttributeOfPhrase()
pure virtual IMPORT_C TPtrCCompletedString()
pure virtual IMPORT_C TPtrCConvertingString()
pure virtual IMPORT_C TIntCursorPosition()
pure virtual IMPORT_C TBoolIsModifiableCharacter()
pure virtual IMPORT_C TPtrC8LengthOfPhrase()
pure virtual IMPORT_C TIntNumberOfPhrase()
pure virtual IMPORT_C TPtrCReadingString()

Detailed Description

MPtiEngineCompositionDataInterface class. This is a class which returned by CPtiEngine::CompositionData() API.

Since
2.6

Member Enumeration Documentation

Enum TPtiAttributeOfPhrase

Member Function Documentation

AttributeOfPhrase ( )

IMPORT_C TPtrC8AttributeOfPhrase()const [pure virtual]
Gets the attribute of each phrase
Since
2.6

Returns: TPtrC8 : the arrary keeping the value of TPtiAttributeOfPhrase

CompletedString ( )

IMPORT_C TPtrCCompletedString()const [pure virtual]
Gets the specified string
Since
2.6

Returns: TPtrC : the completed string

ConvertingString ( )

IMPORT_C TPtrCConvertingString()const [pure virtual]
Gets the converting string
Since
2.6

Returns: TPtrC : the converting string

CursorPosition ( )

IMPORT_C TIntCursorPosition()const [pure virtual]
Gets a cursor position on converting string
Since
2.6

Returns: TInt : The current cursor position If the cursor is left side, the returned value is 0.

IsModifiableCharacter ( )

IMPORT_C TBoolIsModifiableCharacter()const [pure virtual]
Checking it whether a character in a current cursor position is in modifiable character. The modifiable character is diacritics and small characters. There are two diacritics marks in Japanese: viced sound mark and semi-voiced sound mark.
Since
2.6

Returns: TBool : ETrue is modifiable character.

LengthOfPhrase ( )

IMPORT_C TPtrC8LengthOfPhrase()const [pure virtual]
Gets the character count of each phrase
Since
2.6

Returns: TPtrC8 : the arrary keeping the character count

NumberOfPhrase ( )

IMPORT_C TIntNumberOfPhrase()const [pure virtual]
Gets the number of phrases on converting string
Since
2.6

Returns: TInt : the number of phrases

ReadingString ( )

IMPORT_C TPtrCReadingString()const [pure virtual]
Gets the reading string of the completed string
Since
2.6

Returns: TPtrC : the reading string