/aoo4110/main/sal/textenc/ |
H A D | convertgb18030.c | 79 sal_uInt32 nCode = 0; in ImplConvertGb18030ToUnicode() local 107 nCode = nChar - 0x81; in ImplConvertGb18030ToUnicode() 120 nCode = nCode * 10 + (nChar - 0x30); in ImplConvertGb18030ToUnicode() 126 nCode = nCode * 190 + (nChar <= 0x7E ? nChar - 0x40 : in ImplConvertGb18030ToUnicode() 144 nCode = nCode * 126 + (nChar - 0x81); in ImplConvertGb18030ToUnicode() 157 nCode = nCode * 10 + (nChar - 0x30); in ImplConvertGb18030ToUnicode() 160 if (nCode >= 189000 && nCode <= 1237575) in ImplConvertGb18030ToUnicode() 163 nCode -= 189000 - 0x10000; in ImplConvertGb18030ToUnicode() 343 sal_uInt32 nCode in ImplConvertUnicodeToGb18030() local 349 if (nCode > 0xFFFF) in ImplConvertUnicodeToGb18030() [all …]
|
/aoo4110/main/vcl/inc/vcl/ |
H A D | keycod.hxx | 61 sal_uInt16 nCode; member in KeyCode 78 { return (nCode & KEY_CODE); } in GetCode() 81 { return (nCode & KEY_MODTYPE); } in GetModifier() 110 nCode = nKey; in KeyCode() 112 nCode |= KEY_SHIFT; in KeyCode() 114 nCode |= KEY_MOD1; in KeyCode() 116 nCode |= KEY_MOD2; in KeyCode() 118 nCode |= KEY_MOD3; in KeyCode() 125 return (nCode == rKeyCode.nCode); in operator ==() 133 return (nCode != rKeyCode.nCode); in operator !=() [all …]
|
/aoo4110/main/filter/source/graphicfilter/itiff/ |
H A D | lzwdecom.cxx | 126 nCode=0; in GetNextCode() 130 nCode=(nCode<<nInputBitsBufSize) | nInputBitsBuf; in GetNextCode() 139 nCode=(nCode<<nBits) | (nInputBitsBuf>>(nInputBitsBufSize-nBits)); in GetNextCode() 146 return nCode; in GetNextCode() 165 sal_uInt16 i,nCode; in DecompressSome() local 167 nCode=GetNextCode(); in DecompressSome() 168 if (nCode==256) { in DecompressSome() 170 nCode=GetNextCode(); in DecompressSome() 173 else if (nCode<nTableSize) AddToTable(nOldCode,nCode); in DecompressSome() 177 nOldCode=nCode; in DecompressSome() [all …]
|
H A D | ccidecom.cxx | 741 pHufTab[i].nCode!=pHufTabSave[i].nCode || in MakeLookUp() 765 sal_uInt16 nCode; in ReadEOL() local 795 if ( nCode == 0x0001 ) in ReadEOL() 847 sal_uInt16 nCode,nCodeBits; in ReadCodeAndDecode() local 860 nCodeBits=pLookUp[nCode].nCodeBits; in ReadCodeAndDecode() 863 return pLookUp[nCode].nValue; in ReadCodeAndDecode() 923 sal_uInt16 nCode,nCodeBits,nDataBits,nTgtFreeByteBits; in Read1DScanlineData() local 950 nCodeBits=pBlackLookUp[nCode].nCodeBits; in Read1DScanlineData() 951 nDataBits=pBlackLookUp[nCode].nValue; in Read1DScanlineData() 954 nCodeBits=pWhiteLookUp[nCode].nCodeBits; in Read1DScanlineData() [all …]
|
/aoo4110/main/sc/source/ui/dbgui/ |
H A D | scuiimoptdlg.cxx | 66 sal_Unicode nCode = 0; in GetCode() local 83 return nCode; in GetCode() 147 sal_Unicode nCode; in ScImportOptionsDlg() local 186 nCode = pOptions->nFieldSepCode; in ScImportOptionsDlg() 194 nCode = pOptions->nTextSepCode; in ScImportOptionsDlg() 276 sal_uInt16 nCode; in GetCodeFromCombo() local 285 nCode = 0; // kein Trennzeichen in GetCodeFromCombo() 289 nCode = pTab->GetCode( aStr ); in GetCodeFromCombo() 291 if ( nCode == 0 ) in GetCodeFromCombo() 292 nCode = (sal_uInt16)aStr.GetChar(0); in GetCodeFromCombo() [all …]
|
H A D | csvcontrol.cxx | 289 ScMoveMode ScCsvControl::GetHorzDirection( sal_uInt16 nCode, bool bHomeEnd ) in GetHorzDirection() argument 291 switch( nCode ) in GetHorzDirection() 296 if( bHomeEnd ) switch( nCode ) in GetHorzDirection() 304 ScMoveMode ScCsvControl::GetVertDirection( sal_uInt16 nCode, bool bHomeEnd ) in GetVertDirection() argument 306 switch( nCode ) in GetVertDirection() 313 if( bHomeEnd ) switch( nCode ) in GetVertDirection()
|
/aoo4110/main/vcl/unx/gtk/window/ |
H A D | gtkframe.cxx | 83 sal_uInt16 nCode = 0; in GetKeyModCode() local 85 nCode |= KEY_SHIFT; in GetKeyModCode() 87 nCode |= KEY_MOD1; in GetKeyModCode() 89 nCode |= KEY_MOD2; in GetKeyModCode() 94 nCode |= KEY_MOD3; in GetKeyModCode() 95 return nCode; in GetKeyModCode() 102 nCode |= MOUSE_LEFT; in GetMouseModCode() 106 nCode |= MOUSE_RIGHT; in GetMouseModCode() 108 return nCode; in GetMouseModCode() 113 sal_uInt16 nCode = 0; in GetKeyCode() local [all …]
|
/aoo4110/main/svtools/source/filter/igif/ |
H A D | decode.cxx | 144 sal_uInt16 nCode; in ProcessOneCode() local 163 nCode = sal::static_int_cast< sal_uInt16 >( in ProcessOneCode() 168 if ( nCode < nClearCode ) in ProcessOneCode() 171 AddToTable( nOldCode, nCode ); in ProcessOneCode() 173 else if ( ( nCode > nEOICode ) && ( nCode <= nTableSize ) ) in ProcessOneCode() 175 if ( nCode == nTableSize ) in ProcessOneCode() 178 AddToTable( nOldCode, nCode ); in ProcessOneCode() 182 if ( nCode == nClearCode ) in ProcessOneCode() 195 nOldCode = nCode; in ProcessOneCode() 198 pE = pTable + nCode; in ProcessOneCode()
|
/aoo4110/main/framework/source/accelerators/ |
H A D | keymapping.cxx | 163 sal_Int16 nCode = KeyIdentifierMap[i].Code; in KeyMapping() local 165 m_lIdentifierHash[sIdentifier] = nCode ; in KeyMapping() 166 m_lCodeHash [nCode] = sIdentifier; in KeyMapping() 187 sal_uInt16 nCode = 0; in mapIdentifierToCode() local 194 return (sal_uInt16)nCode; in mapIdentifierToCode() 198 ::rtl::OUString KeyMapping::mapCodeToIdentifier(sal_uInt16 nCode) in mapCodeToIdentifier() argument 200 Code2IdentifierHash::const_iterator pIt = m_lCodeHash.find(nCode); in mapCodeToIdentifier() 205 return ::rtl::OUString::valueOf((sal_Int32)nCode); in mapCodeToIdentifier() 212 sal_Int32 nCode = sIdentifier.toInt32(); in impl_st_interpretIdentifierAsPureKeyCode() local 213 if (nCode > 0) in impl_st_interpretIdentifierAsPureKeyCode() [all …]
|
/aoo4110/main/sw/source/filter/ww1/ |
H A D | w1sprm.cxx | 206 sal_uInt16 nCode; in STOP1() local 213 case 1: nCode = DEF_LINE_WIDTH_0; break; in STOP1() 214 case 2: nCode = DEF_LINE_WIDTH_1; break; in STOP1() 215 case 3: nCode = DEF_LINE_WIDTH_2; break; in STOP1() 216 case 4: nCode = DEF_LINE_WIDTH_3; break; in STOP1() 217 case 5: nCode = DEF_LINE_WIDTH_4; break; in STOP1() 219 pLine->SetOutWidth(nCode); in STOP1() 227 case 1: nCode = DEF_DOUBLE_LINE0_IN; break; in STOP1() 229 pLine->SetOutWidth(nCode); in STOP1() 235 pLine->SetInWidth(nCode); in STOP1() [all …]
|
/aoo4110/main/vcl/source/window/ |
H A D | winproc.cxx | 160 if ( nCode & MOUSE_LEFT ) in ImplHandleMouseFloatMode() 387 pWinFrameData->mnMouseCode = nCode; in ImplHandleMouseEvent() 471 MouseEvent aMEvt( aChildPos, pWinFrameData->mnClickCount, nMode, nCode, nCode ); in ImplHandleMouseEvent() 615 … MouseEvent aMLeaveEvt( aLeaveMousePos, nClicks, nMode | MOUSE_LEAVEWINDOW, nCode, nCode ); in ImplHandleMouseEvent() 705 MouseEvent aMEvt( aChildPos, nClicks, nMode, nCode, nCode ); in ImplHandleMouseEvent() 863 (nCode == MOUSE_MIDDLE) ) in ImplHandleMouseEvent() 1152 …else if ( ( (nCode == KEY_F2) && aKeyCode.IsShift() ) || ( (nCode == KEY_F1) && aKeyCode.IsMod1() … in ImplHandleKey() 1169 else if ( (nCode == KEY_F1) || (nCode == KEY_HELP) ) in ImplHandleKey() 1467 sal_uInt16 nCode = rEvt.mnCode; in ImplHandleWheelEvent() local 1470 if ( nCode & KEY_MOD1 ) in ImplHandleWheelEvent() [all …]
|
H A D | split.cxx | 368 sal_uInt16 nCode = aKeyCode.GetCode(); in ImplKbdTracking() local 369 if ( nCode == KEY_ESCAPE || nCode == KEY_RETURN ) in ImplKbdTracking() 376 if ( nCode != KEY_ESCAPE ) in ImplKbdTracking() 431 switch( nCode ) in ImplKbdTracking() 657 sal_uInt16 nCode = aKeyCode.GetCode(); in KeyInput() local 658 switch ( nCode ) in KeyInput()
|
/aoo4110/main/framework/qa/complex/accelerators/ |
H A D | KeyMapping.java | 31 protected Short nCode; field in KeyIdentifierInfo 36 nCode = nC; in KeyIdentifierInfo() 42 public void put(String sIdentifier, Short nCode) in put() argument 44 super.put(sIdentifier, nCode); in put() 54 public void put(Short nCode, String sIdentifier) in put() argument 56 super.put(nCode, sIdentifier); in put() 58 public String get(Short nCode) in get() argument 60 return (String)super.get(nCode); in get() 151 aCodeHashMap.put(aInfoMap[i].nCode, aInfoMap[i].sIdentifier); in KeyMapping() 160 public String mapCode2Identifier(short nCode) in mapCode2Identifier() argument [all …]
|
/aoo4110/main/sdext/source/presenter/ |
H A D | PresenterPaneBorderManager.cxx | 170 sal_Int32 nCode = 0; in ClassifyBorderElementUnderMouse() local 175 nCode = mnOutside; in ClassifyBorderElementUnderMouse() 177 nCode = mnLeft; in ClassifyBorderElementUnderMouse() 180 nCode = mnOutside; in ClassifyBorderElementUnderMouse() 182 nCode = mnRight; in ClassifyBorderElementUnderMouse() 189 nCode |= mnOutside; in ClassifyBorderElementUnderMouse() 191 nCode |= mnTop; in ClassifyBorderElementUnderMouse() 194 nCode |= mnOutside; in ClassifyBorderElementUnderMouse() 196 nCode |= mnBottom; in ClassifyBorderElementUnderMouse() 198 nCode |= mnVerticalCenter; in ClassifyBorderElementUnderMouse() [all …]
|
/aoo4110/main/svx/workben/ |
H A D | edittest.cxx | 1534 USHORT nCode = rKEvt.GetKeyCode().GetCode(); in KeyInput() local 1556 else if ( ( ( nCode == KEY_ADD ) || ( nCode == KEY_SUBTRACT ) )&& rKEvt.GetKeyCode().IsMod2() ) in KeyInput() 1558 short nDiff = ( nCode == KEY_ADD ) ? (+5) : (-5); in KeyInput() 1577 ( ( nCode == KEY_UP) || ( nCode == KEY_DOWN ) || in KeyInput() 1578 ( nCode == KEY_LEFT ) || ( nCode == KEY_RIGHT ) ) ) in KeyInput() 1590 if ( ( nCode == KEY_DOWN ) && ( nY > 5 ) ) in KeyInput() 1592 else if ( nCode == KEY_UP ) in KeyInput() 1594 else if ( nCode == KEY_RIGHT ) in KeyInput() 1596 else if ( ( nCode == KEY_LEFT ) && ( nX > 5 ) ) in KeyInput() 1607 if ( nCode == KEY_RIGHT ) in KeyInput() [all …]
|
/aoo4110/main/chart2/source/controller/main/ |
H A D | ChartController_Window.cxx | 1403 if( nCode == KEY_ADD || in execute_KeyInput() 1404 nCode == KEY_SUBTRACT ) in execute_KeyInput() 1410 nCode == KEY_LEFT || in execute_KeyInput() 1411 nCode == KEY_RIGHT || in execute_KeyInput() 1412 nCode == KEY_UP || in execute_KeyInput() 1413 nCode == KEY_DOWN ) in execute_KeyInput() 1444 if( nCode == KEY_ADD || in execute_KeyInput() 1494 switch( nCode ) in execute_KeyInput() 1547 nCode == KEY_F2 ) in execute_KeyInput() 1559 nCode == KEY_ESCAPE ) in execute_KeyInput() [all …]
|
/aoo4110/main/filter/source/graphicfilter/egif/ |
H A D | giflzwc.cxx | 52 inline void WriteBits( sal_uInt16 nCode, sal_uInt16 nCodeLen ); 72 inline void GIFImageDataOutputStream::WriteBits( sal_uInt16 nCode, sal_uInt16 nCodeLen ) in WriteBits() argument 77 nBitsBuf |= (sal_uLong) nCode << nBitsBufSize; in WriteBits() 126 sal_uInt16 nCode; // Der Code fuer den String von Pixelwerten, der sich ergibt, wenn member 170 pTable[i].nValue = (sal_uInt8) ( pTable[i].nCode = i ); in StartCompression() 208 pIDOS->WriteBits(pPrefix->nCode,nCodeSize); in Compress() 245 pIDOS->WriteBits(pPrefix->nCode,nCodeSize); in EndCompression()
|
/aoo4110/main/unotools/source/config/ |
H A D | accelcfg.cxx | 229 sal_Int16 nCode=rKeyEvent.KeyCode, nModifier=rKeyEvent.Modifiers; in GetCommand() local 230 if ( !nCode ) in GetCommand() 231 nCode = rKeyEvent.KeyFunc; in GetCommand() 235 if ( p->nCode == nCode && p->nModifier == nModifier ) in GetCommand() 250 if ( p->nCode == rItem.nCode && p->nModifier == rItem.nModifier ) in SetCommand()
|
/aoo4110/main/vcl/unx/generic/window/ |
H A D | salobj.cxx | 454 sal_uInt16 nCode = 0; in sal_GetCode() local 457 nCode |= MOUSE_LEFT; in sal_GetCode() 459 nCode |= MOUSE_MIDDLE; in sal_GetCode() 461 nCode |= MOUSE_RIGHT; in sal_GetCode() 464 nCode |= KEY_SHIFT; in sal_GetCode() 466 nCode |= KEY_MOD1; in sal_GetCode() 468 nCode |= KEY_MOD2; in sal_GetCode() 470 nCode |= KEY_MOD3; in sal_GetCode() 472 return nCode; in sal_GetCode()
|
/aoo4110/main/filter/source/graphicfilter/etiff/ |
H A D | etiff.cxx | 61 sal_uInt16 nCode; // Der Code fuer den String von Pixelwerten, der sich ergibt, wenn member 113 inline void WriteBits( sal_uInt16 nCode, sal_uInt16 nCodeLen ); 496 inline void TIFFWriter::WriteBits( sal_uInt16 nCode, sal_uInt16 nCodeLen ) in WriteBits() argument 498 dwShift |= ( nCode << ( nOffset - nCodeLen ) ); in WriteBits() 506 if ( nCode == 257 && nOffset != 32 ) in WriteBits() 532 pTable[ i ].nValue = (sal_uInt8)( pTable[ i ].nCode = i ); in StartCompression() 564 WriteBits( pPrefix->nCode, nCodeSize ); in Compress() 598 WriteBits( pPrefix->nCode, nCodeSize ); in EndCompression()
|
/aoo4110/main/sc/source/ui/view/ |
H A D | olinewin.cxx | 999 sal_uInt16 nCode = rKCode.GetCode(); in KeyInput() local 1000 bool bUpDownKey = (nCode == KEY_UP) || (nCode == KEY_DOWN); in KeyInput() 1001 bool bLeftRightKey = (nCode == KEY_LEFT) || (nCode == KEY_RIGHT); in KeyInput() 1004 if ( (nCode == KEY_TAB) && (bNoMod || bShift) ) in KeyInput() 1011 bool bForward = (nCode == KEY_DOWN) || (nCode == KEY_RIGHT); in KeyInput() 1021 else if ( bCtrl && (nCode >= KEY_1) && (nCode <= KEY_9) ) in KeyInput() 1023 size_t nLevel = static_cast< size_t >( nCode - KEY_1 ); in KeyInput()
|
/aoo4110/main/sal/osl/w32/ |
H A D | diagnose.c | 87 int nCode; in osl_assertFailedLine() 127 nCode = MessageBox(hWndParent, szBoxMessage, "Assertion Failed!", nFlags); in osl_assertFailedLine() 129 if (nCode == IDYES) in osl_assertFailedLine() 132 if (nCode == IDNO) in osl_assertFailedLine() 135 if (nCode == IDCANCEL) in osl_assertFailedLine()
|
/aoo4110/main/forms/source/richtext/ |
H A D | richtextvclcontrol.cxx | 222 sal_uInt16 nCode = pKeyEvent->GetKeyCode().GetCode(); in PreNotify() local 226 if ( ( KEY_TAB == nCode ) && bCtrl && !bAlt ) in PreNotify() 237 if ( ( ( KEY_F12 == nCode ) in PreNotify() 238 || ( KEY_F11 == nCode ) in PreNotify() 244 bool bLoad = KEY_F11 == nCode; in PreNotify()
|
/aoo4110/main/vcl/source/control/ |
H A D | menubtn.cxx | 197 sal_uInt16 nCode = aKeyCode.GetCode(); in KeyInput() local 198 if ( (nCode == KEY_DOWN) && aKeyCode.IsMod2() ) in KeyInput() 202 ((nCode == KEY_RETURN) || (nCode == KEY_SPACE)) ) in KeyInput()
|
/aoo4110/main/basctl/source/dlged/ |
H A D | dlgedfunc.cxx | 139 sal_uInt16 nCode = aCode.GetCode(); in KeyInput() local 141 switch ( nCode ) in KeyInput() 207 if ( nCode == KEY_UP ) in KeyInput() 213 else if ( nCode == KEY_DOWN ) in KeyInput() 219 else if ( nCode == KEY_LEFT ) in KeyInput() 225 else if ( nCode == KEY_RIGHT ) in KeyInput()
|