Home
last modified time | relevance | path

Searched refs:nNode (Results 1 – 25 of 222) sorted by relevance

123456789

/aoo42x/main/sw/source/core/undo/
H A Dundobj.cxx368 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 Dundel.cxx120 , 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 Dunins.cxx152 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 Duntblk.cxx70 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 Dunspnd.cxx51 : 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 Dundobj1.cxx97 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 …]
/aoo42x/main/sw/source/core/crsr/
H A Dpam.cxx93 : 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 Dswcrsr.cxx88 if( rPam.GetPoint()->nNode == rPam.GetMark()->nNode ) in _PercentHdl()
242 if( pSavePos->nNode != GetPoint()->nNode.GetIndex() in IsSelOvr()
421 if( !::CheckNodesRange( GetMark()->nNode, GetPoint()->nNode, sal_True )) in IsSelOvr()
587 if ( pSavePos->nNode == GetPoint()->nNode.GetIndex() ) in IsInProtectTable()
622 if( pSavePos->nNode < GetPoint()->nNode.GetIndex() ) in IsInProtectTable()
650 GetPoint()->nNode = IDX; in IsInProtectTable()
1880 CheckNodesRange( aOldPos.nNode, GetPoint()->nNode, bChkRange )) in UpDown()
2139 GetPoint()->nNode = pSavePos->nNode; in RestoreSavePos()
2229 pPos->nNode = *pNd; in MakeBoxSels()
2238 pPos->nNode = *pNd; in MakeBoxSels()
[all …]
H A Dcrsrsh.cxx199 pTblCrsr->GetMark()->nNode.GetIndex() && in GetCrsr()
800 if( !CheckNodesRange( aPos.nNode, pCrsr->GetMark()->nNode, sal_True ) in SetCrsr()
1372 SwNodeIndex aTmp( rPos.nNode ); in lcl_CheckHiddenPara()
1454 lcl_CheckHiddenSection( pPos->nNode ); in UpdateCrsr()
2094 CheckNodesRange( pCrsrStk->GetMark()->nNode, pCurCrsr->GetPoint()->nNode, sal_True ); in Combine()
2096 if( !CheckNodesRange( pCrsrStk->GetMark()->nNode, pCurCrsr->GetPoint()->nNode, sal_True )) in Combine()
2286 pCurCrsr->GetMark()->nNode.GetIndex() ) in GetSelTxt()
2570 pTmpDel->GetPoint()->nNode = 0; in _ParkPams()
2629 pTCrsr->GetPoint()->nNode = 0; in ParkCrsr()
2778 pPam->End()->nNode.GetIndex(); in ShouldWait()
[all …]
H A Dcrstrvl.cxx285 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 Dtrvltbl.cxx94 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 …]
/aoo42x/main/sw/source/core/doc/
H A Ddocedt.cxx947 bUpdateFtn = lcl_SaveFtn( pStt->nNode, pEnd->nNode, rPos.nNode, in MoveRange()
987 if( rPos.nNode == rPaM.GetMark()->nNode ) in MoveRange()
989 rPaM.GetMark()->nNode = rPos.nNode.GetIndex()-1; in MoveRange()
1751 sal_Bool bOneNd = pStt->nNode == pEnd->nNode; in DeleteRangeImplImpl()
2106 nNode = pPoint->nNode.GetIndex(); in SwHyphArgs()
2116 if( pPoint->nNode == pMark->nNode ) in SwHyphArgs()
2132 pPam->GetPoint()->nNode = nNode; in SetPam()
2134 pPam->GetMark()->nNode = nNode; in SetPam()
2325 ASSERT( pStt->nNode == pEnd->nNode || in ReplaceRangeImpl()
2329 sal_Bool bOneNode = pStt->nNode == pEnd->nNode; in ReplaceRangeImpl()
[all …]
H A Ddocbm.cxx348 ( 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 Ddocnum.cxx445 SwNodeIndex aSttRg( rStt.nNode ), aEndRg( rEnd.nNode ); in MoveOutlinePara()
758 rPos.nNode = *pNd; in GotoOutline()
767 rPos.nNode = *pNd; in GotoOutline()
2068 SwNodeIndex aIdx( nOffset > 0 ? pEnd->nNode : pStt->nNode, nOffs ); in MoveParagraph()
2069 SwNodeRange aMvRg( pStt->nNode, 0, pEnd->nNode, +1 ); in MoveParagraph()
2085 (pRStt->nNode < pStt->nNode || in MoveParagraph()
2086 (pRStt->nNode == pStt->nNode && !pRStt->nContent.GetIndex()) ) && in MoveParagraph()
2087 (pEnd->nNode < pREnd->nNode || in MoveParagraph()
2088 (pEnd->nNode == pREnd->nNode && in MoveParagraph()
2102 !( pRStt->nNode <= aIdx && aIdx <= pREnd->nNode )) in MoveParagraph()
[all …]
H A Ddocredln.cxx245 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()
3306 if( pRStt->nNode < nNdIdx ) in CalcStartEnd()
3308 if( pREnd->nNode > nNdIdx ) in CalcStartEnd()
3478 SwNodeRange aRg( pStt->nNode, 0, pEnd->nNode, 1 ); in CopyToSection()
3648 aPos.nNode--; in MoveFromSection()
[all …]
H A Ddocfmt.cxx329 GetNodes().ForEach( pStt->nNode.GetIndex(), pEnd->nNode.GetIndex()+1, in RstTxtAttrs()
470 else if( pStt->nNode != pEnd->nNode || !pStt->nContent.GetIndex() ) in ResetAttrs()
684 sal_uInt16 nEnd = pStt->nNode == pEnd->nNode in lcl_InsAttr()
922 if( pStt->nNode != pEnd->nNode ) in lcl_InsAttr()
943 if( pStt->nNode == pEnd->nNode ) in lcl_InsAttr()
972 aSt = pStt->nNode; in lcl_InsAttr()
983 if( pStt->nNode < pEnd->nNode ) in lcl_InsAttr()
1012 aEnd = pEnd->nNode; in lcl_InsAttr()
1081 aEndPos.nNode--; in lcl_InsAttr()
1806 GetNodes().ForEach( pStt->nNode.GetIndex(), pEnd->nNode.GetIndex()+1, in SetTxtFmtColl()
[all …]
H A Ddocsort.cxx346 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 …]
/aoo42x/main/sw/source/core/docnode/
H A Dndcopy.cxx120 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 Dndsect.cxx181 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 …]
/aoo42x/main/editeng/source/editeng/
H A Dimpedit5.cxx113 for ( sal_uInt32 nNode = 0; nNode < aEditDoc.Count(); nNode++ ) in UpdateParagraphsWithStyleSheet() local
115 ContentNode* pNode = aEditDoc.GetObject( nNode ); in UpdateParagraphsWithStyleSheet()
136 for ( sal_uInt32 nNode = 0; nNode < aEditDoc.Count(); nNode++ ) in RemoveStyleFromParagraphs() local
138 ContentNode* pNode = aEditDoc.GetObject(nNode); in RemoveStyleFromParagraphs()
354 for ( sal_uInt32 nNode = nStartNode; nNode <= nEndNode; nNode++ ) in GetAttribs() local
361 if ( nNode == nStartNode ) in GetAttribs()
556 for ( sal_uInt32 nNode = nStartNode; nNode <= nEndNode; nNode++ ) in SetAttribs() local
569 if ( nNode == nStartNode ) in SetAttribs()
657 for ( sal_uInt32 nNode = nStartNode; nNode <= nEndNode; nNode++ ) in RemoveCharAttribs() local
667 if ( nNode == nStartNode ) in RemoveCharAttribs()
[all …]
H A Deditundo.cxx193 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 …]
/aoo42x/main/sw/source/core/edit/
H A Dacorrect.cxx127 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 Dedglbldc.cxx160 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 …]
H A Dednumber.cxx45 Insert( pTmp->GetMark()->nNode, pTmp->GetPoint()->nNode ); in SV_IMPL_VARARR_SORT()
114 rPam.GetPoint()->nNode = rTmp.nStart; in SetPam()
117 rPam.GetPoint()->nNode = rTmp.nEnd; in SetPam()
179 sal_uInt32 nStt = aPam.GetPoint()->nNode.GetIndex(), in SelectionHasNumber()
180 nEnd = aPam.GetMark()->nNode.GetIndex(); in SelectionHasNumber()
225 sal_uInt32 nStt = aPam.GetPoint()->nNode.GetIndex(), in SelectionHasBullet()
226 nEnd = aPam.GetMark()->nNode.GetIndex(); in SelectionHasBullet()
483 nOffset = aPos.nNode.GetIndex() - in MoveNumParas()
484 aCrsr.GetMark()->nNode.GetIndex(); in MoveNumParas()
586 const SwNode& rNd = GetCrsr()->Start()->nNode.GetNode(); in IsProtectedOutlinePara()
[all …]
/aoo42x/main/sw/source/filter/ww1/
H A Dfltshell.cxx91 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()
725 SwNodeIndex aAktNode( rPos.nNode, -1 ); in GetOpenStackAttr()
766 SwNodeIndex aEndNode(pEnd->nNode, -1); in Delete()
1055 sal_uLong nNd = pPos->nNode.GetIndex(); in SwFltShell()
[all …]

Completed in 258 milliseconds

123456789