/trunk/main/sw/source/core/edit/ |
H A D | edglbldc.cxx | 100 sal_uLong nSttIdx = pMyDoc->GetNodes().GetEndOfExtras().GetIndex() + 2; in GetGlobalDocContent() local 106 for( ; nSttIdx < rNew.GetDocPos(); ++nSttIdx ) in GetGlobalDocContent() 107 if( ( pNd = pMyDoc->GetNodes()[ nSttIdx ])->IsCntntNode() in GetGlobalDocContent() 110 SwGlblDocContentPtr pNew = new SwGlblDocContent( nSttIdx ); in GetGlobalDocContent() 119 nSttIdx = pMyDoc->GetNodes()[ rNew.GetDocPos() ]->EndOfSectionIndex(); in GetGlobalDocContent() 120 ++nSttIdx; in GetGlobalDocContent() 127 for( ; nSttIdx < nNdEnd; ++nSttIdx ) in GetGlobalDocContent() 128 if( ( pNd = pMyDoc->GetNodes()[ nSttIdx ])->IsCntntNode() in GetGlobalDocContent() 131 SwGlblDocContentPtr pNew = new SwGlblDocContent( nSttIdx ); in GetGlobalDocContent()
|
/trunk/main/sw/source/core/crsr/ |
H A D | pam.cxx | 261 CHKSECTION eSec = nStt < nSttIdx && nEnd >= nSttIdx ? Chk_One : Chk_None; in lcl_TstIdx() 294 sal_uLong nSttIdx = pNd->GetIndex(), nEndIdx = pNd->EndOfSectionIndex(); in lcl_ChkOneRange() local 295 return nSttIdx <= nStt && nStt <= nEndIdx && in lcl_ChkOneRange() 296 nSttIdx <= nEnd && nEnd <= nEndIdx ? sal_True : sal_False; in lcl_ChkOneRange() 750 sal_uLong nSttIdx = GetMark()->nNode.GetIndex(), in HasReadonlySel() local 752 if( nEndIdx <= nSttIdx ) in HasReadonlySel() 754 sal_uLong nTmp = nSttIdx; in HasReadonlySel() 755 nSttIdx = nEndIdx; in HasReadonlySel() 762 if( nSttIdx + 3 < nEndIdx ) in HasReadonlySel() 773 if( nSttIdx <= nIdx && nEndIdx >= nIdx && in HasReadonlySel() [all …]
|
H A D | swcrsr.cxx | 306 sal_uLong nSttIdx = GetMark()->nNode.GetIndex(), in IsSelOvr() local 308 if( nEndIdx <= nSttIdx ) in IsSelOvr() 310 sal_uLong nTmp = nSttIdx; in IsSelOvr() 311 nSttIdx = nEndIdx; in IsSelOvr() 325 if( nSttIdx <= nIdx && nEndIdx >= nIdx ) in IsSelOvr()
|
/trunk/main/sw/source/core/frmedt/ |
H A D | feflyole.cxx | 69 sal_uLong nSttIdx = GetNodes().GetEndOfAutotext().StartOfSectionIndex() + 1, in FindFlyFrm() local 71 while( nSttIdx < nEndIdx && in FindFlyFrm() 72 0 != (pStNd = GetNodes()[ nSttIdx ]->GetStartNode()) ) in FindFlyFrm() 74 SwNode *pNd = GetNodes()[ nSttIdx+1 ]; in FindFlyFrm() 84 nSttIdx = pStNd->EndOfSectionIndex() + 1; in FindFlyFrm()
|
H A D | tblsel.cxx | 977 sal_uLong nSttIdx = rPam.GetPoint()->nNode.GetIndex(), in IsEmptyBox() local 988 nSttIdx <= ( nIdx = pAPos->nNode.GetIndex() ) && in IsEmptyBox()
|
/trunk/main/sw/source/core/docnode/ |
H A D | nodes.cxx | 1585 inline int TstIdx( sal_uLong nSttIdx, sal_uLong nEndIdx, sal_uLong nStt, sal_uLong nEnd ) in TstIdx() argument 1587 return nStt < nSttIdx && nEnd >= nSttIdx && in TstIdx() 1626 sal_uLong nSttIdx = rStart.GetIndex(); in DelNodes() local 1628 if( !nSttIdx && nCnt == GetEndOfContent().GetIndex()+1 ) in DelNodes() 1642 nSttIdx = (*ppEndNdArr)->StartOfSectionIndex() + 1; in DelNodes() 1645 if( nSttIdx != nEndIdx ) in DelNodes() 1646 RemoveNode( nSttIdx, nEndIdx - nSttIdx, sal_True ); in DelNodes() 1653 for( sal_uLong n = nSttIdx, nEnd = nSttIdx + nCnt; n < nEnd; ++n ) in DelNodes() 1674 RemoveNode( nSttIdx, nCnt, sal_True ); in DelNodes()
|
H A D | ndindex.cxx | 46 SwNodeRange::SwNodeRange( SwNodes& rNds, sal_uLong nSttIdx, sal_uLong nEndIdx ) in SwNodeRange() argument 47 : aStart( rNds, nSttIdx ), aEnd( rNds, nEndIdx ) in SwNodeRange()
|
H A D | ndtbl.cxx | 3235 sal_uLong nSttIdx = pNd->FindTableBoxStartNode()->GetIndex(); in SplitTable() local 3238 SwTableBox* pBox = rTbl.GetTblBox( nSttIdx ); in SplitTable() 3464 sal_uLong nSttIdx = pNd->FindTableBoxStartNode()->GetIndex(); in SplitTable() local 3468 SwTableBox* pBox = rTbl.GetTblBox( nSttIdx ); in SplitTable()
|
/trunk/main/sw/source/core/txtnode/ |
H A D | atrftn.cxx | 273 sal_uLong nSttIdx = m_pStartNode->GetIndex() + 1; in SetNumber() local 275 for( ; nSttIdx < nEndIdx; ++nSttIdx ) in SetNumber() 278 if( ( pNd = rNodes[ nSttIdx ] )->IsTxtNode() ) in SetNumber()
|
H A D | thints.cxx | 1414 sal_uLong nSttIdx = in InsertHint() local 1416 sal_uLong nEndIdx = rNodes[ nSttIdx++ ]->EndOfSectionIndex(); in InsertHint() 1418 for( ; nSttIdx < nEndIdx; ++nSttIdx ) in InsertHint() 1419 if( 0 != ( pCNd = rNodes[ nSttIdx ]->GetCntntNode() )) in InsertHint()
|
/trunk/main/sw/inc/ |
H A D | swtable.hxx | 276 SwTableBox* GetTblBox( sal_uLong nSttIdx ); 277 const SwTableBox* GetTblBox( sal_uLong nSttIdx ) const in GetTblBox() 278 { return ((SwTable*)this)->GetTblBox( nSttIdx ); } in GetTblBox()
|
H A D | ndindex.hxx | 118 SwNodeRange( SwNodes& rArr, sal_uLong nSttIdx = 0, sal_uLong nEndIdx = 0 );
|
H A D | undobj.hxx | 64 void RemoveIdxFromSection( SwDoc&, sal_uLong nSttIdx, sal_uLong* pEndIdx = 0 );
|
/trunk/main/sw/source/core/doc/ |
H A D | docedt.cxx | 104 sal_uInt32 nSttIdx = rSttIdx.GetIndex(); in _SaveRedline() local 105 nStt = pStt->nNode.GetIndex() - nSttIdx; in _SaveRedline() 109 nEnd = pEnd->nNode.GetIndex() - nSttIdx; in _SaveRedline() 124 sal_uInt32 nSttIdx = rPos.nNode.GetIndex(); in _SaveRedline() local 125 nStt = pStt->nNode.GetIndex() - nSttIdx; in _SaveRedline() 131 nEnd = pEnd->nNode.GetIndex() - nSttIdx; in _SaveRedline()
|
H A D | doctxm.cxx | 148 xub_StrLen nSttIdx; in GetCurTOXMark() local 157 if( ( nSttIdx = *pHt->GetStart() ) < nAktPos ) in GetCurTOXMark() 164 else if( nSttIdx > nAktPos ) in GetCurTOXMark()
|
/trunk/main/sw/source/core/undo/ |
H A D | undobj.cxx | 151 void SwUndo::RemoveIdxFromSection( SwDoc& rDoc, sal_uLong nSttIdx, in RemoveIdxFromSection() argument 154 SwNodeIndex aIdx( rDoc.GetNodes(), nSttIdx ); in RemoveIdxFromSection()
|
H A D | untbl.cxx | 1836 sal_uLong nSttIdx = aInsPos.GetIndex() - 2, in UndoImpl() local 1838 while( i && aTmp[ --i ] > nSttIdx ) in UndoImpl()
|
/trunk/main/sw/source/core/table/ |
H A D | swtable.cxx | 1570 SwTableBox* SwTable::GetTblBox( sal_uLong nSttIdx ) in GetTblBox() argument 1579 sal_uLong nIndex = nSttIdx + 1; in GetTblBox() 1615 if( aSortCntBoxes[ --n ]->GetSttIdx() == nSttIdx ) in GetTblBox()
|
/trunk/main/sw/source/filter/html/ |
H A D | swhtml.cxx | 3175 const SwNodeIndex& nSttIdx = pPam->GetPoint()->nNode; in SplitAttrTab() local 3176 SwNodeIndex nEndIdx( nSttIdx ); in SplitAttrTab() 3247 pAttr->Reset( nSttIdx, nSttCnt, pSaveTbl ); in SplitAttrTab()
|