Lines Matching refs:nIndex

84 		SCSIZE	nIndex;  in Insert()  local
85 if (Search(nRow, nIndex)) in Insert()
87 ScBaseCell* pOldCell = pItems[nIndex].pCell; in Insert()
99 if ( nIndex >= nCount || pItems[nIndex].nRow != nRow ) in Insert()
100 Search(nRow, nIndex); in Insert()
103 pItems[nIndex].pCell = pNewCell; in Insert()
131 memmove( &pItems[nIndex + 1], &pItems[nIndex], (nCount - nIndex) * sizeof(ColEntry) ); in Insert()
132 pItems[nIndex].pCell = pNewCell; in Insert()
133 pItems[nIndex].nRow = nRow; in Insert()
207 SCSIZE nIndex; in Delete() local
209 if (Search(nRow, nIndex)) in Delete()
211 ScBaseCell* pCell = pItems[nIndex].pCell; in Delete()
213 pItems[nIndex].pCell = pNoteCell; // Dummy fuer Interpret in Delete()
224 memmove( &pItems[nIndex], &pItems[nIndex + 1], (nCount - nIndex) * sizeof(ColEntry) ); in Delete()
235 void ScColumn::DeleteAtIndex( SCSIZE nIndex ) in DeleteAtIndex() argument
237 ScBaseCell* pCell = pItems[nIndex].pCell; in DeleteAtIndex()
239 pItems[nIndex].pCell = pNoteCell; // Dummy fuer Interpret in DeleteAtIndex()
241 ScAddress( nCol, pItems[nIndex].nRow, nTab ), pCell ) ); in DeleteAtIndex()
244 memmove( &pItems[nIndex], &pItems[nIndex + 1], (nCount - nIndex) * sizeof(ColEntry) ); in DeleteAtIndex()
441 …sal_uLong nIndex = (sal_uLong)((SfxUInt32Item*)GetAttr( pItems[j].nRow, ATTR_VALUE_FORMAT ))->GetV… in DeleteRange() local
442 short nType = pDocument->GetFormatTable()->GetType(nIndex); in DeleteRange()
533 SCSIZE nIndex; in DeleteRange() local
534 if ( !Search( (*aIt)->aPos.Row(), nIndex ) ) in DeleteRange()
601 SCSIZE nIndex, sal_uInt16 nFlags ) const in CreateRefCell() argument
611 ScBaseCell* pCell = pItems[nIndex].pCell; in CreateRefCell()
624 pItems[nIndex].nRow, ATTR_VALUE_FORMAT ))->GetValue(); in CreateRefCell()
648 aRef.nRow = pItems[nIndex].nRow; in CreateRefCell()
827 ScBaseCell* ScColumn::CloneCell(SCSIZE nIndex, sal_uInt16 nFlags, ScDocument& rDestDoc, const ScAdd… in CloneCell() argument
836 ScBaseCell& rSource = *pItems[nIndex].pCell; in CloneCell()
852 … if (lclCanCloneValue( *pDocument, *this, pItems[nIndex].nRow, bCloneValue, bCloneDateTime )) in CloneCell()
880 … if (lclCanCloneValue( *pDocument, *this, pItems[nIndex].nRow, bCloneValue, bCloneDateTime )) in CloneCell()
916 ScAddress aOwnPos( nCol, pItems[nIndex].nRow, nTab ); in CloneCell()
993 SCSIZE nIndex; in MixData() local
994 Search( nRow1, nIndex ); in MixData()
1001 if ( nIndex < nCount ) in MixData()
1002 nNextThis = pItems[nIndex].nRow; in MixData()
1019 if ( nIndex < nCount && nNextThis == nRow ) in MixData()
1020 pDest = pItems[nIndex].pCell; in MixData()
1140 Search( nRow, nIndex ); // alles kann sich verschoben haben in MixData()
1144 nNextThis = ( nIndex < nCount ) ? pItems[nIndex].nRow : MAXROW+1; in MixData()
1149 ++nIndex; in MixData()
1150 nNextThis = ( nIndex < nCount ) ? pItems[nIndex].nRow : MAXROW+1; in MixData()
1214 SCSIZE nIndex; in BroadcastInArea() local
1215 Search( nRow1, nIndex ); in BroadcastInArea()
1216 while ( nIndex < nCount && (nRow = pItems[nIndex].nRow) <= nRow2 ) in BroadcastInArea()
1218 ScBaseCell* pCell = pItems[nIndex].pCell; in BroadcastInArea()
1224 nIndex++; in BroadcastInArea()
1235 SCSIZE nIndex; in StartListeningInArea() local
1236 Search( nRow1, nIndex ); in StartListeningInArea()
1237 while ( nIndex < nCount && (nRow = pItems[nIndex].nRow) <= nRow2 ) in StartListeningInArea()
1239 ScBaseCell* pCell = pItems[nIndex].pCell; in StartListeningInArea()
1242 if ( nRow != pItems[nIndex].nRow ) in StartListeningInArea()
1243 Search( nRow, nIndex ); // durch Listening eingefuegt in StartListeningInArea()
1244 nIndex++; in StartListeningInArea()
1263 sal_uInt32 nIndex, nOldIndex = 0; in SetString() local
1276 nIndex = nOldIndex = GetNumberFormat( nRow ); in SetString()
1278 && pFormatter->GetType(nIndex) != NUMBERFORMAT_TEXT ) in SetString()
1334 nIndex = nOldIndex = pFormatter->GetStandardIndex(); in SetString()
1347 nIndex = pFormatter->GetStandardIndex( pLangFormatter->GetLanguage() ); in SetString()
1350 if (!pFormatter->IsNumberFormat(rString, nIndex, nVal)) in SetString()
1358nIndex = pFormatter->GetFormatForLanguageIfBuiltIn( nIndex, pOldFormat->GetLanguage() ); in SetString()
1362 if ( nIndex != nOldIndex) in SetString()
1383 … if ( !bOverwrite && pFormatter->GetType( nIndex ) == NUMBERFORMAT_LOGICAL ) in SetString()
1391 (sal_uInt32) nIndex) ); in SetString()
1495 SCSIZE nIndex; in GetFilterEntries() local
1497 Search( nStartRow, nIndex ); in GetFilterEntries()
1499 while ( (nIndex < nCount) ? ((nRow=pItems[nIndex].nRow) <= nEndRow) : sal_False ) in GetFilterEntries()
1501 ScBaseCell* pCell = pItems[nIndex].pCell; in GetFilterEntries()
1555 ++nIndex; in GetFilterEntries()
1654 SCSIZE nIndex; in RemoveProtected() local
1663 Search( nTop, nIndex ); in RemoveProtected()
1664 while ( nIndex<nCount && pItems[nIndex].nRow<=nBottom ) in RemoveProtected()
1666 if ( pItems[nIndex].pCell->GetCellType() == CELLTYPE_FORMULA ) in RemoveProtected()
1668 ScFormulaCell* pFormula = (ScFormulaCell*)pItems[nIndex].pCell; in RemoveProtected()
1672 pItems[nIndex].pCell = new ScValueCell( nVal ); in RemoveProtected()
1678 pItems[nIndex].pCell = new ScStringCell( aString ); in RemoveProtected()
1682 ++nIndex; in RemoveProtected()
1715 SCSIZE nIndex; in GetString() local
1717 if (Search(nRow, nIndex)) in GetString()
1719 ScBaseCell* pCell = pItems[nIndex].pCell; in GetString()
1744 SCSIZE nIndex; in FillDPCacheT() local
1746 …for ( Search( nStartRow, nIndex ) ? void( ) : void(nIndex = nCount); nIndex < nCount && pItems[nIn… in FillDPCacheT()
1748 for( ; nCurRow < pItems[nIndex].nRow; nCurRow++ ) in FillDPCacheT()
1760 if( ScBaseCell* pCell = pItems[nIndex].pCell ) in FillDPCacheT()
1801 SCSIZE nIndex; in GetInputString() local
1802 if (Search(nRow, nIndex)) in GetInputString()
1804 ScBaseCell* pCell = pItems[nIndex].pCell; in GetInputString()
1820 SCSIZE nIndex; in GetValue() local
1821 if (Search(nRow, nIndex)) in GetValue()
1823 ScBaseCell* pCell = pItems[nIndex].pCell; in GetValue()
1848 SCSIZE nIndex; in GetFormula() local
1849 if (Search(nRow, nIndex)) in GetFormula()
1851 ScBaseCell* pCell = pItems[nIndex].pCell; in GetFormula()
1864 SCSIZE nIndex; in GetCellType() local
1865 if (Search(nRow, nIndex)) in GetCellType()
1866 return pItems[nIndex].pCell->GetCellType(); in GetCellType()
1873 SCSIZE nIndex; in GetErrCode() local
1874 if (Search(nRow, nIndex)) in GetErrCode()
1876 ScBaseCell* pCell = pItems[nIndex].pCell; in GetErrCode()
1886 SCSIZE nIndex; in HasStringData() local
1887 if (Search(nRow, nIndex)) in HasStringData()
1888 return (pItems[nIndex].pCell)->HasStringData(); in HasStringData()
1895 SCSIZE nIndex; in HasValueData() local
1896 if (Search(nRow, nIndex)) in HasValueData()
1897 return (pItems[nIndex].pCell)->HasValueData(); in HasValueData()
1907 SCSIZE nIndex; in HasStringCells() local
1908 Search( nStartRow, nIndex ); in HasStringCells()
1909 while ( nIndex < nCount && pItems[nIndex].nRow <= nEndRow ) in HasStringCells()
1911 CellType eType = pItems[nIndex].pCell->GetCellType(); in HasStringCells()
1914 ++nIndex; in HasStringCells()
1923 SCSIZE nIndex; in GetNote() local
1924 return Search( nRow, nIndex ) ? pItems[ nIndex ].pCell->GetNote() : 0; in GetNote()
1930 SCSIZE nIndex; in TakeNote() local
1931 if( Search( nRow, nIndex ) ) in TakeNote()
1932 pItems[ nIndex ].pCell->TakeNote( pNote ); in TakeNote()
1941 SCSIZE nIndex; in ReleaseNote() local
1942 if( Search( nRow, nIndex ) ) in ReleaseNote()
1944 ScBaseCell* pCell = pItems[ nIndex ].pCell; in ReleaseNote()
1947 DeleteAtIndex( nIndex ); in ReleaseNote()
1968 SCSIZE nIndex; in GetMaxStringLen() local
1970 Search( nRowStart, nIndex ); in GetMaxStringLen()
1971 while ( nIndex < nCount && (nRow = pItems[nIndex].nRow) <= nRowEnd ) in GetMaxStringLen()
1973 ScBaseCell* pCell = pItems[nIndex].pCell; in GetMaxStringLen()
2001 nIndex++; in GetMaxStringLen()
2021 SCSIZE nIndex; in GetMaxNumberStringLen() local
2023 Search( nRowStart, nIndex ); in GetMaxNumberStringLen()
2024 while ( nIndex < nCount && (nRow = pItems[nIndex].nRow) <= nRowEnd ) in GetMaxNumberStringLen()
2026 ScBaseCell* pCell = pItems[nIndex].pCell; in GetMaxNumberStringLen()
2063 nIndex++; in GetMaxNumberStringLen()