/aoo41x/main/idlc/source/ |
H A D | scanner.ll | 408 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 …]
|
/aoo41x/main/sw/source/core/unocore/ |
H A D | unocoll.cxx | 634 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 …]
|
/aoo41x/main/sc/source/ui/unoobj/ |
H A D | afmtuno.cxx | 221 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 D | linkuno.cxx | 431 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 …]
|
/aoo41x/main/sfx2/source/sidebar/ |
H A D | Theme.cxx | 84 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 D | TabBar.cxx | 128 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()
|
/aoo41x/main/framework/source/services/ |
H A D | substitutepathvars.cxx | 370 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 …]
|
/aoo41x/main/toolkit/test/accessibility/ |
H A D | AccessibleTreeHandler.java | 64 public AccessibleTreeNode createChild (AccessibleTreeNode aParent, int nIndex) in createChild() argument 69 if (nIndex == 0) in createChild() 75 nIndex -= 1; in createChild() 78 XAccessible xChild = mxContext.getAccessibleChild (nIndex); in createChild() 84 aChild = new StringNode ("ERROR: no child with index " + nIndex, aParent); in createChild() 106 int nIndex = xContext.getAccessibleIndexInParent() + 1; in addAccessibleChild() local 109 if ((nIndex >= 0) || (nIndex <= maChildList.size())) in addAccessibleChild() 112 maChildList.insertElementAt (aChild, nIndex); in addAccessibleChild()
|
/aoo41x/main/chart2/source/tools/ |
H A D | InternalData.cxx | 369 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 …]
|
/aoo41x/main/drawinglayer/source/animation/ |
H A D | animationtiming.cxx | 175 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()
|
/aoo41x/main/testtools/source/bridgetest/pyuno/ |
H A D | impl.py | 53 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
|
/aoo41x/main/svx/source/sidebar/ |
H A D | SelectionAnalyzer.cxx | 327 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()
|
/aoo41x/main/tools/inc/tools/ |
H A D | list.hxx | 91 void Insert( Type p, sal_uIntPtr nIndex ) \ 92 { List::Insert( (void*)p, nIndex ); } \ 99 Type Remove( sal_uIntPtr nIndex ) \ 100 { return (Type)List::Remove( nIndex ); } \ 105 Type Replace( Type p, sal_uIntPtr nIndex ) \ 106 { return (Type)List::Replace( (void*)p, nIndex ); } \ 113 Type GetObject( sal_uIntPtr nIndex ) const \ 114 { return (Type)List::GetObject( nIndex ); } \ 122 Type Seek( sal_uIntPtr nIndex ) \ 123 { return (Type)List::Seek( nIndex ); } \
|
H A D | contnr.hxx | 62 void ImpInsert( void* p, CBlock* pBlock, sal_uInt16 nIndex ); 63 void* ImpRemove( CBlock* pBlock, sal_uInt16 nIndex ); 64 void* ImpGetObject( sal_uIntPtr nIndex ) const; 67 void** GetObjectPtr( sal_uIntPtr nIndex ); 78 void Insert( void* p, sal_uIntPtr nIndex ); 82 void* Remove( sal_uIntPtr nIndex ); 87 void* Replace( void* p, sal_uIntPtr nIndex ); 99 void* GetObject( sal_uIntPtr nIndex ) const; 104 void* Seek( sal_uIntPtr nIndex );
|
/aoo41x/main/editeng/source/editeng/ |
H A D | editdoc.cxx | 530 nIndex = nIndex + pPortion->GetLen(); in CalcTextSize() 589 if ( nIndex > pNode->Len() ) in DbgIsBuggy() 691 nIndex = rPaM.nIndex; in operator =() 781 else if ( ( pAttrib->GetStart() < nIndex ) && ( pAttrib->GetEnd() > nIndex ) ) in ExpandAttribs() 797 if ( nIndex == 0 ) in ExpandAttribs() 855 sal_Bool bSep = ( GetChar( nIndex ) == ' ' ) || IsFeature( nIndex ); in ExpandAttribs() 899 else if ( ( pAttrib->GetStart() <= nIndex ) && ( pAttrib->GetEnd() > nIndex ) ) in CollapsAttribs() 1410 while ( nIndex < nEndPos ) in GetParaAsString() 1421 if (nEnd > nIndex) in GetParaAsString() 1422 aStr += XubString( *pNode, nIndex, nEnd - nIndex ); in GetParaAsString() [all …]
|
/aoo41x/main/accessibility/inc/accessibility/standard/ |
H A D | vclxaccessibleedit.hxx | 85 …virtual sal_Bool SAL_CALL doAccessibleAction ( sal_Int32 nIndex ) throw (::com::sun::star::lang::I… 86 …virtual ::rtl::OUString SAL_CALL getAccessibleActionDescription ( sal_Int32 nIndex ) throw (::com:… 87 …AccessibleKeyBinding > SAL_CALL getAccessibleActionKeyBinding( sal_Int32 nIndex ) throw (::com::su… 91 …virtual sal_Bool SAL_CALL setCaretPosition( sal_Int32 nIndex ) throw (::com::sun::star::lang::Inde… 92 …virtual sal_Unicode SAL_CALL getCharacter( sal_Int32 nIndex ) throw (::com::sun::star::lang::Index… 94 …virtual ::com::sun::star::awt::Rectangle SAL_CALL getCharacterBounds( sal_Int32 nIndex ) throw (::… 103 …virtual ::com::sun::star::accessibility::TextSegment SAL_CALL getTextAtIndex( sal_Int32 nIndex, sa… 104 …:star::accessibility::TextSegment SAL_CALL getTextBeforeIndex( sal_Int32 nIndex, sal_Int16 aTextTy… 105 …:star::accessibility::TextSegment SAL_CALL getTextBehindIndex( sal_Int32 nIndex, sal_Int16 aTextTy… 110 …virtual sal_Bool SAL_CALL pasteText( sal_Int32 nIndex ) throw (::com::sun::star::lang::IndexOutOfB… [all …]
|
/aoo41x/main/svx/inc/ |
H A D | sjctrl.hxx | 263 virtual SjJSbxObject * getElement( sal_Int32 nIndex ) const; 272 virtual void setOption( sal_Int32 nIndex, const String & aOptionText, 277 virtual sal_Bool getOptionDefaultSelected( sal_Int32 nIndex ) const; 279 virtual sal_Bool getOptionSelected( sal_Int32 nIndex ) const; 280 virtual void setOptionSelected( sal_Bool bSelected, sal_Int32 nIndex ); 281 virtual String getOptionText( sal_Int32 nIndex ) const; 282 virtual void setOptionText( const String & sText, sal_Int32 nIndex ); 283 virtual void setOptionValue( const String & sText, sal_Int32 nIndex ); 284 virtual String getOptionValue( sal_Int32 nIndex ) const; 344 virtual SjJSbxObject * getElement( sal_Int32 nIndex ) const; [all …]
|
/aoo41x/main/sc/source/ui/vba/ |
H A D | vbainterior.cxx | 159 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 …]
|
/aoo41x/main/connectivity/source/commontools/ |
H A D | dbconversion.cxx | 418 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 …]
|
/aoo41x/main/xmloff/source/text/ |
H A D | txtimppr.cxx | 59 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 …]
|
/aoo41x/main/sc/source/ui/inc/ |
H A D | navsett.hxx | 43 …nline void SetExpanded( sal_uInt16 nIndex, sal_Bool bExpand ) { maExpandedVec[ nIn… in SetExpanded() argument 44 …nline sal_Bool IsExpanded( sal_uInt16 nIndex ) const { return maExpandedVec[ nInde… in IsExpanded() 46 inline void SetRootSelected( sal_uInt16 nIndex ) { mnRootSelected = nIndex; } in SetRootSelected() argument 49 inline void SetChildSelected( sal_uLong nIndex ) { mnChildSelected = nIndex; } in SetChildSelected() argument
|
/aoo41x/main/vcl/unx/headless/ |
H A D | svpprn.cxx | 53 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 …]
|
/aoo41x/main/basegfx/source/polygon/ |
H A D | b3dpolygontools.cxx | 61 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 …]
|
/aoo41x/main/sc/source/core/data/ |
H A D | dptablecache.cxx | 67 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 …]
|
/aoo41x/main/writerfilter/source/doctok/ |
H A D | PLCF.hxx | 101 sal_uInt32 getFc(sal_uInt32 nIndex) const; 108 T * getEntryPointer(sal_uInt32 nIndex) const; 115 typename T::Pointer_t getEntry(sal_uInt32 nIndex) const; 134 sal_uInt32 PLCF<T>::getFc(sal_uInt32 nIndex) const in getFc() 136 return getU32(nIndex * 4); in getFc() 140 T * PLCF<T>::getEntryPointer(sal_uInt32 nIndex) const in getEntryPointer() 142 return new T(mSequence, nPayloadOffset + nIndex * T::getSize(), in getEntryPointer() 147 typename T::Pointer_t PLCF<T>::getEntry(sal_uInt32 nIndex) const in getEntry() 149 typename T::Pointer_t pResult(getEntryPointer(nIndex)); in getEntry()
|