Home
last modified time | relevance | path

Searched refs:aRg (Results 1 – 25 of 29) sorted by relevance

12

/trunk/main/sw/source/core/docnode/
H A Dnodes.cxx478 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 Dndcopy.cxx501 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 Dndtbl.cxx700 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 Dndsect.cxx1315 SwNodeRange aRg( *this, +1, *EndOfSectionNode() ); // (wo stehe in denn nun ??) in MakeCopy() local
1316 rNds._Copy( aRg, aInsPos, sal_False ); in MakeCopy()
H A Dsection.cxx706 SwNodeRange aRg( *pSectNd, 0, *pSectNd->EndOfSectionNode() ); in ~SwSectionFmt() local
707 GetDoc()->GetNodes().SectionUp( &aRg ); in ~SwSectionFmt()
/trunk/main/sw/source/core/undo/
H A Dundel.cxx236 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 Dunmove.cxx199 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 Dunsort.cxx160 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 Dundobj.cxx390 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 Duntbl.cxx1828 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()
/trunk/main/sw/source/core/edit/
H A Dednumber.cxx53 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 Dedglbldc.cxx333 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 Dedlingu.cxx675 SwPaM aRg( *pSttPos ); in InsertSoftHyph() local
676 pDoc->InsertString( aRg, CHAR_SOFTHYPHEN ); in InsertSoftHyph()
/trunk/main/sw/source/filter/rtf/
H A Drtffly.cxx298 …const bool bMakeEmptySection = aRg.aStart < aRg.aEnd || ((aRg.aStart == aRg.aEnd) && pFlySave->nEn… in SetFlysInDoc()
319 aRg.aStart = *pNd; in SetFlysInDoc()
323 pNd = &aRg.aEnd.GetNode(); in SetFlysInDoc()
333 aRg.aEnd = nSectEnd+1; in SetFlysInDoc()
342 aRg.aEnd = *pNd; in SetFlysInDoc()
371 if( aRg.aStart == aRg.aEnd && aRg.aStart.GetNode().GetTxtNode() ) in SetFlysInDoc()
372 aRg.aEnd++; in SetFlysInDoc()
373 SwNodeIndex aPrev( aRg.aStart, -1 ); in SetFlysInDoc()
378 pDoc->GetNodes().MakeTxtNode( aRg.aEnd, in SetFlysInDoc()
380 aRg.aEnd--; in SetFlysInDoc()
[all …]
H A Drtftbl.cxx808 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()
/trunk/main/sw/source/core/doc/
H A Ddocglbl.cxx287 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 Ddocsort.cxx386 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 Ddoclay.cxx450 SwNodeRange aRg( rCSttNd, 1, *rCSttNd.EndOfSectionNode() ); in CopyLayoutFmt() local
471 sal_Int8 nNdTyp = aRg.aStart.GetNode().GetNodeType(); in CopyLayoutFmt()
494 pSrcDoc->CopyWithFlyInFly( aRg, 0, aIdx, NULL, sal_False, sal_True, sal_True ); in CopyLayoutFmt()
835 SwNodeRange aRg( *pTblNd, 0, *pTblNd->EndOfSectionNode(), 1 ); in MakeFlyAndMove() local
840 if( aRg.aEnd.GetNode().IsEndNode() ) in MakeFlyAndMove()
841 GetNodes().MakeTxtNode( aRg.aStart, in MakeFlyAndMove()
844 MoveNodeRange( aRg, aPos.nNode, DOC_MOVEDEFAULT ); in MakeFlyAndMove()
H A Ddocedt.cxx2634 SwNodeRange aRg( rStt.nNode, rEnd.nNode ); in DelFullPara() local
2650 if (aRg.aStart == aRg.aEnd) // only first CorrAbs variant handles this in DelFullPara()
2652 CorrAbs( aRg.aStart, *rPam.GetPoint(), 0, sal_True ); in DelFullPara()
2656 CorrAbs( aRg.aStart, aRg.aEnd, *rPam.GetPoint(), sal_True ); in DelFullPara()
2670 aRg.aStart <= pAPos->nNode && pAPos->nNode <= aRg.aEnd ) in DelFullPara()
2682 GetNodes().Delete( aRg.aStart, nNodeDiff+1 ); in DelFullPara()
H A Ddocfmt.cxx2119 SwNodeRange aRg( rCSttNd, 0, *rCSttNd.EndOfSectionNode() ); in CopyPageDescHeaderFooterImpl() local
2121 rSrcNds._Copy( aRg, aTmpIdx ); in CopyPageDescHeaderFooterImpl()
2123 rSrcFmt.GetDoc()->CopyFlyInFlyImpl( aRg, 0, aTmpIdx ); in CopyPageDescHeaderFooterImpl()
H A Ddoccomp.cxx1363 SwNodeRange aRg( in ShowDelete() local
1394 ((SwCompareData&)rData).rDoc.CopyWithFlyInFly( aRg, 0, aInsPos ); in ShowDelete()
/trunk/main/tools/source/memtools/
H A Dmultisel.cxx228 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()
/trunk/main/sw/source/core/txtnode/
H A Datrftn.cxx302 SwNodeRange aRg( *m_pStartNode, 1, in CopyFtn() local
311 m_pTxtNode->GetDoc()->CopyWithFlyInFly( aRg, 0, aEnd, NULL, sal_True ); in CopyFtn()
/trunk/main/sw/source/core/table/
H A Dswnewtable.cxx906 SwNodeRange aRg( aSttNdIdx, aPam.GetPoint()->nNode ); in PrepareMerge() local
908 pUndo->MoveBoxCntnt( pDoc, aRg, rInsPosNd ); in PrepareMerge()
911 pDoc->MoveNodeRange( aRg, rInsPosNd, in PrepareMerge()
/trunk/main/sw/source/core/frmedt/
H A Dtblsel.cxx1464 SwNodeRange aRg( aSttNdIdx, aPam.GetPoint()->nNode ); in GetMergeSel() local
1467 pUndo->MoveBoxCntnt( pDoc, aRg, rInsPosNd ); in GetMergeSel()
1470 pDoc->MoveNodeRange( aRg, rInsPosNd, in GetMergeSel()

Completed in 171 milliseconds

12