LibreOffice Module vcl (master) 1
Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
SalI18N_InputContext Class Reference

#include <i18n_ic.hxx>

Collaboration diagram for SalI18N_InputContext:
[legend]

Public Member Functions

Bool UseContext () const
 
bool IsPreeditMode () const
 
XIC GetContext () const
 
void ExtendEventMask (::Window aFocusWindow)
 
void SetICFocus (SalFrame *pFocusFrame)
 
void UnsetICFocus ()
 
void HandleDestroyIM ()
 
void EndExtTextInput ()
 
void CommitKeyEvent (sal_Unicode const *pText, std::size_t nLength)
 
int UpdateSpotLocation ()
 
void Map (SalFrame *pFrame)
 
void Unmap ()
 
 SalI18N_InputContext (SalFrame *aFrame)
 
 ~SalI18N_InputContext ()
 

Private Member Functions

bool SupportInputMethodStyle (XIMStyles const *pIMStyles)
 
bool IsSupportedIMStyle (XIMStyle n_style) const
 

Static Private Member Functions

static unsigned int GetWeightingOfIMStyle (XIMStyle n_style)
 

Private Attributes

Bool mbUseable
 
XIC maContext
 
XIMStyle mnSupportedPreeditStyle
 
XIMStyle mnStatusStyle
 
XIMStyle mnPreeditStyle
 
preedit_data_t maClientData
 
XIMCallback maPreeditStartCallback
 
XIMCallback maPreeditDoneCallback
 
XIMCallback maPreeditDrawCallback
 
XIMCallback maPreeditCaretCallback
 
XIMCallback maCommitStringCallback
 
XIMCallback maSwitchIMCallback
 
XIMCallback maDestroyCallback
 
XVaNestedList mpAttributes
 
XVaNestedList mpStatusAttributes
 
XVaNestedList mpPreeditAttributes
 

Detailed Description

Definition at line 27 of file i18n_ic.hxx.

Constructor & Destructor Documentation

◆ SalI18N_InputContext()

SalI18N_InputContext::SalI18N_InputContext ( SalFrame aFrame)

◆ ~SalI18N_InputContext()

SalI18N_InputContext::~SalI18N_InputContext ( )

Member Function Documentation

◆ CommitKeyEvent()

void SalI18N_InputContext::CommitKeyEvent ( sal_Unicode const *  pText,
std::size_t  nLength 
)

◆ EndExtTextInput()

void SalI18N_InputContext::EndExtTextInput ( )

◆ ExtendEventMask()

void SalI18N_InputContext::ExtendEventMask ( ::Window  aFocusWindow)

◆ GetContext()

XIC SalI18N_InputContext::GetContext ( ) const
inline

Definition at line 60 of file i18n_ic.hxx.

References maContext.

◆ GetWeightingOfIMStyle()

static unsigned int SalI18N_InputContext::GetWeightingOfIMStyle ( XIMStyle  n_style)
staticprivate

◆ HandleDestroyIM()

void SalI18N_InputContext::HandleDestroyIM ( )

◆ IsPreeditMode()

bool SalI18N_InputContext::IsPreeditMode ( ) const
inline

Definition at line 59 of file i18n_ic.hxx.

References Active, preedit_data_t::eState, and maClientData.

◆ IsSupportedIMStyle()

bool SalI18N_InputContext::IsSupportedIMStyle ( XIMStyle  n_style) const
private

◆ Map()

void SalI18N_InputContext::Map ( SalFrame pFrame)

◆ SetICFocus()

void SalI18N_InputContext::SetICFocus ( SalFrame pFocusFrame)

◆ SupportInputMethodStyle()

bool SalI18N_InputContext::SupportInputMethodStyle ( XIMStyles const *  pIMStyles)
private

◆ Unmap()

void SalI18N_InputContext::Unmap ( )

◆ UnsetICFocus()

void SalI18N_InputContext::UnsetICFocus ( )

◆ UpdateSpotLocation()

int SalI18N_InputContext::UpdateSpotLocation ( )

◆ UseContext()

Bool SalI18N_InputContext::UseContext ( ) const
inline

Definition at line 58 of file i18n_ic.hxx.

References Bool, and mbUseable.

Member Data Documentation

◆ maClientData

preedit_data_t SalI18N_InputContext::maClientData
private

Definition at line 39 of file i18n_ic.hxx.

Referenced by IsPreeditMode().

◆ maCommitStringCallback

XIMCallback SalI18N_InputContext::maCommitStringCallback
private

Definition at line 44 of file i18n_ic.hxx.

◆ maContext

XIC SalI18N_InputContext::maContext
private

Definition at line 33 of file i18n_ic.hxx.

Referenced by GetContext().

◆ maDestroyCallback

XIMCallback SalI18N_InputContext::maDestroyCallback
private

Definition at line 46 of file i18n_ic.hxx.

◆ maPreeditCaretCallback

XIMCallback SalI18N_InputContext::maPreeditCaretCallback
private

Definition at line 43 of file i18n_ic.hxx.

◆ maPreeditDoneCallback

XIMCallback SalI18N_InputContext::maPreeditDoneCallback
private

Definition at line 41 of file i18n_ic.hxx.

◆ maPreeditDrawCallback

XIMCallback SalI18N_InputContext::maPreeditDrawCallback
private

Definition at line 42 of file i18n_ic.hxx.

◆ maPreeditStartCallback

XIMCallback SalI18N_InputContext::maPreeditStartCallback
private

Definition at line 40 of file i18n_ic.hxx.

◆ maSwitchIMCallback

XIMCallback SalI18N_InputContext::maSwitchIMCallback
private

Definition at line 45 of file i18n_ic.hxx.

◆ mbUseable

Bool SalI18N_InputContext::mbUseable
private

Definition at line 32 of file i18n_ic.hxx.

Referenced by UseContext().

◆ mnPreeditStyle

XIMStyle SalI18N_InputContext::mnPreeditStyle
private

Definition at line 37 of file i18n_ic.hxx.

◆ mnStatusStyle

XIMStyle SalI18N_InputContext::mnStatusStyle
private

Definition at line 36 of file i18n_ic.hxx.

◆ mnSupportedPreeditStyle

XIMStyle SalI18N_InputContext::mnSupportedPreeditStyle
private

Definition at line 35 of file i18n_ic.hxx.

◆ mpAttributes

XVaNestedList SalI18N_InputContext::mpAttributes
private

Definition at line 48 of file i18n_ic.hxx.

◆ mpPreeditAttributes

XVaNestedList SalI18N_InputContext::mpPreeditAttributes
private

Definition at line 50 of file i18n_ic.hxx.

◆ mpStatusAttributes

XVaNestedList SalI18N_InputContext::mpStatusAttributes
private

Definition at line 49 of file i18n_ic.hxx.


The documentation for this class was generated from the following file: