Home
last modified time | relevance | path

Searched refs:nKey (Results 1 – 25 of 170) sorted by relevance

1234567

/AOO41X/main/xmloff/source/core/
H A Dnmspmap.cxx91 sal_uInt16 SvXMLNamespaceMap::_Add( const OUString& rPrefix, const OUString &rName, sal_uInt16 nKey in _Add() argument
93 if( XML_NAMESPACE_UNKNOWN == nKey ) in _Add()
96 nKey = XML_NAMESPACE_UNKNOWN_FLAG; in _Add()
99 NameSpaceMap::const_iterator aIter = aNameMap.find ( nKey ); in _Add()
102 nKey++; in _Add()
108 pEntry->nKey = nKey; in _Add()
111 aNameMap [ nKey ] = pEntry; in _Add()
112 return nKey; in _Add()
116 sal_uInt16 nKey ) in Add() argument
118 if( XML_NAMESPACE_UNKNOWN == nKey ) in Add()
[all …]
/AOO41X/main/tools/source/memtools/
H A Dtable.cxx36 sal_uIntPtr Table::ImplGetIndex( sal_uIntPtr nKey, sal_uIntPtr* pIndex ) const in ImplGetIndex() argument
39 if ( !nCount || (nKey < (sal_uIntPtr)Container::ImpGetObject(0)) ) in ImplGetIndex()
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()
111 sal_Bool Table::Insert( sal_uIntPtr nKey, void* p ) in Insert() argument
126 while ( nKey > nCompareKey ) in Insert()
140 if ( nKey == nCompareKey ) in Insert()
[all …]
/AOO41X/main/vcl/unx/generic/app/
H A Dsaldisp.cxx1280 sal_uInt16 nKey = 0; in GetKeyCode() local
1283 nKey = (sal_uInt16)(KEY_A + (keysym - XK_a)); in GetKeyCode()
1285 nKey = (sal_uInt16)(KEY_A + (keysym - XK_A)); in GetKeyCode()
1287 nKey = (sal_uInt16)(KEY_0 + (keysym - XK_0)); in GetKeyCode()
1294 nKey = (sal_uInt16)(KEY_0 + (keysym - XK_KP_0)); in GetKeyCode()
1295 *pcPrintable = '0' + nKey - KEY_0; in GetKeyCode()
1298 nKey = (sal_uInt16)(KEY_F1 + (keysym - XK_KP_F1)); in GetKeyCode()
1302 nKey = KEY_SPACE; in GetKeyCode()
1306 nKey = KEY_TAB; in GetKeyCode()
1309 nKey = KEY_RETURN; in GetKeyCode()
[all …]
/AOO41X/main/xmloff/source/style/
H A Dxmlnumfe.cxx100 void SetUsed( sal_uInt32 nKey );
101 sal_Bool IsUsed( sal_uInt32 nKey ) const;
102 sal_Bool IsWasUsed( sal_uInt32 nKey ) const;
105 sal_Bool GetFirstUsed(sal_uInt32& nKey);
106 sal_Bool GetNextUsed(sal_uInt32& nKey);
147 void SvXMLNumUsedList_Impl::SetUsed( sal_uInt32 nKey ) in SetUsed() argument
149 if ( !IsWasUsed(nKey) ) in SetUsed()
151 std::pair<SvXMLuInt32Set::iterator, bool> aPair = aUsed.insert( nKey ); in SetUsed()
157 sal_Bool SvXMLNumUsedList_Impl::IsUsed( sal_uInt32 nKey ) const in IsUsed()
159 SvXMLuInt32Set::const_iterator aItr = aUsed.find(nKey); in IsUsed()
[all …]
H A Dxmlnumfi.cxx63 sal_uInt32 nKey; member
67 aName(rN), nKey(nK), bRemoveAfterUse(bR) {} in SvXMLNumFmtEntry()
119 …void AddKey( sal_uInt32 nKey, const rtl::OUString& rName, sal_Bool bRemoveAfter…
120 void SetUsed( sal_uInt32 nKey );
426 return pObj->nKey; // found in GetKeyForName()
431 void SvXMLNumImpData::AddKey( sal_uInt32 nKey, const rtl::OUString& rName, sal_Bool bRemoveAfterUse… in AddKey() argument
442 if ( pObj->nKey == nKey && !pObj->bRemoveAfterUse ) in AddKey()
452 SetUsed( nKey ); in AddKey()
455 SvXMLNumFmtEntry* pObj = new SvXMLNumFmtEntry( rName, nKey, bRemoveAfterUse ); in AddKey()
459 void SvXMLNumImpData::SetUsed( sal_uInt32 nKey ) in SetUsed() argument
[all …]
/AOO41X/main/tools/inc/tools/
H A Dtable.hxx41 …TOOLS_DLLPRIVATE sal_uIntPtr ImplGetIndex( sal_uIntPtr nKey, sal_uIntPtr* pIndex = NULL ) const;
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;
66 sal_uIntPtr SearchKey( sal_uIntPtr nKey, sal_uIntPtr* pPos = NULL ) const;
68 void* Seek( sal_uIntPtr nKey );
112 sal_Bool Insert( sal_uIntPtr nKey, Type p ) \
113 { return Table::Insert( nKey, (void*)p ); } \
[all …]
H A Dgeninfo.hxx131 sal_Bool SetWriteLock(sal_uInt32 nKey = 0) { return ((read==aLockState) && in SetWriteLock() argument
132 (aLockState=writeonly, nLockKey=nKey, sal_True)); } in SetWriteLock()
137 sal_Bool ReleaseWriteLock(sal_uInt32 nKey = 0) { return ((writeonly==aLockState) && in ReleaseWriteLock() argument
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()
142 sal_Bool ReleaseReadLock(sal_uInt32 nKey = 0) { return ((readonly==aLockState) && in ReleaseReadLock() argument
143 (!nLockKey||nKey==nLockKey) && in ReleaseReadLock()
150 sal_Bool IsLocker( sal_uInt32 nKey ) { return (nKey==nLockKey || !nLockKey); } in IsLocker() argument
155 sal_Bool InsertSubInfo( GenericInformation *pInfo, sal_uInt32 nKey = 0 ) { in InsertSubInfo() argument
[all …]
/AOO41X/main/i18nutil/source/utility/
H A DoneToOneMapping.cxx38 sal_Unicode oneToOneMapping::find(const sal_Unicode nKey) const in find()
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()
109 sal_Unicode oneToOneMappingWithFlag::find( const sal_Unicode nKey ) const 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()
[all …]
/AOO41X/main/svl/source/numbers/
H A Dnumfmuno.cxx177 sal_Int32 nKey, const rtl::OUString& aString ) in detectNumberFormat() argument
187 sal_uInt32 nUKey = nKey; in detectNumberFormat()
201 sal_Int32 nKey, const rtl::OUString& aString ) in convertStringToNumber() argument
211 sal_uInt32 nUKey = nKey; in convertStringToNumber()
225 sal_Int32 nKey, double fValue ) throw(uno::RuntimeException) in convertNumberToString() argument
234 pFormatter->GetOutputString(fValue, nKey, aRet, &pColor); in convertNumberToString()
242 util::Color SAL_CALL SvNumberFormatterServiceObj::queryColorForNumber( sal_Int32 nKey, in queryColorForNumber() argument
254 pFormatter->GetOutputString(fValue, nKey, aStr, &pColor); in queryColorForNumber()
265 rtl::OUString SAL_CALL SvNumberFormatterServiceObj::formatString( sal_Int32 nKey, in formatString() argument
276 pFormatter->GetOutputString(aTemp, nKey, aRet, &pColor); in formatString()
[all …]
H A Dzforlist.cxx365 sal_uInt32 nKey; in ImpChangeSysCL() local
367 while ( (nKey = aFTable.GetCurKey()) > SV_MAX_ANZ_STANDARD_FORMATE && in ImpChangeSysCL()
368 nKey < SV_COUNTRY_LANGUAGE_OFFSET ) in ImpChangeSysCL()
370 SvNumberformat* pEntry = (SvNumberformat*) aFTable.Remove( nKey ); in ImpChangeSysCL()
385 sal_uInt32 nKey; in ReplaceSystemCL() local
389 while ( (nKey = aFTable.GetCurKey()) >= nCLOffset && nKey <= nMaxBuiltin && aFTable.Count() ) in ReplaceSystemCL()
391 SvNumberformat* pEntry = (SvNumberformat*) aFTable.Remove( nKey ); in ReplaceSystemCL()
397 while ( (nKey = aFTable.GetCurKey()) >= nCLOffset && nKey < nNextCL && aFTable.Count() ) in ReplaceSystemCL()
399 SvNumberformat* pEntry = (SvNumberformat*) aFTable.Remove( nKey ); in ReplaceSystemCL()
400 aOldTable.Insert( nKey, pEntry ); in ReplaceSystemCL()
[all …]
H A Dnumfmuno.hxx66 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 …]
/AOO41X/main/forms/source/misc/
H A Dlimitedformats.cxx87 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()
304 (NULL != pFormats->pDescription) && (nNewFormat != pFormats->nKey); in convertFormatKeyPropertyValue()
[all …]
/AOO41X/main/sc/source/filter/starcalc/
H A Dscflt.cxx1378 sal_uLong nKey = 0; in LoadPatternCollection() local
1379 ChangeFormat( pPattern->ValueFormat.Format, pPattern->ValueFormat.Info, nKey ); in LoadPatternCollection()
1380 rItemSet.Put( SfxUInt32Item( ATTR_VALUE_FORMAT, ( sal_uInt32 ) nKey ) ); in LoadPatternCollection()
2129 sal_uLong nKey = 0; in LoadColAttr() local
2132 ChangeFormat(nFormat, nInfo, nKey); in LoadColAttr()
2134 aScPattern.GetItemSet().Put(SfxUInt32Item(ATTR_VALUE_FORMAT, (sal_uInt32)nKey)); in LoadColAttr()
2210 void Sc10Import::ChangeFormat(sal_uInt16 nFormat, sal_uInt16 nInfo, sal_uLong& nKey) in ChangeFormat() argument
2214 nKey = 0; in ChangeFormat()
2219 nKey = 2; in ChangeFormat()
2223 nKey = 21; in ChangeFormat()
[all …]
/AOO41X/main/xmloff/inc/xmloff/
H A Dnmspmap.hxx53 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 Dxmlnumfe.hxx91 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 );
/AOO41X/main/connectivity/source/commontools/
H A DDateConversion.cxx247 sal_Int32 nKey, in setValue() argument
257 sal_Int32 nKeyToUse = bTextFormat ? 0 : nKey; in setValue()
421 sal_Int32 nKey(0); in getFormattedValue() local
424 …mn->getPropertyValue(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_FORMATKEY)) >>= nKey; in getFormattedValue()
431 if (!nKey) in getFormattedValue()
436 nKey = ::dbtools::getDefaultNumberFormat(_xColumn, in getFormattedValue()
442 sal_Int16 nKeyType = getNumberFormatType(_xFormatter, nKey) & ~NumberFormat::DEFINED; in getFormattedValue()
444 …ormattedValue(Reference< XColumn > (_xColumn, UNO_QUERY), _xFormatter, _rNullDate, nKey, nKeyType); in getFormattedValue()
451 sal_Int32 nKey, in getFormattedValue() argument
483 aString = xFormatter->convertNumberToString( nKey, fValue ); in getFormattedValue()
[all …]
/AOO41X/main/sw/source/ui/docvw/
H A DSidebarTxtControl.cxx176 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()
/AOO41X/main/svx/source/tbxctrls/
H A Dlayctrl.cxx269 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 …]
/AOO41X/main/sc/inc/
H A Dvalidat.hxx63 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 Dconditio.hxx207 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 );
/AOO41X/main/oox/source/dump/
H A Ddumperbase.cxx1086 sal_Int64 nKey; in processConfigItem() local
1087 if( StringHelper::convertStringToInt( nKey, rKey ) ) in processConfigItem()
1088 implProcessConfigItemInt( rStrm, nKey, rData ); in processConfigItem()
1099 void NameListBase::setName( sal_Int64 nKey, const String& rName ) in setName() argument
1101 implSetName( nKey, rName ); in setName()
1131 TextInputStream& /*rStrm*/, sal_Int64 nKey, const OUString& rData ) in implProcessConfigItemInt() argument
1133 implSetName( nKey, rData ); in implProcessConfigItemInt()
1136 void NameListBase::insertRawName( sal_Int64 nKey, const OUString& rName ) in insertRawName() argument
1138 maMap[ nKey ] = rName; in insertRawName()
1141 const OUString* NameListBase::findRawName( sal_Int64 nKey ) const in findRawName()
[all …]
/AOO41X/main/sw/source/core/doc/
H A Ddocsort.cxx158 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()
303 double SwSortBoxElement::GetValue( sal_uInt16 nKey ) const in GetValue()
[all …]
/AOO41X/main/oox/inc/oox/dump/
H A Ddumperbase.hxx596 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,
685 virtual void implSetName( sal_Int64 nKey, const ::rtl::OUString& rName ) = 0;
687 virtual ::rtl::OUString implGetName( const Config& rCfg, sal_Int64 nKey ) const = 0;
694 void insertRawName( sal_Int64 nKey, const ::rtl::OUString& rName );
[all …]
/AOO41X/main/comphelper/source/misc/
H A Dnumbers.cxx42 …6 getNumberFormatType(const staruno::Reference<starutil::XNumberFormats>& xFormats, sal_Int32 nKey) in getNumberFormatType() argument
49 staruno::Reference<starbeans::XPropertySet> xFormat(xFormats->getByKey(nKey)); in getNumberFormatType()
62 …tNumberFormatType(const staruno::Reference<starutil::XNumberFormatter>& xFormatter, sal_Int32 nKey) in getNumberFormatType() argument
68 return getNumberFormatType(xFormats, nKey); in getNumberFormatType()
72 …tNumberFormatDecimals(const staruno::Reference<starutil::XNumberFormats>& xFormats, sal_Int32 nKey) in getNumberFormatDecimals() argument
78 staruno::Reference<starbeans::XPropertySet> xFormat( xFormats->getByKey(nKey)); in getNumberFormatDecimals()
/AOO41X/main/offapi/com/sun/star/util/
H A DXNumberFormatter.idl79 long detectNumberFormat( [in] long nKey,
89 double convertStringToNumber( [in] long nKey,
97 string convertNumberToString( [in] long nKey,
106 com::sun::star::util::Color queryColorForNumber( [in] long nKey,
114 string formatString( [in] long nKey,
123 com::sun::star::util::Color queryColorForString( [in] long nKey,
135 string getInputString( [in] long nKey,

1234567