Lines Matching refs:nCount

1753             sal_uInt16 nCount = ( bUndoEnabled ?  in setPropertyValue()  local
1755 pDocShell->GetUndoManager()->SetMaxUndoActionCount( nCount ); in setPropertyValue()
2742 sal_Int32 nCount = aRangeList.Count(); in getCellRangesByName() local
2743 if (nCount) in getCellRangesByName()
2745 xRet.realloc(nCount); in getCellRangesByName()
2746 for( sal_Int32 nIndex = 0; nIndex < nCount; nIndex++ ) in getCellRangesByName()
2827 SCTAB nCount = pDoc->GetTableCount(); in getElementNames() local
2829 uno::Sequence<rtl::OUString> aSeq(nCount); in getElementNames()
2831 for (SCTAB i=0; i<nCount; i++) in getElementNames()
2908 void SAL_CALL ScTableColumnsObj::insertByIndex( sal_Int32 nPosition, sal_Int32 nCount ) in insertByIndex() argument
2913 if ( pDocShell && nCount > 0 && nPosition >= 0 && nStartCol+nPosition <= nEndCol && in insertByIndex()
2914 nStartCol+nPosition+nCount-1 <= MAXCOL ) in insertByIndex()
2918 (SCCOL)(nStartCol+nPosition+nCount-1), MAXROW, nTab ); in insertByIndex()
2925 void SAL_CALL ScTableColumnsObj::removeByIndex( sal_Int32 nIndex, sal_Int32 nCount ) in removeByIndex() argument
2931 if ( pDocShell && nCount > 0 && nIndex >= 0 && nStartCol+nIndex+nCount-1 <= nEndCol ) in removeByIndex()
2935 (SCCOL)(nStartCol+nIndex+nCount-1), MAXROW, nTab ); in removeByIndex()
3001 SCCOL nCount = nEndCol - nStartCol + 1; in getElementNames() local
3002 uno::Sequence<rtl::OUString> aSeq(nCount); in getElementNames()
3004 for (SCCOL i=0; i<nCount; i++) in getElementNames()
3174 void SAL_CALL ScTableRowsObj::insertByIndex( sal_Int32 nPosition, sal_Int32 nCount ) in insertByIndex() argument
3179 if ( pDocShell && nCount > 0 && nPosition >= 0 && nStartRow+nPosition <= nEndRow && in insertByIndex()
3180 nStartRow+nPosition+nCount-1 <= MAXROW ) in insertByIndex()
3184 MAXCOL, (SCROW)(nStartRow+nPosition+nCount-1), nTab ); in insertByIndex()
3191 void SAL_CALL ScTableRowsObj::removeByIndex( sal_Int32 nIndex, sal_Int32 nCount ) in removeByIndex() argument
3197 if ( pDocShell && nCount > 0 && nIndex >= 0 && nStartRow+nIndex+nCount-1 <= nEndRow ) in removeByIndex()
3201 MAXCOL, (SCROW)(nStartRow+nIndex+nCount-1), nTab ); in removeByIndex()
3577 sal_uLong nCount = 0; in getCount() local
3583 ++nCount; in getCount()
3585 return nCount; in getCount()
3655 SCTAB nCount = (SCTAB)getCount(); in GetScenarioIndex_Impl() local
3656 for (SCTAB i=0; i<nCount; i++) in GetScenarioIndex_Impl()
3670 sal_uInt16 nCount = (sal_uInt16)getCount(); in GetObjectByIndex_Impl() local
3671 if ( pDocShell && nIndex >= 0 && nIndex < nCount ) in GetObjectByIndex_Impl()
3747 SCTAB nCount = 0; in getCount() local
3757 ++nCount; in getCount()
3762 return nCount; in getCount()
3807 SCTAB nCount = (SCTAB)getCount(); in getElementNames() local
3808 uno::Sequence<rtl::OUString> aSeq(nCount); in getElementNames()
3815 for (SCTAB i=0; i<nCount; i++) in getElementNames()