/aoo42x/main/vcl/aqua/source/window/ |
H A D | salmenu.cxx | 707 sal_uInt16 nKeyCode=rKeyCode.GetCode(); in SetAccelerator() local 708 if( nKeyCode ) in SetAccelerator() 710 if ((nKeyCode>=KEY_A) && (nKeyCode<=KEY_Z)) // letter A..Z in SetAccelerator() 711 nCommandKey = nKeyCode-KEY_A + 'a'; in SetAccelerator() 712 else if ((nKeyCode>=KEY_0) && (nKeyCode<=KEY_9)) // numbers 0..9 in SetAccelerator() 713 nCommandKey = nKeyCode-KEY_0 + '0'; in SetAccelerator() 714 else if ((nKeyCode>=KEY_F1) && (nKeyCode<=KEY_F26)) // function keys F1..F26 in SetAccelerator() 716 else if( nKeyCode == KEY_REPEAT ) in SetAccelerator() 718 else if( nKeyCode == KEY_SPACE ) in SetAccelerator() 722 switch (nKeyCode) in SetAccelerator() [all …]
|
H A D | salframeview.mm | 104 sal_uInt16 nKeyCode = 0; 106 nKeyCode = aKeyCodeMap[ aCode ]; 108 nKeyCode = aFunctionKeyCodeMap[ aCode - 0xf700 ]; 109 return nKeyCode; 121 const sal_uInt16 nKeyCode; field 957 sal_uInt16 nKeyCode = ImplMapCharCode( keyChar ); 964 if( nKeyCode == aExceptionalKeys[i].nKeyCode && 1013 sal_uInt16 nKeyCode = ImplMapCharCode( aCharCode ); 1028 nKeyCode = ImplMapCharCode( keyChar ); 1488 sal_uInt16 nKeyCode = ImplMapCharCode( keyChar ); [all …]
|
H A D | salframe.cxx | 1047 XubString AquaSalFrame::GetKeyName( sal_uInt16 nKeyCode ) in GetKeyName() argument 1113 sal_uInt16 nUnmodifiedCode = (nKeyCode & KEY_CODE); in GetKeyName() 1117 if( (nKeyCode & KEY_SHIFT) != 0 ) in GetKeyName() 1119 if( (nKeyCode & KEY_MOD1) != 0 ) in GetKeyName() 1123 if( (nKeyCode & (KEY_MOD2|KEY_MOD3)) != 0 ) in GetKeyName() 1134 XubString AquaSalFrame::GetSymbolKeyName( const XubString&, sal_uInt16 nKeyCode ) in GetSymbolKeyName() argument 1136 return GetKeyName( nKeyCode ); in GetSymbolKeyName()
|
/aoo42x/main/desktop/source/deployment/gui/ |
H A D | dp_gui_extlistbox.cxx | 742 if ( ( nKeyCode == KEY_DOWN ) || ( nKeyCode == KEY_RIGHT ) ) in HandleCursorKey() 744 else if ( ( nKeyCode == KEY_UP ) || ( nKeyCode == KEY_LEFT ) ) in HandleCursorKey() 746 else if ( nKeyCode == KEY_HOME ) in HandleCursorKey() 748 else if ( nKeyCode == KEY_END ) in HandleCursorKey() 750 else if ( nKeyCode == KEY_PAGEUP ) in HandleCursorKey() 752 else if ( nKeyCode == KEY_PAGEDOWN ) in HandleCursorKey() 757 if ( ( nKeyCode == KEY_DOWN ) || ( nKeyCode == KEY_PAGEDOWN ) || ( nKeyCode == KEY_HOME ) ) in HandleCursorKey() 759 else if ( ( nKeyCode == KEY_UP ) || ( nKeyCode == KEY_PAGEUP ) || ( nKeyCode == KEY_END ) ) in HandleCursorKey() 894 sal_uInt16 nKeyCode = aKeyCode.GetCode(); in Notify() local 896 if ( nKeyCode == KEY_TAB ) in Notify() [all …]
|
/aoo42x/main/vcl/os2/source/window/ |
H A D | salframe.cxx | 1818 USHORT nKeyCode = nCode & 0x0FFF; in GetKeyName() local 1819 if ( (nKeyCode >= KEY_0) && (nKeyCode <= KEY_9) ) in GetKeyName() 1821 else if ( (nKeyCode >= KEY_A) && (nKeyCode <= KEY_Z) ) in GetKeyName() 1823 else if ( (nKeyCode >= KEY_F1) && (nKeyCode <= KEY_F26) ) in GetKeyName() 1826 if ( (nKeyCode >= KEY_F1) && (nKeyCode <= KEY_F9) ) in GetKeyName() 1830 else if ( (nKeyCode >= KEY_F10) && (nKeyCode <= KEY_F19) ) in GetKeyName() 1843 switch ( nKeyCode ) in GetKeyName() 1939 return GetKeyName( nKeyCode ); in GetSymbolKeyName() 2598 USHORT nKeyCode = (UCHAR)SHORT2FROMMP( aMP2 ); in ImplSalGetKeyCode() local 2605 rSVCode = aImplTranslateKeyTab[nKeyCode]; in ImplSalGetKeyCode() [all …]
|
/aoo42x/main/vcl/inc/unx/ |
H A D | i18n_xkb.hxx | 52 sal_uInt32 LookupKeysymInGroup( sal_uInt32 nKeyCode, 57 sal_uInt32 nKeyCode, 86 SalI18N_KeyboardExtension::LookupKeysymInDefaultGroup( sal_uInt32 nKeyCode, in LookupKeysymInDefaultGroup() argument 89 return LookupKeysymInGroup( nKeyCode, nShiftState, mnDefaultGroup ); in LookupKeysymInDefaultGroup()
|
/aoo42x/main/vcl/win/source/window/ |
H A D | salobj.cxx | 254 sal_uInt16 nKeyCode = LOWORD( pMsg->wParam ); in ImplSalPreDispatchMsg() local 256 if ( ((nKeyCode >= 48) && (nKeyCode <= 57)) || in ImplSalPreDispatchMsg() 257 ((nKeyCode >= 65) && (nKeyCode <= 90)) || in ImplSalPreDispatchMsg() 258 ((nKeyCode >= 97) && (nKeyCode <= 122)) ) in ImplSalPreDispatchMsg()
|
/aoo42x/main/svtools/source/dialogs/ |
H A D | wizdlg.cxx | 446 sal_uInt16 nKeyCode = aKeyCode.GetCode(); in Notify() local 450 if ( aKeyCode.IsShift() || (nKeyCode == KEY_PAGEUP) ) in Notify() 452 if ( (nKeyCode == KEY_TAB) || (nKeyCode == KEY_PAGEUP) ) in Notify() 466 if ( (nKeyCode == KEY_TAB) || (nKeyCode == KEY_PAGEDOWN) ) in Notify()
|
/aoo42x/main/svx/source/svdraw/ |
H A D | svdibrow.cxx | 194 sal_uInt16 nKeyCode(rKEvt.GetKeyCode().GetCode() + rKEvt.GetKeyCode().GetModifier()); in KeyInput() local 196 if(nKeyCode == KEY_RETURN) in KeyInput() 201 else if(nKeyCode == KEY_ESCAPE) in KeyInput() 206 else if(nKeyCode == KEY_UP || nKeyCode == KEY_DOWN) in KeyInput() 413 sal_uInt16 nKeyCode=rKEvt.GetKeyCode().GetCode()+rKEvt.GetKeyCode().GetModifier(); in KeyInput() local 417 if (nKeyCode==KEY_RETURN) { in KeyInput() 419 } else if (nKeyCode==KEY_ESCAPE) { in KeyInput() 422 if (nKeyCode==KEY_SHIFT+KEY_MOD1+KEY_MOD2+KEY_W) { in KeyInput() 426 if (nKeyCode==KEY_SHIFT+KEY_MOD1+KEY_MOD2+KEY_I) { in KeyInput() 430 if (nKeyCode==KEY_SHIFT+KEY_MOD1+KEY_MOD2+KEY_S) { in KeyInput()
|
/aoo42x/main/svtools/source/table/ |
H A D | defaultinputhandler.cxx | 149 sal_uInt16 nKeyCode = rKeyCode.GetCode(); in KeyInput() local 153 sal_uInt16 nKeyCode; in KeyInput() member 182 …if ( ( pActions->nKeyCode == nKeyCode ) && ( pActions->nKeyModifier == rKeyCode.GetAllModifier() )… in KeyInput()
|
/aoo42x/main/vcl/source/window/ |
H A D | dlgctrl.cxx | 532 sal_uInt16 nKeyCode = aKeyCode.GetCode(); in ImplDlgCtrl() local 570 if ( nKeyCode == KEY_RETURN ) in ImplDlgCtrl() 646 else if ( nKeyCode == KEY_ESCAPE ) in ImplDlgCtrl() 673 if ( nKeyCode == KEY_TAB ) in ImplDlgCtrl() 797 else if ( (nKeyCode == KEY_LEFT) || (nKeyCode == KEY_UP) ) in ImplDlgCtrl() 824 else if ( (nKeyCode == KEY_RIGHT) || (nKeyCode == KEY_DOWN) ) in ImplDlgCtrl()
|
H A D | keycod.cxx | 93 sal_uLong nKeyCode = pResMgr->ReadLong(); in KeyCode() local 104 nCode = sal::static_int_cast<sal_uInt16>(nKeyCode | nModifier); in KeyCode()
|
/aoo42x/main/vcl/unx/generic/app/ |
H A D | saldisp.cxx | 1099 if( nKeyCode & KEY_MOD1 ) in GetKeyName() 1102 if( nKeyCode & KEY_MOD2 ) in GetKeyName() 1109 if( nKeyCode & KEY_SHIFT ) in GetKeyName() 1115 nKeyCode &= 0x0FFF; in GetKeyName() 1119 if( KEY_0 <= nKeyCode && nKeyCode <= KEY_9 ) in GetKeyName() 1120 nKeySym = XK_0 + (nKeyCode - KEY_0); in GetKeyName() 1121 else if( KEY_A <= nKeyCode && nKeyCode <= KEY_Z ) in GetKeyName() 1122 nKeySym = XK_A + (nKeyCode - KEY_A); in GetKeyName() 1123 else if( KEY_F1 <= nKeyCode && nKeyCode <= KEY_F26 ) // Existiert die Taste in GetKeyName() 1124 nKeySym = XK_F1 + (nKeyCode - KEY_F1); in GetKeyName() [all …]
|
H A D | i18n_xkb.cxx | 116 sal_uInt32 SalI18N_KeyboardExtension::LookupKeysymInGroup( sal_uInt32 nKeyCode, in LookupKeysymInGroup() argument 121 KeySym nKeySymbol = XkbKeycodeToKeysym( mpDisplay, nKeyCode, nGroup, nShiftState ); in LookupKeysymInGroup()
|
/aoo42x/main/vcl/unx/generic/window/ |
H A D | salframe.cxx | 2630 return GetDisplay()->GetKeyName( nKeyCode ); in GetKeyName() 2635 return GetKeyName( nKeyCode ); in GetSymbolKeyName() 3128 sal_uInt16 nKeyCode; member 3130 KeyAlternate() : nKeyCode( 0 ), nCharCode( 0 ) {} in KeyAlternate() 3135 GetAlternateKeyCode( const sal_uInt16 nKeyCode ) in GetAlternateKeyCode() argument 3139 switch( nKeyCode ) in GetAlternateKeyCode() 3276 sal_uInt16 nKeyCode; in HandleKeyEvent() local 3395 if( nKeyCode == 0 ) in HandleKeyEvent() 3410 if( !nKeyCode && !nLen && !nKeyString) in HandleKeyEvent() 3509 aKeyEvt.mnCode = nKeyCode | nModCode; in HandleKeyEvent() [all …]
|
/aoo42x/main/basctl/source/basicide/ |
H A D | basicbox.cxx | 273 sal_uInt16 nKeyCode = aKeyEvt.GetKeyCode().GetCode(); in PreNotify() local 274 switch( nKeyCode ) in PreNotify() 501 sal_uInt16 nKeyCode = rNEvt.GetKeyEvent()->GetKeyCode().GetCode(); in PreNotify() local 502 switch( nKeyCode ) in PreNotify()
|
/aoo42x/main/dbaccess/source/ui/querydesign/ |
H A D | TableWindow.cxx | 784 sal_uInt16 nKeyCode = rCode.GetCode(); in PreNotify() local 785 …if ( rCode.IsMod2() && nKeyCode != KEY_UP && nKeyCode != KEY_DOWN && nKeyCode != KEY_LEFT && nKeyC… in PreNotify()
|
/aoo42x/main/vcl/source/control/ |
H A D | tabctrl.cxx | 959 sal_uInt16 nKeyCode = aKeyCode.GetCode(); in ImplHandleKeyEvent() local 963 if ( aKeyCode.IsShift() || (nKeyCode == KEY_PAGEUP) ) in ImplHandleKeyEvent() 965 if ( (nKeyCode == KEY_TAB) || (nKeyCode == KEY_PAGEUP) ) in ImplHandleKeyEvent() 973 if ( (nKeyCode == KEY_TAB) || (nKeyCode == KEY_PAGEDOWN) ) in ImplHandleKeyEvent() 1037 sal_uInt16 nKeyCode = aKeyCode.GetCode(); in KeyInput() local 1039 if ( (nKeyCode == KEY_LEFT) || (nKeyCode == KEY_RIGHT) ) in KeyInput() 1041 sal_Bool bNext = (nKeyCode == KEY_RIGHT); in KeyInput()
|
H A D | field2.cxx | 496 sal_uInt16 nKeyCode = aCode.GetCode(); in ImplPatternProcessKeyInput() local 502 if ( nKeyCode && !aCode.IsMod1() && !aCode.IsMod2() ) in ImplPatternProcessKeyInput() 504 if ( nKeyCode == KEY_LEFT ) in ImplPatternProcessKeyInput() 512 else if ( nKeyCode == KEY_RIGHT ) in ImplPatternProcessKeyInput() 528 else if ( nKeyCode == KEY_HOME ) in ImplPatternProcessKeyInput() 544 else if ( nKeyCode == KEY_END ) in ImplPatternProcessKeyInput() 566 else if ( (nKeyCode == KEY_BACKSPACE) || (nKeyCode == KEY_DELETE) ) in ImplPatternProcessKeyInput() 588 if ( nKeyCode == KEY_BACKSPACE ) in ImplPatternProcessKeyInput() 626 else if ( nKeyCode == KEY_INSERT ) in ImplPatternProcessKeyInput()
|
/aoo42x/main/sd/source/ui/slideshow/ |
H A D | showwin.cxx | 111 const int nKeyCode = rKEvt.GetKeyCode().GetCode(); in KeyInput() local 112 switch( nKeyCode ) in KeyInput() 136 const int nKeyCode = rKEvt.GetKeyCode().GetCode(); in KeyInput() local 137 switch( nKeyCode ) in KeyInput()
|
/aoo42x/main/vcl/inc/aqua/ |
H A D | salframeview.h | 111 -(BOOL)sendKeyInputAndReleaseToFrame: (sal_uInt16)nKeyCode character: (sal_Unicode)aChar; in sendKeyInputAndReleaseToFrame:character:() 112 -(BOOL)sendKeyInputAndReleaseToFrame: (sal_uInt16)nKeyCode character: (sal_Unicode)aChar modifiers:… in sendKeyInputAndReleaseToFrame:character:modifiers:() 113 -(BOOL)sendKeyToFrameDirect: (sal_uInt16)nKeyCode character: (sal_Unicode)aChar modifiers: (unsigne… in sendKeyToFrameDirect:character:modifiers:()
|
/aoo42x/main/vcl/unx/headless/ |
H A D | svpframe.hxx | 102 virtual String GetKeyName( sal_uInt16 nKeyCode ); 103 virtual String GetSymbolKeyName( const XubString& rFontName, sal_uInt16 nKeyCode );
|
/aoo42x/main/vcl/unx/gtk/window/ |
H A D | gtkframe.cxx | 295 sal_uInt16 nKeyCode; member 297 KeyAlternate() : nKeyCode( 0 ), nCharCode( 0 ) {} in KeyAlternate() 298 KeyAlternate( sal_uInt16 nKey, sal_Unicode nChar = 0 ) : nKeyCode( nKey ), nCharCode( nChar ) {} in KeyAlternate() 302 GetAlternateKeyCode( const sal_uInt16 nKeyCode ) in GetAlternateKeyCode() argument 306 switch( nKeyCode ) in GetAlternateKeyCode() 368 if( aAlternate.nKeyCode ) in doKeyCallback() 370 aEvent.mnCode = aAlternate.nKeyCode; in doKeyCallback() 2237 String GtkSalFrame::GetSymbolKeyName( const String&, sal_uInt16 nKeyCode ) in GetSymbolKeyName() argument 2239 return getDisplay()->GetKeyName( nKeyCode ); in GetSymbolKeyName() 2242 String GtkSalFrame::GetKeyName( sal_uInt16 nKeyCode ) in GetKeyName() argument [all …]
|
/aoo42x/main/vcl/inc/ |
H A D | salframe.hxx | 213 virtual String GetKeyName( sal_uInt16 nKeyCode ) = 0; 214 virtual String GetSymbolKeyName( const XubString& rFontName, sal_uInt16 nKeyCode ) = 0;
|
/aoo42x/main/vcl/inc/os2/ |
H A D | salframe.h | 136 virtual String GetKeyName( USHORT nKeyCode ); 137 virtual String GetSymbolKeyName( const XubString& rFontName, USHORT nKeyCode );
|