FCohtmlTextInputMethodContextGeneric

Inherits from ITextInputMethodContext

Inherited by FCohtmlTextInputMethodContextWin8AndAbove

Public Functions

Name
FCohtmlTextInputMethodContextGeneric(class FCohtmlIMEManager * imeManager)
virtual~FCohtmlTextInputMethodContextGeneric()

Protected Functions

Name
voidInvalidateIMEManager()
cohtml::View *GetView()
boolIsIMEManagerValid()
virtual boolIsReadOnly() override
virtual boolIsComposing() override
virtual uint32GetTextLength() override
virtual voidGetSelectionRange(uint32 & BeginIndex, uint32 & Length, ECaretPosition & CaretPosition) override
virtual voidSetSelectionRange(const uint32 BeginIndex, const uint32 Length, const ECaretPosition CaretPosition) override
virtual voidGetTextInRange(const uint32 BeginIndex, const uint32 Length, FString & OutString) override
virtual voidSetTextInRange(const uint32 BeginIndex, const uint32 Length, const FString & InString) override
virtual int32GetCharacterIndexFromPoint(const FVector2D & Point) override
virtual boolGetTextBounds(const uint32 BeginIndex, const uint32 Length, FVector2D & Position, FVector2D & Size) override
virtual voidGetScreenBounds(FVector2D & Position, FVector2D & Size) override
virtual TSharedPtr< FGenericWindow >GetWindow() override
virtual voidBeginComposition() override
virtual voidUpdateCompositionRange(const int32 InBeginIndex, const uint32 InLength) override
virtual voidEndComposition() override

Protected Attributes

Name
class FCohtmlIMEManager *IMEManager
int32CompositionBeginIndex
uint32CompositionLength
FStringCompositionString
boolbIsComposing

Friends

Name
classFCohtmlIMEManager

Public Functions Documentation

function FCohtmlTextInputMethodContextGeneric

inline FCohtmlTextInputMethodContextGeneric(
    class FCohtmlIMEManager * imeManager
)

function ~FCohtmlTextInputMethodContextGeneric

inline virtual ~FCohtmlTextInputMethodContextGeneric()

Protected Functions Documentation

function InvalidateIMEManager

void InvalidateIMEManager()

function GetView

cohtml::View * GetView()

function IsIMEManagerValid

bool IsIMEManagerValid()

function IsReadOnly

virtual bool IsReadOnly() override

function IsComposing

virtual bool IsComposing() override

function GetTextLength

virtual uint32 GetTextLength() override

Reimplemented by: FCohtmlTextInputMethodContextWin8AndAbove::GetTextLength

function GetSelectionRange

virtual void GetSelectionRange(
    uint32 & BeginIndex,
    uint32 & Length,
    ECaretPosition & CaretPosition
) override

function SetSelectionRange

virtual void SetSelectionRange(
    const uint32 BeginIndex,
    const uint32 Length,
    const ECaretPosition CaretPosition
) override

function GetTextInRange

virtual void GetTextInRange(
    const uint32 BeginIndex,
    const uint32 Length,
    FString & OutString
) override

Reimplemented by: FCohtmlTextInputMethodContextWin8AndAbove::GetTextInRange

function SetTextInRange

virtual void SetTextInRange(
    const uint32 BeginIndex,
    const uint32 Length,
    const FString & InString
) override

Reimplemented by: FCohtmlTextInputMethodContextWin8AndAbove::SetTextInRange

function GetCharacterIndexFromPoint

virtual int32 GetCharacterIndexFromPoint(
    const FVector2D & Point
) override

function GetTextBounds

virtual bool GetTextBounds(
    const uint32 BeginIndex,
    const uint32 Length,
    FVector2D & Position,
    FVector2D & Size
) override

function GetScreenBounds

virtual void GetScreenBounds(
    FVector2D & Position,
    FVector2D & Size
) override

function GetWindow

virtual TSharedPtr< FGenericWindow > GetWindow() override

function BeginComposition

virtual void BeginComposition() override

Reimplemented by: FCohtmlTextInputMethodContextWin8AndAbove::BeginComposition

function UpdateCompositionRange

virtual void UpdateCompositionRange(
    const int32 InBeginIndex,
    const uint32 InLength
) override

function EndComposition

virtual void EndComposition() override

Reimplemented by: FCohtmlTextInputMethodContextWin8AndAbove::EndComposition

Protected Attributes Documentation

variable IMEManager

class FCohtmlIMEManager * IMEManager;

variable CompositionBeginIndex

int32 CompositionBeginIndex;

variable CompositionLength

uint32 CompositionLength;

variable CompositionString

FString CompositionString;

variable bIsComposing

bool bIsComposing;

Friends

friend FCohtmlIMEManager

friend class FCohtmlIMEManager;