Lines Matching refs:nLevel
145 for (sal_uInt16 nLevel=0; nLevel<nDepth; nLevel++) in ScOutlineArray() local
147 sal_uInt16 nCount = rArray.aCollections[nLevel].GetCount(); in ScOutlineArray()
150 ScOutlineEntry* pEntry = (ScOutlineEntry*) rArray.aCollections[nLevel].At(nEntry); in ScOutlineArray()
151 aCollections[nLevel].Insert( new ScOutlineEntry( *pEntry ) ); in ScOutlineArray()
164 for (sal_uInt16 nLevel=0; nLevel<nMaxLevel; nLevel++) //! rueckwaerts suchen ? in FindEntry() local
166 ScOutlineCollection* pCollect = &aCollections[nLevel]; in FindEntry()
173 rFindLevel = nLevel + 1; // naechster Level (zum Einfuegen) in FindEntry()
225 sal_uInt16 nLevel = nStartLevel; in Insert() local
230 for ( short nMoveLevel = nDepth-1; nMoveLevel >= (short) nLevel; nMoveLevel-- ) in Insert()
263 if (nDepth <= nLevel) in Insert()
265 nDepth = nLevel+1; in Insert()
300 aCollections[nLevel].Insert( pNewEntry ); in Insert()
310 for (sal_uInt16 nLevel=0; nLevel<nDepth; nLevel++) in FindTouchedLevel() local
312 const ScOutlineCollection* pCollect = &aCollections[nLevel]; in FindTouchedLevel()
323 rFindLevel = nLevel; // wirklicher Level in FindTouchedLevel()
332 void ScOutlineArray::RemoveSub( SCCOLROW nStartPos, SCCOLROW nEndPos, sal_uInt16 nLevel ) in RemoveSub() argument
334 if ( nLevel >= nDepth ) in RemoveSub()
336 ScOutlineCollection* pCollect = &aCollections[nLevel]; in RemoveSub()
348 RemoveSub( nStart, nEnd, nLevel+1 ); in RemoveSub()
364 for (sal_uInt16 nLevel = nStartLevel; nLevel < nDepth; nLevel++) in PromoteSub() local
366 ScOutlineCollection* pCollect = &aCollections[nLevel]; in PromoteSub()
378 aCollections[nLevel-1].Insert( new ScOutlineEntry( *pEntry ) ); in PromoteSub()
408 sal_uInt16 nLevel; in Remove() local
409 FindTouchedLevel( nBlockStart, nBlockEnd, nLevel ); in Remove()
411 ScOutlineCollection* pCollect = &aCollections[nLevel]; in Remove()
426 PromoteSub( nStart, nEnd, nLevel+1 ); in Remove()
441 ScOutlineEntry* ScOutlineArray::GetEntry( sal_uInt16 nLevel, sal_uInt16 nIndex ) const in GetEntry() argument
443 return (ScOutlineEntry*)((nLevel < nDepth) ? aCollections[nLevel].At(nIndex) : NULL); in GetEntry()
446 sal_uInt16 ScOutlineArray::GetCount( sal_uInt16 nLevel ) const in GetCount()
448 return (nLevel < nDepth) ? aCollections[nLevel].GetCount() : 0; in GetCount()
451 ScOutlineEntry* ScOutlineArray::GetEntryByPos( sal_uInt16 nLevel, SCCOLROW nPos ) const in GetEntryByPos() argument
453 sal_uInt16 nCount = GetCount( nLevel ); in GetEntryByPos()
458 pEntry = GetEntry( nLevel, nIndex ); in GetEntryByPos()
465 sal_Bool ScOutlineArray::GetEntryIndex( sal_uInt16 nLevel, SCCOLROW nPos, sal_uInt16& rnIndex ) con… in GetEntryIndex() argument
468 sal_uInt16 nCount = GetCount( nLevel ); in GetEntryIndex()
471 const ScOutlineEntry* pEntry = GetEntry( nLevel, rnIndex ); in GetEntryIndex()
479 sal_uInt16 nLevel, SCCOLROW nBlockStart, SCCOLROW nBlockEnd, sal_uInt16& rnIndex ) const in GetEntryIndexInRange() argument
482 sal_uInt16 nCount = GetCount( nLevel ); in GetEntryIndexInRange()
485 const ScOutlineEntry* pEntry = GetEntry( nLevel, rnIndex ); in GetEntryIndexInRange()
492 void ScOutlineArray::SetVisibleBelow( sal_uInt16 nLevel, sal_uInt16 nEntry, sal_Bool bValue, sal_Bo… in SetVisibleBelow() argument
494 ScOutlineEntry* pEntry = GetEntry( nLevel, nEntry ); in SetVisibleBelow()
500 for (sal_uInt16 nSubLevel=nLevel+1; nSubLevel<nDepth; nSubLevel++) in SetVisibleBelow()
537 void ScOutlineArray::ExtendBlock( sal_uInt16 nLevel, SCCOLROW& rBlkStart, SCCOLROW& rBlkEnd ) in ExtendBlock() argument
545 nCount = GetCount(nLevel); in ExtendBlock()
548 pEntry = (ScOutlineEntry*) aCollections[nLevel].At(i); in ExtendBlock()
672 for (sal_uInt16 nLevel=0; nLevel<nDepth; nLevel++) in RemoveAll() local
673 aCollections[nLevel].FreeAll(); in RemoveAll()
733 sal_uInt16 nLevel, sal_uInt16 nEntry ) : in ScSubOutlineIterator() argument
736 ScOutlineEntry* pEntry = (ScOutlineEntry*) pArray->aCollections[nLevel].At(nEntry); in ScSubOutlineIterator()
739 nSubLevel = nLevel + 1; in ScSubOutlineIterator()