/aoo4110/main/sw/source/core/docnode/ |
H A D | nodes.cxx | 478 aRg.aEnd--; in _MoveNodes() 483 aRg.aEnd > aRg.aStart ) in _MoveNodes() 484 aRg.aEnd--; in _MoveNodes() 488 if( aRg.aStart >= aRg.aEnd ) in _MoveNodes() 546 while( aRg.aStart < aRg.aEnd ) in _MoveNodes() 1301 ! CheckNodesRange( aRg.aStart, aRg.aEnd ) ) in Delete() 1322 while( aRg.aStart < aRg.aEnd ) in Delete() 1423 aRg.aEnd++; in Delete() 2014 aRg.aEnd--; in _CopyNodes() 2031 if( aRg.aStart >= aRg.aEnd ) in _CopyNodes() [all …]
|
H A D | ndcopy.cxx | 501 rNds._Copy( aRg, aInsPos, sal_False ); in MakeCopy() 507 aRg.aStart.Assign( *pTblNd, 1 ); in MakeCopy() 508 aRg.aEnd.Assign( *pTblNd->EndOfSectionNode() ); in MakeCopy() 509 pDoc->GetNodes().SectionDown( &aRg, SwTableBoxStartNode ); in MakeCopy() 919 SwNodeRange aRg( pStt->nNode, pEnd->nNode ); in CopyImpl() local 1013 aRg.aEnd = pEnd->nNode; in CopyImpl() 1020 aRg.aEnd = pEnd->nNode; in CopyImpl() 1098 aRg.aStart++; in CopyImpl() 1132 aRg.aEnd--; in CopyImpl() 1139 aRg.aEnd--; in CopyImpl() [all …]
|
H A D | ndtbl.cxx | 700 SwNodeRange aRg( pStt->nNode, pEnd->nNode ); in TextToTable() local 717 aRg.aStart--; in TextToTable() 720 aRg.aEnd++; in TextToTable() 724 if( aRg.aEnd.GetIndex() == aRg.aStart.GetIndex() ) in TextToTable() 727 aRg.aEnd++; in TextToTable() 1153 SwNodeRange aRg( pStt->nNode, pEnd->nNode ); in TextToTable() local 1170 aRg.aStart--; in TextToTable() 1173 aRg.aEnd++; in TextToTable() 1177 if( aRg.aEnd.GetIndex() == aRg.aStart.GetIndex() ) in TextToTable() 1180 aRg.aEnd++; in TextToTable() [all …]
|
H A D | ndsect.cxx | 1315 SwNodeRange aRg( *this, +1, *EndOfSectionNode() ); // (wo stehe in denn nun ??) in MakeCopy() local 1316 rNds._Copy( aRg, aInsPos, sal_False ); in MakeCopy()
|
H A D | section.cxx | 706 SwNodeRange aRg( *pSectNd, 0, *pSectNd->EndOfSectionNode() ); in ~SwSectionFmt() local 707 GetDoc()->GetNodes().SectionUp( &aRg ); in ~SwSectionFmt()
|
/aoo4110/main/sw/source/core/undo/ |
H A D | undel.cxx | 236 SwNodeRange aRg( rDocNds, nSttNode - nNdDiff, in SwUndoDelete() local 255 aRg.aEnd++; in SwUndoDelete() 259 aRg.aEnd++; in SwUndoDelete() 270 aRg.aEnd--; in SwUndoDelete() 280 while( 1 < aRg.aStart.GetIndex() && in SwUndoDelete() 283 aRg.aStart--; in SwUndoDelete() 294 aRg.aStart--; in SwUndoDelete() 304 aRg.aStart++; in SwUndoDelete() 306 aRg.aEnd--; in SwUndoDelete() 310 aRg.aStart++; in SwUndoDelete() [all …]
|
H A D | unmove.cxx | 199 SwNodeRange aRg( aIdx, aIdx ); in UndoImpl() local 200 aRg.aEnd = nDestEndNode; in UndoImpl() 202 bool bSuccess = pDoc->MoveNodeRange( aRg, aIdx, in UndoImpl() 293 SwNodeRange aRg( rNds, nSttNode, rNds, nEndNode ); in RedoImpl() local 294 rDoc.MoveNodeRange( aRg, aIdx, (bMoveRedlines) in RedoImpl()
|
H A D | unsort.cxx | 160 SwNodeRange aRg( *aIdxList[i], 0, *aIdxList[i], 1 ); in UndoImpl() local 161 rDoc.MoveNodeRange(aRg, aIdx, in UndoImpl() 236 SwNodeRange aRg( *aIdxList[i], 0, *aIdxList[i], 1 ); in RedoImpl() local 237 rDoc.MoveNodeRange(aRg, aIdx, in RedoImpl()
|
H A D | undobj.cxx | 390 SwNodeRange aRg( pStt->nNode, 0, pEnd->nNode, 1 ); in MoveToUndoNds() local 391 rDoc.GetNodes()._MoveNodes( aRg, rNds, aPos.nNode, sal_False ); in MoveToUndoNds() 498 SwNodeRange aRg( rNds, nNodeIdx, rNds, (pEndNdIdx in MoveFromUndoNds() local 501 rNds._MoveNodes( aRg, rDoc.GetNodes(), rInsPos.nNode, 0 == pEndNdIdx ); in MoveFromUndoNds() 912 SwNodeRange aRg( rSttIdx.GetNode(), *rSttIdx.GetNode().EndOfSectionNode() ); in SaveSection() local 913 SaveSection( pDoc, aRg ); in SaveSection()
|
H A D | untbl.cxx | 1828 SwNodeRange aRg( *pBox->GetSttNd(), 1, in UndoImpl() local 1837 nNdCnt = aRg.aEnd.GetIndex() - aRg.aStart.GetIndex(); in UndoImpl() 1844 rDoc.GetNodes()._MoveNodes( aRg, rDoc.GetNodes(), aInsPos, sal_False ); in UndoImpl()
|
/aoo4110/main/sw/source/core/edit/ |
H A D | ednumber.cxx | 53 if( aRg.nEnd < aRg.nStart ) in Insert() 54 { aRg.nStart = aRg.nEnd; aRg.nEnd = rIdx1.GetIndex(); } in Insert() 61 if( ( pTmp = GetData()+ nPos )->nEnd < aRg.nEnd ) in Insert() 63 aRg.nEnd = pTmp->nEnd; in Insert() 78 || pTmp->nEnd+1 == aRg.nStart ) in Insert() 80 aRg.nStart = pTmp->nStart; in Insert() 85 else if( pTmp->nStart <= aRg.nStart && aRg.nEnd <= pTmp->nEnd ) in Insert() 92 pTmp->nStart == aRg.nEnd+1 ) in Insert() 94 aRg.nEnd = pTmp->nEnd; in Insert() 100 else if( pTmp->nStart <= aRg.nStart && aRg.nEnd <= pTmp->nEnd ) in Insert() [all …]
|
H A D | edglbldc.cxx | 333 SwNodeRange aRg( pMyDoc->GetNodes(), rArr[ nFromPos ]->GetDocPos() ); in MoveGlobalDocContent() local 335 aRg.aEnd = rArr[ nToPos ]->GetDocPos(); in MoveGlobalDocContent() 337 aRg.aEnd = pMyDoc->GetNodes().GetEndOfContent(); in MoveGlobalDocContent() 345 bool bRet = pMyDoc->MoveNodeRange( aRg, aInsPos, in MoveGlobalDocContent()
|
H A D | edlingu.cxx | 675 SwPaM aRg( *pSttPos ); in InsertSoftHyph() local 676 pDoc->InsertString( aRg, CHAR_SOFTHYPHEN ); in InsertSoftHyph()
|
/aoo4110/main/sw/source/filter/rtf/ |
H A D | rtffly.cxx | 303 …const bool bMakeEmptySection = aRg.aStart < aRg.aEnd || ((aRg.aStart == aRg.aEnd) && pFlySave->nEn… in SetFlysInDoc() 324 aRg.aStart = *pNd; in SetFlysInDoc() 328 pNd = &aRg.aEnd.GetNode(); in SetFlysInDoc() 338 aRg.aEnd = nSectEnd+1; in SetFlysInDoc() 347 aRg.aEnd = *pNd; in SetFlysInDoc() 376 if( aRg.aStart == aRg.aEnd && aRg.aStart.GetNode().GetTxtNode() ) in SetFlysInDoc() 377 aRg.aEnd++; in SetFlysInDoc() 378 SwNodeIndex aPrev( aRg.aStart, -1 ); in SetFlysInDoc() 383 pDoc->GetNodes().MakeTxtNode( aRg.aEnd, in SetFlysInDoc() 385 aRg.aEnd--; in SetFlysInDoc() [all …]
|
H A D | rtftbl.cxx | 808 SwPaM aRg(*pPam); in ReadTable() local 841 bool bInTable = aRg.GetPoint()->nNode.GetNode().FindTableNode(); in ReadTable() 847 if (aRg.GetPoint()->nContent.GetIndex()) in ReadTable() 851 aRg.SetMark(); in ReadTable() 852 aRg.GetMark()->nContent.Assign(aRg.GetCntntNode(), 0); in ReadTable() 853 pDoc->MoveRange(aRg, *pPam->GetPoint(), in ReadTable()
|
/aoo4110/main/sw/source/core/doc/ |
H A D | docglbl.cxx | 287 SwNodeRange aRg( *pSttNd, 0, aEndIdx.GetNode() ); in SplitDoc() local 289 GetNodes()._Copy( aRg, aTmpIdx, sal_False ); in SplitDoc() 298 CopyFlyInFlyImpl( aRg, 0, aIdx ); in SplitDoc() 426 SwNodeRange aRg( *pSttNd, *pSectEnd ); in SplitDoc() local 428 GetNodes()._MoveNodes( aRg, GetNodes(), aIdx ); in SplitDoc() 441 SwNodeRange aRg( *pSectNd, 1, aEndIdx, 1 ); in SplitDoc() local 638 SwNodeRange aRg( *pSttNd, 0, aEndIdx.GetNode() ); in SplitDoc() local 640 GetNodes()._Copy( aRg, aTmpIdx, sal_False ); in SplitDoc() 649 CopyFlyInFlyImpl( aRg, 0, aIdx ); in SplitDoc() 777 SwNodeRange aRg( *pSttNd, *pSectEnd ); in SplitDoc() local [all …]
|
H A D | docsort.cxx | 386 SwNodeRange aRg( pStart->nNode, aEndIdx ); in SortText() local 387 GetNodes()._Copy( aRg, aEndIdx ); in SortText() 432 SwNodeRange aRg( aStart, aStart ); in SortText() local 446 aRg.aStart = pBox->aPos.GetIndex(); in SortText() 447 aRg.aEnd = aRg.aStart.GetIndex() + 1; in SortText() 450 MoveNodeRange( aRg, aStart, in SortText() 758 SwNodeRange aRg( *pSource->GetSttNd(), 0, *pSource->GetSttNd() ); in MoveCell() local 759 SwNode* pNd = pDoc->GetNodes().GoNext( &aRg.aStart ); in MoveCell() 765 pNd = pDoc->GetNodes().MakeTxtNode( aRg.aStart, in MoveCell() 767 aRg.aEnd = *pNd->EndOfSectionNode(); in MoveCell() [all …]
|
H A D | doclay.cxx | 458 SwNodeRange aRg( rCSttNd, 1, *rCSttNd.EndOfSectionNode() ); in CopyLayoutFmt() local 479 sal_Int8 nNdTyp = aRg.aStart.GetNode().GetNodeType(); in CopyLayoutFmt() 502 pSrcDoc->CopyWithFlyInFly( aRg, 0, aIdx, NULL, sal_False, sal_True, sal_True ); in CopyLayoutFmt() 843 SwNodeRange aRg( *pTblNd, 0, *pTblNd->EndOfSectionNode(), 1 ); in MakeFlyAndMove() local 848 if( aRg.aEnd.GetNode().IsEndNode() ) in MakeFlyAndMove() 849 GetNodes().MakeTxtNode( aRg.aStart, in MakeFlyAndMove() 852 MoveNodeRange( aRg, aPos.nNode, DOC_MOVEDEFAULT ); in MakeFlyAndMove()
|
H A D | docedt.cxx | 2630 SwNodeRange aRg( rStt.nNode, rEnd.nNode ); in DelFullPara() local 2646 if (aRg.aStart == aRg.aEnd) // only first CorrAbs variant handles this in DelFullPara() 2648 CorrAbs( aRg.aStart, *rPam.GetPoint(), 0, sal_True ); in DelFullPara() 2652 CorrAbs( aRg.aStart, aRg.aEnd, *rPam.GetPoint(), sal_True ); in DelFullPara() 2666 aRg.aStart <= pAPos->nNode && pAPos->nNode <= aRg.aEnd ) in DelFullPara() 2678 GetNodes().Delete( aRg.aStart, nNodeDiff+1 ); in DelFullPara()
|
H A D | docfmt.cxx | 2107 SwNodeRange aRg( rCSttNd, 0, *rCSttNd.EndOfSectionNode() ); in CopyPageDescHeaderFooterImpl() local 2109 rSrcNds._Copy( aRg, aTmpIdx ); in CopyPageDescHeaderFooterImpl() 2111 rSrcFmt.GetDoc()->CopyFlyInFlyImpl( aRg, 0, aTmpIdx ); in CopyPageDescHeaderFooterImpl()
|
H A D | doccomp.cxx | 1363 SwNodeRange aRg( in ShowDelete() local 1394 ((SwCompareData&)rData).rDoc.CopyWithFlyInFly( aRg, 0, aInsPos ); in ShowDelete()
|
/aoo4110/main/tools/source/memtools/ |
H A D | multisel.cxx | 228 Range aRg( 1, RANGE_MAX ); in MultiSelection() local 255 aRg.Min() = nPage; in MultiSelection() 256 aRg.Max() = nNum; in MultiSelection() 257 aRg.Justify(); in MultiSelection() 258 Select( aRg ); in MultiSelection() 282 aRg.Min() = nPage; in MultiSelection() 283 aRg.Max() = nNum; in MultiSelection() 284 aRg.Justify(); in MultiSelection() 285 Select( aRg ); in MultiSelection()
|
/aoo4110/main/sw/source/core/txtnode/ |
H A D | atrftn.cxx | 302 SwNodeRange aRg( *m_pStartNode, 1, in CopyFtn() local 311 m_pTxtNode->GetDoc()->CopyWithFlyInFly( aRg, 0, aEnd, NULL, sal_True ); in CopyFtn()
|
/aoo4110/main/sw/source/core/table/ |
H A D | swnewtable.cxx | 906 SwNodeRange aRg( aSttNdIdx, aPam.GetPoint()->nNode ); in PrepareMerge() local 908 pUndo->MoveBoxCntnt( pDoc, aRg, rInsPosNd ); in PrepareMerge() 911 pDoc->MoveNodeRange( aRg, rInsPosNd, in PrepareMerge()
|
/aoo4110/main/sw/source/core/frmedt/ |
H A D | tblsel.cxx | 1464 SwNodeRange aRg( aSttNdIdx, aPam.GetPoint()->nNode ); in GetMergeSel() local 1467 pUndo->MoveBoxCntnt( pDoc, aRg, rInsPosNd ); in GetMergeSel() 1470 pDoc->MoveNodeRange( aRg, rInsPosNd, in GetMergeSel()
|