/aoo41x/main/sw/source/core/undo/ |
H A D | undobj.cxx | 368 aPos.nNode--; in MoveToUndoNds() 390 SwNodeRange aRg( pStt->nNode, 0, pEnd->nNode, 1 ); in MoveToUndoNds() 657 ? ( pStt->nNode <= pAPos->nNode && in DelCntntIndex() 658 pAPos->nNode < pEnd->nNode ) in DelCntntIndex() 680 bTmp = pStt->nNode <= pAPos->nNode && pAPos->nNode < pEnd->nNode; in DelCntntIndex() 724 ( pStt->nNode <= pAPos->nNode && pAPos->nNode <= pEnd->nNode ) ) in DelCntntIndex() 755 pStt->nNode == pAPos->nNode ) in DelCntntIndex() 802 if ( rMark.nNode == rPoint.nNode in DelCntntIndex() 835 rMark.nNode != rPoint.nNode in DelCntntIndex() 1369 return (rAnchorPos.nNode < rEnd.nNode) in IsDestroyFrameAnchoredAtChar() [all …]
|
H A D | undel.cxx | 120 , nNode(0) in SwUndoDelete() 164 _DelBookmarks(pStt->nNode, pEnd->nNode); in SwUndoDelete() 316 nNode = rNds.GetEndOfContent().GetIndex() - nNode; // Differenz merken ! in SwUndoDelete() 466 if( pStt->nNode != pEnd->nNode || in CanGrouping() 577 if (nNode != 0) in GetRewriter() 680 aPos.nNode = aIdx; in UndoImpl() 758 SwNodeRange aRg( aPos.nNode, 0 - nDiff, aPos.nNode, 1 - nDiff ); in UndoImpl() 786 SwNodeRange aRg( aPos.nNode, 0, aPos.nNode, 1 ); in UndoImpl() 902 _DelBookmarks(rPam.GetMark()->nNode, rPam.GetPoint()->nNode); in RedoImpl() 918 _DelBookmarks( rPam.GetMark()->nNode, rPam.GetPoint()->nNode ); in RedoImpl() [all …]
|
H A D | unins.cxx | 152 if( nNode == rPos.nNode.GetIndex() && in CanGrouping() 203 pPos->nNode++; in ~SwUndoInsert() 224 pPam->GetPoint()->nNode = nNode; in UndoImpl() 240 sal_uLong nNd = nNode; in UndoImpl() 276 nNode = aPaM.GetPoint()->nNode.GetIndex(); in UndoImpl() 300 pPam->GetPoint()->nNode = nNode - 1; in RedoImpl() 322 pPam->GetPoint()->nNode = nNode; in RedoImpl() 347 nNode = pPam->GetMark()->nNode.GetIndex(); in RedoImpl() 774 if( rPam.GetPoint()->nNode != rPam.GetMark()->nNode ) in SetEnd() 935 aPam.GetPoint()->nNode = NODE.nNode; in UndoImpl() [all …]
|
H A D | untblk.cxx | 70 nSttNode == pAPos->nNode.GetIndex() ) in SwUndoInserts() 93 nEndNode = pTmpPos->nNode.GetIndex(); in SetInsertRange() 102 nSttNode = pTmpPos->nNode.GetIndex(); in SetInsertRange() 124 nSttNode == pAPos->nNode.GetIndex() ) in SetInsertRange() 147 SwNodes& rUNds = pPos->nNode.GetNodes(); in ~SwUndoInserts() 156 pPos->nNode++; in ~SwUndoInserts() 160 pPos->nNode.GetIndex() ); in ~SwUndoInserts() 198 nNdDiff = pPam->GetMark()->nNode.GetIndex(); in UndoImpl() 271 pPam->GetPoint()->nNode = nSttNode - nNdDiff; in RedoImpl() 287 sal_uLong nMvNd = pPos->nNode.GetIndex(); in RedoImpl() [all …]
|
H A D | unspnd.cxx | 51 : SwUndo( UNDO_SPLITNODE ), pHistory( 0 ), pRedlData( 0 ), nNode( rPos.nNode.GetIndex() ), in SwUndoSplitNode() 60 pHistory->CopyAttr( pTxtNd->GetpSwpHints(), nNode, 0, in SwUndoSplitNode() 87 SwNodeIndex& rIdx = rPam.GetPoint()->nNode; in UndoImpl() 88 rIdx = nNode; in UndoImpl() 90 SwNode* pCurrNd = pDoc->GetNodes()[ nNode + 1 ]; in UndoImpl() 122 rPam.GetPoint()->nNode = *pTNd; in UndoImpl() 128 rPam.GetMark()->nNode++; in UndoImpl() 130 nNode.GetNode().GetCntntNode(), 0 ); in UndoImpl() 135 RemoveIdxRel( nNode+1, *rPam.GetPoint() ); in UndoImpl() 152 rPam.GetPoint()->nNode = nNode; in UndoImpl() [all …]
|
H A D | undobj1.cxx | 97 aNewPos.nNode = nNdPgPos; in InsFly() 145 nNdPgPos = rAnchor.GetCntntAnchor()->nNode.GetIndex(); in InsFly() 153 nNdPgPos = rAnchor.GetCntntAnchor()->nNode.GetIndex(); in InsFly() 199 nNdPgPos = pPos->nNode.GetIndex(); in DelFly() 216 nNdPgPos = pPos->nNode.GetIndex(); in DelFly() 221 nNdPgPos = pPos->nNode.GetIndex(); in DelFly() 253 nNdPgPos = rAnchor.GetCntntAnchor()->nNode.GetIndex(); in SwUndoInsLayFmt() 260 nNdPgPos = pPos->nNode.GetIndex(); in SwUndoInsLayFmt() 509 sal_uLong nNode, xub_StrLen nCntnt ) in GetAnchor() argument 514 SwNode* pNd = pFrmFmt->GetDoc()->GetNodes()[ nNode ]; in GetAnchor() [all …]
|
/aoo41x/main/sw/source/core/crsr/ |
H A D | pam.cxx | 93 : nNode( rPos.nNode ), nContent( rPos.nContent ) in SwPosition() 99 nNode = rPos.nNode; in operator =() 107 if( nNode < rPos.nNode ) in operator <() 109 if( nNode == rPos.nNode ) in operator <() 117 if(nNode > rPos.nNode ) in operator >() 119 if( nNode == rPos.nNode ) in operator >() 127 if(nNode < rPos.nNode ) in operator <=() 129 if( nNode == rPos.nNode ) in operator <=() 137 if(nNode > rPos.nNode ) in operator >=() 139 if( nNode == rPos.nNode ) in operator >=() [all …]
|
H A D | swcrsr.cxx | 88 if( rPam.GetPoint()->nNode == rPam.GetMark()->nNode ) in _PercentHdl() 242 if( pSavePos->nNode != GetPoint()->nNode.GetIndex() in IsSelOvr() 409 if( !::CheckNodesRange( GetMark()->nNode, GetPoint()->nNode, sal_True )) in IsSelOvr() 575 if ( pSavePos->nNode == GetPoint()->nNode.GetIndex() ) in IsInProtectTable() 610 if( pSavePos->nNode < GetPoint()->nNode.GetIndex() ) in IsInProtectTable() 638 GetPoint()->nNode = IDX; in IsInProtectTable() 1868 CheckNodesRange( aOldPos.nNode, GetPoint()->nNode, bChkRange )) in UpDown() 2127 GetPoint()->nNode = pSavePos->nNode; in RestoreSavePos() 2217 pPos->nNode = *pNd; in MakeBoxSels() 2226 pPos->nNode = *pNd; in MakeBoxSels() [all …]
|
H A D | crsrsh.cxx | 199 pTblCrsr->GetMark()->nNode.GetIndex() && in GetCrsr() 800 if( !CheckNodesRange( aPos.nNode, pCrsr->GetMark()->nNode, sal_True ) in SetCrsr() 1364 SwNodeIndex aTmp( rPos.nNode ); in lcl_CheckHiddenPara() 1446 lcl_CheckHiddenSection( pPos->nNode ); in UpdateCrsr() 2086 CheckNodesRange( pCrsrStk->GetMark()->nNode, pCurCrsr->GetPoint()->nNode, sal_True ); in Combine() 2088 if( !CheckNodesRange( pCrsrStk->GetMark()->nNode, pCurCrsr->GetPoint()->nNode, sal_True )) in Combine() 2278 pCurCrsr->GetMark()->nNode.GetIndex() ) in GetSelTxt() 2562 pTmpDel->GetPoint()->nNode = 0; in _ParkPams() 2621 pTCrsr->GetPoint()->nNode = 0; in ParkCrsr() 2770 pPam->End()->nNode.GetIndex(); in ShouldWait() [all …]
|
H A D | crstrvl.cxx | 285 rPos.nNode = *pCNd; in SetCrsrInHdFt() 338 pCurCrsr->GetPoint()->nNode = *pFnd; in GotoNextTOXBase() 389 pCurCrsr->GetPoint()->nNode = *pFnd; in GotoPrevTOXBase() 462 aFndPos.nNode = 0; in GotoNxtPrvTblFormula() 542 aFndPos.nNode = 0; in GotoNxtPrvTOXMark() 792 pCrsr->GetPoint()->nNode = *pTNd; in GotoFld() 827 && pCrsr->Start()->nNode == pCrsr->End()->nNode ) in GetFieldAtCrsr() 935 pCrsr->GetPoint()->nNode = *pTxtNd; in GotoOutline() 980 pCrsr->GetPoint()->nNode = *pNd; in GotoNextOutline() 1011 pCrsr->GetPoint()->nNode = *pNd; in GotoPrevOutline() [all …]
|
H A D | trvltbl.cxx | 94 pCrsr->GetPoint()->nNode.GetNode(). in GoNextCell() 245 pTblCrsr->GetPoint()->nNode = *pEnd->GetSttNd(); in _SelTblRowOrCol() 281 pTblCrsr->GetPoint()->nNode = *pTblNd; in SelTbl() 495 SwNodeIndex aIdx( rCurCrsr.GetPoint()->nNode ); in GotoPrevTable() 544 rCurCrsr.GetPoint()->nNode = *pTxtNode; in GotoPrevTable() 560 SwNodeIndex aIdx( rCurCrsr.GetPoint()->nNode ); in GotoNextTable() 597 rCurCrsr.GetPoint()->nNode = *pTxtNode; in GotoNextTable() 635 rCurCrsr.GetPoint()->nNode = *pTxtNode; in GotoCurrTable() 682 nPtNd = pCrsr->GetPoint()->nNode.GetIndex(); in MoveTable() 697 pCrsr->GetPoint()->nNode.GetIndex() == nPtNd && in MoveTable() [all …]
|
H A D | trvlfnfl.cxx | 61 SwTxtNode* pTxtNd = GetPoint()->nNode.GetNode().GetTxtNode(); in GotoFtnTxt() 70 GetPoint()->nNode = *((SwTxtFtn*)pFtn)->GetStartNode(); in GotoFtnTxt() 73 &GetPoint()->nNode, in GotoFtnTxt() 111 _GetCrsr()->GetPoint()->nNode = *pNode; in GotoFtnTxt() 150 GetPoint()->nNode = rTNd; in GotoFtnAnchor() 192 if( rFtnArr.SeekEntry( GetPoint()->nNode, &nPos )) in GotoNextFtnAnchor() 198 sal_uLong nNdPos = GetPoint()->nNode.GetIndex(); in GotoNextFtnAnchor() 240 GetPoint()->nNode = rTNd; in GotoNextFtnAnchor() 253 if( rFtnArr.SeekEntry( GetPoint()->nNode, &nPos ) ) in GotoPrevFtnAnchor() 257 sal_uLong nNdPos = GetPoint()->nNode.GetIndex(); in GotoPrevFtnAnchor() [all …]
|
/aoo41x/main/sw/source/core/doc/ |
H A D | docedt.cxx | 943 bUpdateFtn = lcl_SaveFtn( pStt->nNode, pEnd->nNode, rPos.nNode, in MoveRange() 983 if( rPos.nNode == rPaM.GetMark()->nNode ) in MoveRange() 985 rPaM.GetMark()->nNode = rPos.nNode.GetIndex()-1; in MoveRange() 1747 sal_Bool bOneNd = pStt->nNode == pEnd->nNode; in DeleteRangeImplImpl() 2102 nNode = pPoint->nNode.GetIndex(); in SwHyphArgs() 2112 if( pPoint->nNode == pMark->nNode ) in SwHyphArgs() 2128 pPam->GetPoint()->nNode = nNode; in SetPam() 2130 pPam->GetMark()->nNode = nNode; in SetPam() 2321 ASSERT( pStt->nNode == pEnd->nNode || in ReplaceRangeImpl() 2325 sal_Bool bOneNode = pStt->nNode == pEnd->nNode; in ReplaceRangeImpl() [all …]
|
H A D | docbm.cxx | 348 ( rPaM.GetMark()->nNode == rPaM.GetPoint()->nNode && in IsLegalPaMForCrossRefHeadingBookmark() 1184 if( pPos->nNode.GetIndex() == nNode && in lcl_ChkPaM() 1193 if( pPos->nNode.GetIndex() == nNode && in lcl_ChkPaM() 1384 pRStt->nNode = pREnd->nNode; in _DelBookmarks() 1407 pREnd->nNode = pRStt->nNode; in _DelBookmarks() 1419 sal_uLong nNode, in _SaveCntntIdx() argument 1434 if(pBkmk->GetMarkPos().nNode.GetIndex() == nNode in _SaveCntntIdx() 1447 && pBkmk->GetOtherMarkPos().nNode.GetIndex() == nNode in _SaveCntntIdx() 1521 OSL_ENSURE( nNode == pAPos->nNode.GetIndex(), in _SaveCntntIdx() 1559 if ( pAPos && ( nNode == pAPos->nNode.GetIndex() ) && in _SaveCntntIdx() [all …]
|
H A D | docnum.cxx | 445 SwNodeIndex aSttRg( rStt.nNode ), aEndRg( rEnd.nNode ); in MoveOutlinePara() 758 rPos.nNode = *pNd; in GotoOutline() 767 rPos.nNode = *pNd; in GotoOutline() 2160 SwNodeIndex aIdx( nOffset > 0 ? pEnd->nNode : pStt->nNode, nOffs ); in MoveParagraph() 2161 SwNodeRange aMvRg( pStt->nNode, 0, pEnd->nNode, +1 ); in MoveParagraph() 2177 (pRStt->nNode < pStt->nNode || in MoveParagraph() 2178 (pRStt->nNode == pStt->nNode && !pRStt->nContent.GetIndex()) ) && in MoveParagraph() 2179 (pEnd->nNode < pREnd->nNode || in MoveParagraph() 2180 (pEnd->nNode == pREnd->nNode && in MoveParagraph() 2194 !( pRStt->nNode <= aIdx && aIdx <= pREnd->nNode )) in MoveParagraph() [all …]
|
H A D | docredln.cxx | 245 rPos2.nNode.GetIndex() - 1 == rPos1.nNode.GetIndex() && in IsPrevPos() 2707 if( aNewStt.nNode != pEnd->nNode ) in InsertWithValidRanges() 2719 aNewStt.nNode++; in InsertWithValidRanges() 2720 } while( aNewStt.nNode.GetIndex() < pEnd->nNode.GetIndex() ); in InsertWithValidRanges() 2722 if( aNewStt.nNode == pEnd->nNode ) in InsertWithValidRanges() 2726 aNewStt.nNode = *pC; in InsertWithValidRanges() 3299 if( pRStt->nNode < nNdIdx ) in CalcStartEnd() 3301 if( pREnd->nNode > nNdIdx ) in CalcStartEnd() 3471 SwNodeRange aRg( pStt->nNode, 0, pEnd->nNode, 1 ); in CopyToSection() 3641 aPos.nNode--; in MoveFromSection() [all …]
|
H A D | docfmt.cxx | 329 GetNodes().ForEach( pStt->nNode.GetIndex(), pEnd->nNode.GetIndex()+1, in RstTxtAttrs() 470 else if( pStt->nNode != pEnd->nNode || !pStt->nContent.GetIndex() ) in ResetAttrs() 679 sal_uInt16 nEnd = pStt->nNode == pEnd->nNode in lcl_InsAttr() 910 if( pStt->nNode != pEnd->nNode ) in lcl_InsAttr() 931 if( pStt->nNode == pEnd->nNode ) in lcl_InsAttr() 960 aSt = pStt->nNode; in lcl_InsAttr() 971 if( pStt->nNode < pEnd->nNode ) in lcl_InsAttr() 1000 aEnd = pEnd->nNode; in lcl_InsAttr() 1069 aEndPos.nNode--; in lcl_InsAttr() 1794 GetNodes().ForEach( pStt->nNode.GetIndex(), pEnd->nNode.GetIndex()+1, in SetTxtFmtColl() [all …]
|
H A D | docsort.cxx | 346 pStart->nNode <= pAPos->nNode && pAPos->nNode <= pEnd->nNode ) in SortText() 353 nEnd = pEnd->nNode.GetIndex(); in SortText() 372 pRedlPam = new SwPaM( pStart->nNode, pEnd->nNode, -1, 1 ); in SortText() 385 SwNodeIndex aEndIdx( pEnd->nNode, 1 ); in SortText() 386 SwNodeRange aRg( pStart->nNode, aEndIdx ); in SortText() 392 pRedlPam->GetMark()->nNode.Assign( pEnd->nNode.GetNode(), 1 ); in SortText() 417 SwNodeIndex aStart(pStart->nNode); in SortText() 420 while( aStart <= pEnd->nNode ) in SortText() 431 sal_uLong nBeg = pStart->nNode.GetIndex(); in SortText() 481 pRedlPam->GetPoint()->nNode = aSttIdx; in SortText() [all …]
|
/aoo41x/main/sw/source/core/docnode/ |
H A D | ndcopy.cxx | 120 rChgPos.nNode = nNdOff + rCpyStt.nNode.GetIndex(); in lcl_SetCpyPos() 737 ( pStt->nNode != pEnd->nNode || in CopyRange() 919 SwNodeRange aRg( pStt->nNode, pEnd->nNode ); in CopyImpl() 921 const bool bOneNode = pStt->nNode == pEnd->nNode; in CopyImpl() 1013 aRg.aEnd = pEnd->nNode; in CopyImpl() 1018 pEnd->nNode--; in CopyImpl() 1020 aRg.aEnd = pEnd->nNode; in CopyImpl() 1135 rPos.nNode-=2; in CopyImpl() 1138 rPos.nNode++; in CopyImpl() 1256 pEnd->nNode = aSaveIdx; in CopyImpl() [all …]
|
H A D | ndsect.cxx | 181 pStt->nNode.GetNode(), in InsertSwSection() 182 pEnd->nNode.GetNode() ); in InsertSwSection() 213 SwNodeIndex aStt( pSttPos->nNode ), aEnd( pEndPos->nNode, +1 ); in InsertSwSection() 253 pSttPos->nNode.Assign( *pPrvNd ); in InsertSwSection() 263 pEndPos->nNode.Assign( *pPrvNd ); in InsertSwSection() 275 if( pEndPos->nNode.GetIndex() == pSttPos->nNode.GetIndex() ) in InsertSwSection() 277 pSttPos->nNode--; in InsertSwSection() 278 pEndPos->nNode--; in InsertSwSection() 285 pEndPos->nNode--; in InsertSwSection() 293 pSttPos->nNode, *pFmt, rNewData, pTOXBase, &pEndPos->nNode); in InsertSwSection() [all …]
|
/aoo41x/main/editeng/source/editeng/ |
H A D | impedit5.cxx | 113 for ( sal_uInt16 nNode = 0; nNode < aEditDoc.Count(); nNode++ ) in UpdateParagraphsWithStyleSheet() local 115 ContentNode* pNode = aEditDoc.GetObject( nNode ); in UpdateParagraphsWithStyleSheet() 136 for ( sal_uInt16 nNode = 0; nNode < aEditDoc.Count(); nNode++ ) in RemoveStyleFromParagraphs() local 138 ContentNode* pNode = aEditDoc.GetObject(nNode); in RemoveStyleFromParagraphs() 354 for ( sal_uInt16 nNode = nStartNode; nNode <= nEndNode; nNode++ ) in GetAttribs() local 361 if ( nNode == nStartNode ) in GetAttribs() 556 for ( sal_uInt16 nNode = nStartNode; nNode <= nEndNode; nNode++ ) in SetAttribs() local 569 if ( nNode == nStartNode ) in SetAttribs() 657 for ( sal_uInt16 nNode = nStartNode; nNode <= nEndNode; nNode++ ) in RemoveCharAttribs() local 667 if ( nNode == nStartNode ) in RemoveCharAttribs() [all …]
|
H A D | editundo.cxx | 193 nNode = n; in EditUndoDelContent() 206 GetImpEditEngine()->InsertContent( pContentNode, nNode ); in Undo() 223 delete _pImpEE->GetParaPortions()[nNode]; in Redo() 224 _pImpEE->GetParaPortions().Remove( nNode ); in Redo() 227 _pImpEE->GetEditDoc().Remove( nNode ); in Redo() 229 _pImpEE->GetEditEnginePtr()->ParagraphDeleted( nNode ); in Redo() 235 ContentNode* pN = ( nNode < _pImpEE->GetEditDoc().Count() ) in Redo() 236 ? _pImpEE->GetEditDoc().SaveGetObject( nNode ) in Redo() 237 : _pImpEE->GetEditDoc().SaveGetObject( nNode-1 ); in Redo() 256 nNode = nN; in EditUndoConnectParas() [all …]
|
/aoo41x/main/sw/source/core/edit/ |
H A D | acorrect.cxx | 127 const SwNodeIndex& rNd = rCrsr.GetPoint()->nNode; in Delete() 139 SwPaM aPam( rCrsr.GetPoint()->nNode.GetNode(), nPos ); in Insert() 251 const SwNodeIndex& rNd = rCrsr.GetPoint()->nNode; in SetAttr() 275 const SwNodeIndex& rNd = rCrsr.GetPoint()->nNode; in SetINetAttr() 299 pIdx = new SwNodeIndex( rCrsr.GetPoint()->nNode, -1 ); in GetPrevPara() 348 const SwNodeIndex& rNd = rCrsr.GetPoint()->nNode; in ChgAutoCorrWord() 387 aCpyPam.GetPoint()->nNode = *pTblNd; in ChgAutoCorrWord() 430 sal_uLong nNode = pIdx ? pIdx->GetIndex() : rCrsr.GetPoint()->nNode.GetIndex(); in SaveCpltSttWord() local 433 nNode, nPos, rExceptWord, cChar, eLang )); in SaveCpltSttWord() 455 if( cChar == cChr && rPos.nNode.GetIndex() == nNode && in CheckChar() [all …]
|
H A D | edglbldc.cxx | 160 rPos.nNode = rInsPos.GetDocPos(); in InsertGlobalDocContent() 171 rPos.nNode--; in InsertGlobalDocContent() 201 rPos.nNode = rInsPos.GetDocPos(); in InsertGlobalDocContent() 205 SwTxtNode* pTxtNd = rPos.nNode.GetNode().GetTxtNode(); in InsertGlobalDocContent() 213 rPos.nNode--; in InsertGlobalDocContent() 241 rPos.nNode = rInsPos.GetDocPos() - 1; in InsertGlobalDocContent() 272 rPos.nNode = nDelIdx - 1; in DeleteGlobalDocContent() 283 rPos.nNode = nDelIdx; in DeleteGlobalDocContent() 286 rPos.nNode = rArr[ nDelPos ]->GetDocPos(); in DeleteGlobalDocContent() 289 rPos.nNode--; in DeleteGlobalDocContent() [all …]
|
/aoo41x/main/sw/source/filter/ww1/ |
H A D | fltshell.cxx | 91 nMkNode(rStartPos.nNode, -1), in SwFltStackEntry() 137 nPtNode = rEndPos.nNode.GetIndex()-1; in SetEndPos() 190 rRegion.End()->nNode, sal_True ), in MakeRegion() 195 rRegion.End()->nNode, sal_True ); in MakeRegion() 226 sal_uLong nPosNd = rPos.nNode.GetIndex(); in MoveAttrs() 317 SwNodeIndex aAktNode( pPos.nNode, -1 ); in KillUnlockedAttrs() 388 rPos.nNode.GetIndex()) in SetAttr() 728 SwNodeIndex aAktNode( rPos.nNode, -1 ); in GetOpenStackAttr() 769 SwNodeIndex aEndNode(pEnd->nNode, -1); in Delete() 1058 sal_uLong nNd = pPos->nNode.GetIndex(); in SwFltShell() [all …]
|