Home
last modified time | relevance | path

Searched refs:nIndex (Results 201 – 225 of 1876) sorted by relevance

12345678910>>...76

/trunk/main/sw/source/core/unocore/
H A Dunocoll.cxx634 if(0 <= nIndex && GetDoc()->GetTblFrmFmtCount(sal_True) > nIndex) in getByIndex()
977 if(nIndex < 0 || nIndex >= USHRT_MAX) in getByIndex()
1234 nIndex ++; in getByIndex()
1235 else if(nIndex == i) in getByIndex()
1237 if(nIndex == i) in getByIndex()
1240 if(nIndex >= 0 && nIndex < rFmts.Count()) in getByIndex()
1301 sal_uInt16 nIndex = 0; in getElementNames() local
1307 pFmt = rFmts[++nIndex]; in getElementNames()
1407 if(nIndex < 0 || nIndex >= pMarkAccess->getBookmarksCount()) in getByIndex()
1600 if(nCount == nIndex) in getByIndex()
[all …]
/trunk/main/writerfilter/unocomponent/debugservices/doctok/
H A DDocTokAnalyzeService.cxx76 sal_Int32 nIndex = mString.indexOf(mCRLF); in getEOLIndex() local
78 if (nIndex == -1) in getEOLIndex()
83 return nIndex; in getEOLIndex()
106 sal_Int32 nIndex = getEOLIndex(); in getURL() local
108 while (nIndex == -1) in getURL()
126 nIndex = getEOLIndex(); in getURL()
132 if (nIndex > 0) in getURL()
134 aResult = mString.copy(0, nIndex); in getURL()
136 if (mString.match(mCRLF, nIndex)) in getURL()
137 mString = mString.copy(nIndex + 2); in getURL()
[all …]
/trunk/main/vbahelper/source/msforms/
H A Dvbalistbox.cxx47 sal_Int32 nIndex = 0; in setListIndex() local
48 _value >>= nIndex; in setListIndex()
148 sal_Int16 nIndex = static_cast< sal_Int16 >( index ); in Selected() local
149 if( nIndex < 0 || nIndex >= nLength ) in Selected()
152 m_nIndex = nIndex; in Selected()
189 sal_Int16 nIndex = m_nIndex; in setValueEvent() local
192 if( nList[i] == nIndex ) in setValueEvent()
214 nList[nLength] = nIndex; in setValueEvent()
219 nList[0] = nIndex; in setValueEvent()
236 sal_Int32 nIndex = m_nIndex; in getValueEvent() local
[all …]
/trunk/main/framework/source/classes/
H A Dfwktabwindow.cxx244 bool FwkTabWindow::RemoveEntry( sal_Int32 nIndex ) in RemoveEntry() argument
251 if ( (*pIt)->m_nIndex == nIndex ) in RemoveEntry()
266 TabEntry* FwkTabWindow::FindEntry( sal_Int32 nIndex ) const in FindEntry()
275 if ( (*pIt)->m_nIndex == nIndex ) in FindEntry()
366 TabEntry* pEntry = new TabEntry( nIndex, sPageURL, xEventHdl ); in AddTabPage()
368 sal_uInt16 nIdx = static_cast< sal_uInt16 >( nIndex ); in AddTabPage()
382 void FwkTabWindow::ActivatePage( sal_Int32 nIndex ) in ActivatePage() argument
384 m_aTabCtrl.SetCurPageId( static_cast< sal_uInt16 >( nIndex ) ); in ActivatePage()
390 void FwkTabWindow::RemovePage( sal_Int32 nIndex ) in RemovePage() argument
392 TabEntry* pEntry = FindEntry(nIndex); in RemovePage()
[all …]
/trunk/main/bridges/source/cpp_uno/mingw_intel/
H A Duno2cpp.cxx309 sal_Int32 nIndex = pTempIndizes[nTempIndizes]; in cpp_call() local
312 if (pParams[nIndex].bIn) in cpp_call()
314 if (pParams[nIndex].bOut) // inout in cpp_call()
316 uno_destructData( pUnoArgs[nIndex], pParamTypeDescr, 0 ); // destroy uno value in cpp_call()
317 uno_copyAndConvertData( pUnoArgs[nIndex], pCppArgs[nIndex], pParamTypeDescr, in cpp_call()
323 uno_copyAndConvertData( pUnoArgs[nIndex], pCppArgs[nIndex], pParamTypeDescr, in cpp_call()
327 uno_destructData( pCppArgs[nIndex], pParamTypeDescr, cpp_release ); in cpp_call()
329 free( pCppArgs[nIndex] ); in cpp_call()
350 sal_Int32 nIndex = pTempIndizes[nTempIndizes]; in cpp_call() local
352 uno_destructData( pCppArgs[nIndex], ppTempParamTypeDescr[nTempIndizes], cpp_release ); in cpp_call()
[all …]
/trunk/main/idlc/source/
H A Dscanner.ll408 sal_Int32 nIndex = 0;
410 do { docu.getToken( 0, '\n', nIndex ); count++; } while( nIndex != -1 );
441 sal_Int32 nIndex = 0;
443 do { docu.getToken( 0, '\n', nIndex ); count++; } while( nIndex != -1 );
445 if ( (nIndex = docu.indexOf("/*")) >= 0 || (nIndex = docu.indexOf("///")) >= 0 )
447 if ( 0 != nIndex &&
448 (docu.getStr()[nIndex - 1] != '"' && docu.getStr()[nIndex - 1] != ':') )
458 sal_Int32 nIndex = 0;
460 do { docu.getToken( 0, '\n', nIndex ); count++; } while( nIndex != -1 );
464 if ( 0 != nIndex &&
[all …]
/trunk/main/sc/source/ui/unoobj/
H A Dafmtuno.cxx221 if (pFormats && nIndex < pFormats->GetCount()) in GetObjectByIndex_Impl()
222 return new ScAutoFormatObj(nIndex); in GetObjectByIndex_Impl()
233 sal_uInt16 nIndex; in GetObjectByName_Impl() local
235 return GetObjectByIndex_Impl(nIndex); in GetObjectByName_Impl()
315 sal_uInt16 nIndex; in removeByName() local
318 pFormats->AtFree( nIndex ); in removeByName()
423 ScAutoFormatObj::ScAutoFormatObj(sal_uInt16 nIndex) : in ScAutoFormatObj() argument
425 nFormatIndex( nIndex ) in ScAutoFormatObj()
503 if ( IsInserted() && nIndex < SC_AF_FIELD_COUNT ) in GetObjectByIndex_Impl()
504 return new ScAutoFormatFieldObj( nFormatIndex, nIndex ); in GetObjectByIndex_Impl()
[all …]
H A Dlinkuno.cxx431 if ( nCount == nIndex ) in GetObjectByIndex_Impl()
961 if ( pDocShell && nIndex >= 0 && nIndex < getCount() ) in GetObjectByIndex_Impl()
962 return new ScAreaLinkObj( pDocShell, (sal_uInt16)nIndex ); in GetObjectByIndex_Impl()
1306 if ( nIndex <= USHRT_MAX && in GetObjectByIndex_Impl()
1352 uno::Any SAL_CALL ScDDELinksObj::getByIndex( sal_Int32 nIndex ) in getByIndex() argument
1494 mnIndex(nIndex) in ScExternalSheetCacheObj()
1608 size_t nIndex = 0; in addSheetCache() local
1622 size_t nIndex = 0; in getByName() local
1685 size_t nIndex = 0; in getByIndex() local
1799 …if (nIndex > ::std::numeric_limits<sal_uInt16>::max() || nIndex < ::std::numeric_limits<sal_uInt16… in getByIndex()
[all …]
/trunk/main/sfx2/source/sidebar/
H A DTheme.cxx84 const sal_Int32 nIndex (GetIndex(eItem, eType)); in GetImage() local
86 return rTheme.maImages[nIndex]; in GetImage()
97 return rTheme.maColors[nIndex]; in GetColor()
99 return rTheme.maPaints[nIndex].GetColor(); in GetColor()
111 return rTheme.maPaints[nIndex]; in GetPaint()
127 return rTheme.maIntegers[nIndex]; in GetInteger()
137 return rTheme.maBooleans[nIndex]; in GetBoolean()
147 return rTheme.maRectangles[nIndex]; in GetRectangle()
1062 maColors[nIndex] = Color(nColorValue); in ProcessNewValue()
1076 maIntegers[nIndex] = nValue; in ProcessNewValue()
[all …]
H A DTabBar.cxx128 sal_Int32 nIndex (0); in SetDecks() local
142 Item& rItem (maItems[nIndex++]); in SetDecks()
324 const ::rtl::OUString TabBar::GetDeckIdForIndex (const sal_Int32 nIndex) const in GetDeckIdForIndex()
326 if (nIndex<0 || static_cast<size_t>(nIndex)>=maItems.size()) in GetDeckIdForIndex()
329 return maItems[nIndex].msDeckId; in GetDeckIdForIndex()
335 void TabBar::ToggleHideFlag (const sal_Int32 nIndex) in ToggleHideFlag() argument
337 if (nIndex<0 || static_cast<size_t>(nIndex)>=maItems.size()) in ToggleHideFlag()
341 maItems[nIndex].mbIsHidden = ! maItems[nIndex].mbIsHidden; in ToggleHideFlag()
343 maItems[nIndex].msDeckId, in ToggleHideFlag()
344 maItems[nIndex].mbIsHidden); in ToggleHideFlag()
/trunk/main/framework/source/services/
H A Dsubstitutepathvars.cxx370 sal_Int32 nIndex = aTemp.indexOf( '.' ); in GetDNSDomainName() local
371 if ( nIndex >= 0 && aTemp.getLength() > nIndex+1 ) in GetDNSDomainName()
415 for ( sal_uInt32 nIndex = 0; nIndex < nCount; nIndex++ ) in FilterRuleSet() local
417 const SubstituteRule& aRule = aRuleSet[nIndex]; in FilterRuleSet()
559 for ( sal_Int32 nIndex = 0; nIndex < aEnvironmentVariable.getLength(); nIndex++ ) in ReadSharePointRuleSetFromConfiguration() local
561 if ( aEnvUsedValueSeq[nIndex] >>= aEnvUsedValue ) in ReadSharePointRuleSetFromConfiguration()
563 aEnvUsed = aEnvironmentVariable[nIndex]; in ReadSharePointRuleSetFromConfiguration()
845 if ( nIndex == PREDEFVAR_WORK && !bWorkRetrieved ) in impl_substituteVariable()
862 ( !aFixedVarTable[ int( nIndex ) ].bAbsPath )) in impl_substituteVariable()
1120 PreDefVariable nIndex = (PreDefVariable)pNTOIIter->second; in impl_getSubstituteVariableValue() local
[all …]
/trunk/main/editeng/source/editeng/
H A Deditdoc.cxx528 nIndex = nIndex + pPortion->GetLen(); in CalcTextSize()
587 if ( nIndex > pNode->Len() ) in DbgIsBuggy()
689 nIndex = rPaM.nIndex; in operator =()
779 else if ( ( pAttrib->GetStart() < nIndex ) && ( pAttrib->GetEnd() > nIndex ) ) in ExpandAttribs()
795 if ( nIndex == 0 ) in ExpandAttribs()
853 sal_Bool bSep = ( GetChar( nIndex ) == ' ' ) || IsFeature( nIndex ); in ExpandAttribs()
897 else if ( ( pAttrib->GetStart() <= nIndex ) && ( pAttrib->GetEnd() > nIndex ) ) in CollapsAttribs()
1408 while ( nIndex < nEndPos ) in GetParaAsString()
1419 if (nEnd > nIndex) in GetParaAsString()
1420 aStr += XubString( *pNode, nIndex, nEnd - nIndex ); in GetParaAsString()
[all …]
/trunk/main/accessibility/source/standard/
H A Dvclxaccessiblescrollbar.cxx143 sal_Bool VCLXAccessibleScrollBar::doAccessibleAction ( sal_Int32 nIndex ) throw (IndexOutOfBoundsEx… in doAccessibleAction() argument
147 if ( nIndex < 0 || nIndex >= getAccessibleActionCount() ) in doAccessibleAction()
155 switch ( nIndex ) in doAccessibleAction()
172 ::rtl::OUString VCLXAccessibleScrollBar::getAccessibleActionDescription ( sal_Int32 nIndex ) throw … in getAccessibleActionDescription() argument
176 if ( nIndex < 0 || nIndex >= getAccessibleActionCount() ) in getAccessibleActionDescription()
181 switch ( nIndex ) in getAccessibleActionDescription()
195 …ding > VCLXAccessibleScrollBar::getAccessibleActionKeyBinding( sal_Int32 nIndex ) throw (IndexOutO… in getAccessibleActionKeyBinding() argument
199 if ( nIndex < 0 || nIndex >= getAccessibleActionCount() ) in getAccessibleActionKeyBinding()
/trunk/main/chart2/source/tools/
H A DInternalData.cxx369 sal_Int32 nIndex = nAfterIndex + 1; in insertRow() local
370 aNewData[ ::std::slice( 0, nIndex * m_nColumnCount, 1 ) ] = in insertRow()
372 m_aData[ ::std::slice( 0, nIndex * m_nColumnCount, 1 ) ] ); in insertRow()
374 if( nIndex < m_nRowCount ) in insertRow()
376 sal_Int32 nRemainingCount = m_nColumnCount * (m_nRowCount - nIndex); in insertRow()
444 sal_Int32 nIndex = nAtIndex; in deleteRow() local
445 if( nIndex ) in deleteRow()
446 aNewData[ ::std::slice( 0, nIndex * m_nColumnCount, 1 ) ] = in deleteRow()
448 m_aData[ ::std::slice( 0, nIndex * m_nColumnCount, 1 ) ] ); in deleteRow()
450 if( nIndex < nNewRowCount ) in deleteRow()
[all …]
/trunk/main/connectivity/source/commontools/
H A DAutoRetrievingBase.cxx41 sal_Int32 nIndex = 0; in getTransformedGeneratedStatement() local
42 nIndex = sStatement.indexOf(sColumn,nIndex); in getTransformedGeneratedStatement()
43 if ( -1 != nIndex ) in getTransformedGeneratedStatement()
46 nIndex = 0; in getTransformedGeneratedStatement()
47 nIndex = sStatement.indexOf(sTable,nIndex); in getTransformedGeneratedStatement()
48 if ( -1 != nIndex ) in getTransformedGeneratedStatement()
61 sStatement = sStatement.replaceAt(nIndex,sTable.getLength(),sTableName); in getTransformedGeneratedStatement()
H A Ddbconversion.cxx418 sal_Int32 nIndex = 0; in toDate() local
422 nYear = (sal_uInt16)_sSQLString.getToken(0,sDateSep,nIndex).toInt32(); in toDate()
423 if(nIndex != -1) in toDate()
425 nMonth = (sal_uInt16)_sSQLString.getToken(0,sDateSep,nIndex).toInt32(); in toDate()
426 if(nIndex != -1) in toDate()
455 sal_Int32 nIndex = 0; in toTime() local
460 nHour = (sal_uInt16)_sSQLString.getToken(0,sTimeSep,nIndex).toInt32(); in toTime()
461 if(nIndex != -1) in toTime()
464 if(nIndex != -1) in toTime()
467 nIndex = 0; in toTime()
[all …]
/trunk/main/sc/source/core/data/
H A Ddptablecache.cxx67 SCROW nIndex; in lcl_Search() local
71 nIndex = (nLo + nHi) / 2; in lcl_Search()
74 nLo = nIndex + 1; in lcl_Search()
77 nHi = nIndex - 1; in lcl_Search()
81 nLo = nIndex; in lcl_Search()
745 xub_StrLen nIndex; in ValidQuery() local
748 if(bHasStar && (nIndex>0)) in ValidQuery()
867 SCROW nIndex = 0; in AddData() local
925 long nIndex = 1; in AddLabel() local
934 nIndex ++ ; in AddLabel()
[all …]
/trunk/main/basegfx/source/polygon/
H A Db3dpolygontools.cxx61 if(nIndex) in getIndexOfPredecessor()
63 return nIndex - 1L; in getIndexOfPredecessor()
71 return nIndex; in getIndexOfPredecessor()
79 if(nIndex + 1L < rCandidate.count()) in getIndexOfSuccessor()
81 return nIndex + 1L; in getIndexOfSuccessor()
230 if(nIndex < nPointCount) in getEdgeLength()
274 sal_uInt32 nIndex(0L); in getPositionAbsolute() local
315 nIndex = nPointCount - 1L; in getPositionAbsolute()
326 fEdgeLength = getEdgeLength(rCandidate, nIndex); in getPositionAbsolute()
332 nIndex++; in getPositionAbsolute()
[all …]
/trunk/main/vcl/unx/headless/
H A Dsvpprn.cxx53 sal_Int32 nIndex = 0; in getPdfDir() local
54 while( nIndex != -1 ) in getPdfDir()
254 sal_Int32 nIndex = 0; in sendAFax() local
258 while( nIndex != -1 ) in sendAFax()
260 nIndex = aFaxes.indexOf( aBeginToken, nIndex ); in sendAFax()
261 if( nIndex != -1 ) in sendAFax()
264 nIndex = aFaxes.indexOf( aEndToken, nIndex ); in sendAFax()
399 sal_Int32 nIndex = 0; in GetPrinterQueueInfo() local
400 while( nIndex != -1 ) in GetPrinterQueueInfo()
871 sal_Int32 nIndex = 0; in StartJob() local
[all …]
/trunk/main/svx/source/sidebar/
H A DSelectionAnalyzer.cxx327 for (sal_uLong nIndex=1; nIndex<nMarkCount; ++nIndex) in GetInventorTypeFromMark() local
329 pMark = rMarkList.GetMark(nIndex); in GetInventorTypeFromMark()
364 for (sal_uInt16 nIndex=1; nIndex<nSubObjCount; ++nIndex) in GetObjectTypeFromGroup() local
366 pObj = pObjList->GetObj(nIndex); in GetObjectTypeFromGroup()
418 for (sal_uLong nIndex=1; nIndex<nMarkCount; ++nIndex) in GetObjectTypeFromMark() local
420 pMark = rMarkList.GetMark(nIndex); in GetObjectTypeFromMark()
/trunk/main/xmloff/source/text/
H A Dtxtimppr.cxx59 sal_Int32 nIndex = rProperty.mnIndex; in handleSpecialItem() local
69 getPropertySetMapper()->GetEntryContextId(nIndex+1) && in handleSpecialItem()
71 getPropertySetMapper()->GetEntryContextId(nIndex+2) && in handleSpecialItem()
73 getPropertySetMapper()->GetEntryContextId(nIndex+3) && in handleSpecialItem()
75 getPropertySetMapper()->GetEntryContextId(nIndex+4) && in handleSpecialItem()
79 getPropertySetMapper()->GetEntryContextId(nIndex+1) && in handleSpecialItem()
81 getPropertySetMapper()->GetEntryContextId(nIndex+2) && in handleSpecialItem()
83 getPropertySetMapper()->GetEntryContextId(nIndex+3) && in handleSpecialItem()
85 getPropertySetMapper()->GetEntryContextId(nIndex+4) && in handleSpecialItem()
89 getPropertySetMapper()->GetEntryContextId(nIndex+1) && in handleSpecialItem()
[all …]
/trunk/main/ooxml/source/framework/SchemaParser/src/org/apache/openoffice/ooxml/schema/automaton/
H A DValidatingCreator.java440 int nIndex = 0; in Visit() local
454 for (; nIndex<=aOccurrence.GetMinimum(); ++nIndex) in Visit()
459 nIndex-1, in Visit()
460 nIndex, in Visit()
492 for (; nIndex<=aOccurrence.GetMaximum(); ++nIndex) in Visit()
494 if (nIndex > 0) in Visit()
497 maLog.AddComment("Occurrence: make %d optional (maximum)", nIndex-1); in Visit()
504 nIndex-1, in Visit()
505 nIndex, in Visit()
739 for (int nIndex=0; aChildren.hasNext(); ++nIndex) in GetAllReplacement()
[all …]
/trunk/main/drawinglayer/source/animation/
H A Danimationtiming.cxx175 sal_uInt32 nIndex(0L); in impGetIndexAtTime() local
177 …while(nIndex < maEntries.size() && basegfx::fTools::lessOrEqual(rfAddedTime + maEntries[nIndex]->g… in impGetIndexAtTime()
179 rfAddedTime += maEntries[nIndex++]->getDuration(); in impGetIndexAtTime()
182 return nIndex; in impGetIndexAtTime()
251 const sal_uInt32 nIndex(impGetIndexAtTime(fTime, fAddedTime)); in getStateAtTime() local
253 if(nIndex < maEntries.size()) in getStateAtTime()
255 return maEntries[nIndex]->getStateAtTime(fTime - fAddedTime); in getStateAtTime()
269 const sal_uInt32 nIndex(impGetIndexAtTime(fTime, fAddedTime)); in getNextEventTime() local
271 if(nIndex < maEntries.size()) in getNextEventTime()
273 fNewTime = maEntries[nIndex]->getNextEventTime(fTime - fAddedTime) + fAddedTime; in getNextEventTime()
/trunk/main/testtools/source/bridgetest/pyuno/
H A Dimpl.py53 self.nIndex = 0
61 if( nByteCount + self.nIndex > len(self.s) ):
62 nByteCount = len(self.s) - self.nIndex
63 self.nIndex += nByteCount
67 if( self.nIndex + nByteCount > len(self.s) ):
68 nRet = len(self.s) - self.nIndex
71 retSeq = uno.ByteSequence(self.s.value[self.nIndex : self.nIndex + nRet ])
72 self.nIndex = self.nIndex + nRet
80 return len( self.s ) - self.nIndex
/trunk/main/sc/source/ui/vba/
H A Dvbainterior.cxx159 sal_Int32 nIndex = 0; in setColorIndex() local
160 _colorindex >>= nIndex; in setColorIndex()
163 if( nIndex == excel::XlColorIndex::xlColorIndexNone ) in setColorIndex()
172 setColor( OORGBToXLRGB( GetIndexColor( nIndex ) ) ); in setColorIndex()
178 sal_Int32 nIndex = nColorIndex; in GetIndexColor() local
181 …if ( !nIndex || ( nIndex == excel::XlColorIndex::xlColorIndexAutomatic ) || ( nIndex == excel::XlC… in GetIndexColor()
183 --nIndex; // OOo indices are zero bases in GetIndexColor()
185 return xIndex->getByIndex( nIndex ); in GetIndexColor()
193 sal_Int32 nIndex = -1; in GetColorIndex() local
200 nIndex = count + 1; // 1 based in GetColorIndex()
[all …]

Completed in 194 milliseconds

12345678910>>...76