/aoo42x/main/xmloff/source/core/ |
H A D | nmspmap.cxx | 102 nKey++; in _Add() 108 pEntry->nKey = nKey; in _Add() 112 return nKey; in _Add() 128 nKey = _Add( rPrefix, rName, nKey ); in Add() 130 return nKey; in Add() 147 nKey = _Add( rPrefix, rName, nKey ); in AddIfKnown() 150 return nKey; in AddIfKnown() 168 nKey = (*aIter).second->nKey; in GetKeyByName() 313 nKey = rEntry.nKey; in _GetKeyByAttrName() 347 nKey = xEntry->nKey = (*aIter).second->nKey; in _GetKeyByAttrName() [all …]
|
/aoo42x/main/tools/source/memtools/ |
H A D | table.cxx | 57 if ( nKey < nCompareKey ) in ImplGetIndex() 61 if ( nKey > nCompareKey ) in ImplGetIndex() 75 if ( nKey < nCompareKey ) in ImplGetIndex() 79 if ( nKey > nCompareKey ) in ImplGetIndex() 90 if ( nKey > nCompareKey ) in ImplGetIndex() 126 while ( nKey > nCompareKey ) in Insert() 140 if ( nKey == nCompareKey ) in Insert() 164 Container::Insert( (void*)nKey, i ); in Insert() 339 sal_uIntPtr nKey = GetKey( p ); in Seek() local 342 if ( nKey != TABLE_ENTRY_NOTFOUND ) in Seek() [all …]
|
/aoo42x/main/vcl/unx/generic/app/ |
H A D | saldisp.cxx | 1280 sal_uInt16 nKey = 0; in GetKeyCode() local 1416 nKey = KEY_REPEAT; in GetKeyCode() 1418 nKey = KEY_F12; in GetKeyCode() 1536 nKey = KEY_TAB; in GetKeyCode() 1542 nKey = KEY_ADD; in GetKeyCode() 1587 nKey = KEY_CUT; in GetKeyCode() 1606 nKey = KEY_TAB; in GetKeyCode() 1614 nKey = KEY_CUT; in GetKeyCode() 1620 nKey = KEY_TAB; in GetKeyCode() 1637 nKey = KEY_F12; in GetKeyCode() [all …]
|
/aoo42x/main/xmloff/source/style/ |
H A D | xmlnumfe.cxx | 100 void SetUsed( sal_uInt32 nKey ); 149 if ( !IsWasUsed(nKey) ) in SetUsed() 190 nKey = *aCurrentUsedPos; in GetFirstUsed() 204 nKey = *aCurrentUsedPos; in GetNextUsed() 333 aFmtName.append( nKey ); in lcl_CreateStyleName() 1696 sal_uInt32 nKey; in Export() local 1721 nKey = rTable.GetCurKey(); in Export() 1740 if(pUsedList->IsUsed(nKey) || pUsedList->IsWasUsed(nKey)) in GetStyleName() 1756 pUsedList->SetUsed( nKey ); in SetUsed() 1784 sal_uInt32 nRet = nKey; in ForceSystemLanguage() [all …]
|
H A D | xmlnumfi.cxx | 63 sal_uInt32 nKey; member 442 if ( pObj->nKey == nKey && !pObj->bRemoveAfterUse ) in AddKey() 465 if ( pObj->nKey == nKey ) in SetUsed() 1375 nKey(-1), in SvXMLNumFormatContext() 1579 if (nKey > -1) in GetKey() 1592 return nKey; in GetKey() 1599 return nKey; in GetKey() 1607 if (nKey > -1) in PrivateGetKey() 1608 return nKey; in PrivateGetKey() 1612 return nKey; in PrivateGetKey() [all …]
|
/aoo42x/main/tools/inc/tools/ |
H A D | table.hxx | 48 sal_Bool Insert( sal_uIntPtr nKey, void* p ); 49 void* Remove( sal_uIntPtr nKey ); 50 void* Replace( sal_uIntPtr nKey, void* p ); 51 void* Get( sal_uIntPtr nKey ) const; 59 sal_Bool IsKeyValid( sal_uIntPtr nKey ) const; 68 void* Seek( sal_uIntPtr nKey ); 114 Type Remove( sal_uIntPtr nKey ) \ 118 Type Get( sal_uIntPtr nKey ) const \ 119 { return (Type)Table::Get( nKey ); } \ 129 Type Seek( sal_uIntPtr nKey ) \ [all …]
|
H A D | geninfo.hxx | 131 sal_Bool SetWriteLock(sal_uInt32 nKey = 0) { return ((read==aLockState) && in SetWriteLock() argument 132 (aLockState=writeonly, nLockKey=nKey, sal_True)); } in SetWriteLock() 138 (!nLockKey||nKey==nLockKey) && in ReleaseWriteLock() 140 sal_Bool SetReadLock(sal_uInt32 nKey = 0) { return ((read==aLockState) && in SetReadLock() argument 141 (aLockState=readonly, nLockKey=nKey, sal_True)); } in SetReadLock() 143 (!nLockKey||nKey==nLockKey) && in ReleaseReadLock() 150 sal_Bool IsLocker( sal_uInt32 nKey ) { return (nKey==nLockKey || !nLockKey); } in IsLocker() argument 157 (!nLockKey || nKey==nLockKey) && in InsertSubInfo() 163 (!nLockKey || nKey==nLockKey) && in InsertSubInfo() 167 sal_Bool bCreatePath = sal_False, sal_uInt32 nKey = 0 ) { in GetSubInfo() argument [all …]
|
/aoo42x/main/i18nutil/source/utility/ |
H A D | oneToOneMapping.cxx | 49 if( nKey < mpTable[current].first ) in find() 51 else if( nKey > mpTable[current].first ) in find() 57 return sal_Unicode( nKey ); in find() 61 return sal_Unicode( nKey ); in find() 117 high = (nKey >> 8) & 0xFF; in find() 118 low = nKey & 0xFF; in find() 124 return sal_Unicode( nKey ); in find() 135 if( nKey < mpTableWF[current].first ) in find() 144 return sal_Unicode( nKey ); in find() 148 return sal_Unicode( nKey ); in find() [all …]
|
/aoo42x/main/svl/source/numbers/ |
H A D | numfmuno.cxx | 177 sal_Int32 nKey, const rtl::OUString& aString ) in detectNumberFormat() argument 187 sal_uInt32 nUKey = nKey; in detectNumberFormat() 211 sal_uInt32 nUKey = nKey; in convertStringToNumber() 316 pFormatter->GetInputLineString(fValue, nKey, aRet); in getInputString() 514 sal_uInt32 nKey = 0; in addNew() local 519 nRet = nKey; in addNew() 546 sal_uInt32 nKey = 0; in addNewConverted() local 550 if (bOk || nKey > 0) in addNewConverted() 551 nRet = nKey; in addNewConverted() 572 pFormatter->DeleteEntry(nKey); in removeByKey() [all …]
|
H A D | zforlist.cxx | 365 sal_uInt32 nKey; in ImpChangeSysCL() local 385 sal_uInt32 nKey; in ReplaceSystemCL() local 482 nKey = 0; in PutEntry() 532 nKey = nPos+1; in PutEntry() 643 return nKey; in GetIndexPuttingAndConverting() 1339 sal_uInt32 nKey; in ImpGetDefaultFormat() local 1341 while ( (nKey = aFTable.GetCurKey()) >= CLOffset && nKey < nStopKey ) in ImpGetDefaultFormat() 1571 sal_uInt32 nKey; in GetPreviewString() local 1706 sal_uInt32 nKey; in GetPreviewString() local 3215 sal_uInt32 nKey; in ImpGetDefaultCurrencyFormat() local [all …]
|
H A D | numfmuno.hxx | 66 virtual sal_Int32 SAL_CALL detectNumberFormat( sal_Int32 nKey, const ::rtl::OUString& aString ) 69 virtual double SAL_CALL convertStringToNumber( sal_Int32 nKey, const ::rtl::OUString& aString ) 72 virtual ::rtl::OUString SAL_CALL convertNumberToString( sal_Int32 nKey, double fValue ) 74 virtual ::com::sun::star::util::Color SAL_CALL queryColorForNumber( sal_Int32 nKey, 77 virtual ::rtl::OUString SAL_CALL formatString( sal_Int32 nKey, const ::rtl::OUString& aString ) 79 virtual ::com::sun::star::util::Color SAL_CALL queryColorForString( sal_Int32 nKey, 83 virtual ::rtl::OUString SAL_CALL getInputString( sal_Int32 nKey, double fValue ) 125 getByKey( sal_Int32 nKey ) throw(::com::sun::star::uno::RuntimeException); 141 virtual void SAL_CALL removeByKey( sal_Int32 nKey ) throw(::com::sun::star::uno::RuntimeException); 158 virtual sal_Int32 SAL_CALL getFormatForLocale( sal_Int32 nKey, [all …]
|
/aoo42x/main/sc/source/filter/starcalc/ |
H A D | scflt.cxx | 2214 nKey = 0; in ChangeFormat() 2219 nKey = 2; in ChangeFormat() 2229 nKey = 4; in ChangeFormat() 2240 nKey = 60; in ChangeFormat() 2299 nKey = 41; in ChangeFormat() 2302 nKey = 40; in ChangeFormat() 2305 nKey = 43; in ChangeFormat() 2308 nKey = 42; in ChangeFormat() 2311 nKey = 41; in ChangeFormat() 2316 nKey = 99; in ChangeFormat() [all …]
|
/aoo42x/main/forms/source/misc/ |
H A D | limitedformats.cxx | 87 sal_Int32 nKey; member 160 if (-1 == pFormatTable->nKey) in ensureTableInitialized() 163 if (-1 == pFormatTable->nKey) in ensureTableInitialized() 178 pLoopFormats->nKey = xStandardFormats->queryKey( in ensureTableInitialized() 184 if (-1 == pLoopFormats->nKey) in ensureTableInitialized() 186 pLoopFormats->nKey = xStandardFormats->addNew( in ensureTableInitialized() 193 xStandardFormats->getByKey(pLoopFormats->nKey); in ensureTableInitialized() 218 pResetLoop->nKey = -1; in clearTable() 272 _rValue <<= pFormats->nKey; in getFormatKeyPropertyValue() 309 _rOldValue <<= pFormats->nKey; in convertFormatKeyPropertyValue() [all …]
|
/aoo42x/main/xmloff/inc/xmloff/ |
H A D | nmspmap.hxx | 53 sal_uInt16 nKey; member in NameSpaceEntry 103 …IVATE sal_uInt16 _Add( const rtl::OUString& rPrefix, const rtl::OUString &rName, sal_uInt16 nKey ); 117 sal_uInt16 nKey = XML_NAMESPACE_UNKNOWN ); 122 const ::rtl::OUString& GetNameByKey( sal_uInt16 nKey ) const; 125 const ::rtl::OUString& GetPrefixByKey( sal_uInt16 nKey ) const; 127 ::rtl::OUString GetQNameByKey( sal_uInt16 nKey, 131 ::rtl::OUString GetAttrNameByKey( sal_uInt16 nKey ) const; 158 const ::rtl::OUString& rName, sal_uInt16 nKey = XML_NAMESPACE_UNKNOWN ); 160 const sal_Char *pName, sal_uInt16 nKey = XML_NAMESPACE_UNKNOWN ); 161 /* deprecated */ sal_uInt16 GetIndexByKey( sal_uInt16 nKey ) const;
|
H A D | xmlnumfe.hxx | 91 sal_Int32 nKey, sal_Int32 nPart ); 95 SAL_DLLPRIVATE void ExportPart_Impl( const SvNumberformat& rFormat, sal_uInt32 nKey, 98 SAL_DLLPRIVATE void ExportFormat_Impl( const SvNumberformat& rFormat, sal_uInt32 nKey ); 115 void SetUsed( sal_uInt32 nKey ); 118 ::rtl::OUString GetStyleName( sal_uInt32 nKey ); 129 sal_uInt32 ForceSystemLanguage( sal_uInt32 nKey ); 132 bool IsSystemLanguage( sal_uInt32 nKey );
|
/aoo42x/main/connectivity/source/commontools/ |
H A D | DateConversion.cxx | 247 sal_Int32 nKey, in setValue() argument 257 sal_Int32 nKeyToUse = bTextFormat ? 0 : nKey; in setValue() 421 sal_Int32 nKey(0); in getFormattedValue() local 431 if (!nKey) in getFormattedValue() 436 nKey = ::dbtools::getDefaultNumberFormat(_xColumn, in getFormattedValue() 442 sal_Int16 nKeyType = getNumberFormatType(_xFormatter, nKey) & ~NumberFormat::DEFINED; in getFormattedValue() 451 sal_Int32 nKey, in getFormattedValue() argument 483 aString = xFormatter->convertNumberToString( nKey, fValue ); in getFormattedValue() 495 aString = xFormatter->convertNumberToString(nKey, fValue); in getFormattedValue() 501 aString = xFormatter->getInputString(nKey, fValue); in getFormattedValue() [all …]
|
/aoo42x/main/sw/source/ui/docvw/ |
H A D | SidebarTxtControl.cxx | 176 sal_uInt16 nKey = rKeyCode.GetCode(); in KeyInput() local 178 ( (nKey == KEY_PAGEUP) || (nKey == KEY_PAGEDOWN) ) ) in KeyInput() 180 mrSidebarWin.SwitchToPostIt(nKey); in KeyInput() 182 else if ( nKey == KEY_ESCAPE || in KeyInput() 184 ( nKey == KEY_PAGEUP || in KeyInput() 185 nKey == KEY_PAGEDOWN ) ) ) in KeyInput() 189 else if ( nKey == KEY_INSERT ) in KeyInput() 205 if ( !( (nKey == KEY_Z || nKey == KEY_Y) && rKeyCode.IsMod1()) ) in KeyInput() 224 if ( nKey==KEY_F5 ) in KeyInput()
|
/aoo42x/main/svx/source/tbxctrls/ |
H A D | layctrl.cxx | 269 sal_uInt16 nKey = rKEvt.GetKeyCode().GetCode(); in KeyInput() local 272 if( KEY_UP == nKey || KEY_DOWN == nKey || in KeyInput() 273 KEY_LEFT == nKey || KEY_RIGHT == nKey || in KeyInput() 274 KEY_ESCAPE == nKey ||KEY_RETURN == nKey ) in KeyInput() 279 switch(nKey) in KeyInput() 320 else if(KEY_MOD1 == nModifier && KEY_RETURN == nKey) in KeyInput() 631 sal_uInt16 nKey = rKEvt.GetKeyCode().GetCode(); in KeyInput() local 634 if( KEY_LEFT == nKey || KEY_RIGHT == nKey || in KeyInput() 635 KEY_RETURN == nKey ||KEY_ESCAPE == nKey || in KeyInput() 636 KEY_UP == nKey) in KeyInput() [all …]
|
/aoo42x/main/oox/source/dump/ |
H A D | dumperbase.cxx | 1086 sal_Int64 nKey; in processConfigItem() local 1101 implSetName( nKey, rName ); in setName() 1133 implSetName( nKey, rData ); in implProcessConfigItemInt() 1138 maMap[ nKey ] = rName; in insertRawName() 1194 insertRawName( nKey, rName ); in implSetName() 1234 sal_Int64 nKey = nStartKey; in setNamesFromVec() local 1281 if( (nKey != 0) && ((nKey & (nKey - 1)) == 0) ) // only a single bit set? in implSetName() 1326 setFlag( nKey, nFound, false ); in implGetName() 1327 if( nKey != 0 ) in implGetName() 1363 if( (nKey & (nKey - 1)) != 0 ) // more than a single bit set? in implSetName() [all …]
|
/aoo42x/main/sc/inc/ |
H A D | validat.hxx | 63 sal_uInt32 nKey; // Index in Attributen member in ScValidationData 141 sal_uInt32 GetKey() const { return nKey; } in GetKey() 142 void SetKey(sal_uInt32 nNew) { nKey = nNew; } // nur wenn nicht eingefuegt! in SetKey() 151 sal_Bool operator ==( const ScValidationData& r ) const { return nKey == r.nKey; } in operator ==() 152 sal_Bool operator < ( const ScValidationData& r ) const { return nKey < r.nKey; } in operator <() 194 ScValidationData* GetData( sal_uInt32 nKey );
|
H A D | conditio.hxx | 207 sal_uInt32 nKey; // Index in Attributen member in ScConditionalFormat 243 sal_uInt32 GetKey() const { return nKey; } in GetKey() 244 void SetKey(sal_uInt32 nNew) { nKey = nNew; } // nur wenn nicht eingefuegt! in SetKey() 253 sal_Bool operator ==( const ScConditionalFormat& r ) const { return nKey == r.nKey; } in operator ==() 254 sal_Bool operator < ( const ScConditionalFormat& r ) const { return nKey < r.nKey; } in operator <() 277 ScConditionalFormat* GetFormat( sal_uInt32 nKey );
|
/aoo42x/main/sw/source/core/doc/ |
H A D | docsort.cxx | 158 for(sal_uInt16 nKey = 0; nKey < pOptions->aKeys.Count(); ++nKey) in operator <() local 162 const SwSortKey* pSrtKey = pOptions->aKeys[ nKey ]; in operator <() 170 double n1 = pOrig->GetValue( nKey ); in operator <() 171 double n2 = pCmp->GetValue( nKey ); in operator <() 192 pOrig->GetKey( nKey ), pCmp->GetKey( nKey )); in operator <() 202 double SwSortElement::GetValue( sal_uInt16 nKey ) const in GetValue() 204 return StrToDouble( GetKey( nKey )); in GetValue() 274 String SwSortBoxElement::GetKey(sal_uInt16 nKey) const in GetKey() 277 sal_uInt16 nCol = pOptions->aKeys[nKey]->nColumnId-1; in GetKey() 306 sal_uInt16 nCol = pOptions->aKeys[nKey]->nColumnId-1; in GetValue() [all …]
|
/aoo42x/main/oox/inc/oox/dump/ |
H A D | dumperbase.hxx | 596 sal_Int64 nKey, 645 void setName( sal_Int64 nKey, const String& rName ); 652 inline bool hasName( Type nKey ) const in hasName() 653 { return maMap.count( static_cast< sal_Int64 >( nKey ) ) != 0; } in hasName() 657 inline ::rtl::OUString getName( const Config& rCfg, Type nKey ) const in getName() 658 { return implGetName( rCfg, static_cast< sal_Int64 >( nKey ) ); } in getName() 681 sal_Int64 nKey, 696 const ::rtl::OUString* findRawName( sal_Int64 nKey ) const; 816 inline explicit ExtItemFormatKey( sal_Int64 nKey ) : mnKey( nKey ), maFilter( 0, 0 ) {} in ExtItemFormatKey() 1066 bool Config::hasName( const NameListWrapper& rListWrp, Type nKey ) const in hasName() [all …]
|
/aoo42x/main/sc/source/core/data/ |
H A D | documen4.cxx | 564 sal_uLong nKey = pForm->GetKey(); in AddCondFormat() local 566 return nKey; in AddCondFormat() 567 if ( nKey > nMax ) in AddCondFormat() 568 nMax = nKey; in AddCondFormat() 593 sal_uLong nKey = pData->GetKey(); in AddValidationEntry() local 595 return nKey; in AddValidationEntry() 596 if ( nKey > nMax ) in AddValidationEntry() 597 nMax = nKey; in AddValidationEntry() 690 pTab[i]->FindConditionalFormat( nKey, rRanges ); in FindConditionalFormat() 696 pTab[nTab]->FindConditionalFormat( nKey, rRanges ); in FindConditionalFormat() [all …]
|
/aoo42x/main/svx/source/items/ |
H A D | numfmtsh.cxx | 863 sal_uInt32 nKey = pCurFmtTable->GetCurKey(); in FillEListWithSysCurrencys() local 867 if ( !IsRemoved_Impl( nKey )) in FillEListWithSysCurrencys() 876 pFormatter->GetNewCurrencySymbolString(nKey,rSymbol, in FillEListWithSysCurrencys() 893 aCurEntryList.Insert( nKey, aCurEntryList.Count() ); in FillEListWithSysCurrencys() 968 sal_uInt32 nKey = pCurFmtTable->GetCurKey(); in FillEListWithUserCurrencys() local 972 if ( !IsRemoved_Impl( nKey ) ) in FillEListWithUserCurrencys() 1011 aKeyList.Insert( nKey, aKeyList.Count() ); in FillEListWithUserCurrencys() 1126 sal_uInt32 nKey = pCurFmtTable->GetCurKey(); in FillEListWithUsD_Impl() local 1130 if ( !IsRemoved_Impl( nKey ) ) in FillEListWithUsD_Impl() 1185 if ( aDelList[i] == nKey ) in IsRemoved_Impl() [all …]
|