/trunk/main/sw/source/core/crsr/ |
H A D | trvlreg.cxx | 46 aIdx.Assign( *pNd, - 1 ); in GotoPrevRegion() 49 while( aIdx.GetIndex() && in GotoPrevRegion() 51 aIdx--; in GotoPrevRegion() 64 aIdx = *pNd; in GotoPrevRegion() 69 aIdx--; in GotoPrevRegion() 107 aIdx++; in GotoNextRegion() 120 aIdx = *pNd; in GotoNextRegion() 137 aIdx++; in GotoNextRegion() 169 SwNodeIndex aIdx( *pNd ); in GotoCurrRegion() local 203 pPos->nNode = aIdx; in GotoCurrRegionAndSkip() [all …]
|
H A D | trvltbl.cxx | 504 SwNodeIndex aTmpIdx( aIdx ); in GotoPrevTable() 510 aIdx.Assign( *pTblNd, - 1 ); in GotoPrevTable() 514 while( aIdx.GetIndex() && in GotoPrevTable() 516 aIdx--; in GotoPrevTable() 522 aIdx = *aIdx.GetNode().StartOfSectionNode(); in GotoPrevTable() 526 aIdx.Assign( *pTblNd, -1 ); in GotoPrevTable() 536 aIdx.Assign( *pTblNd, -1 ); in GotoPrevTable() 568 while( aIdx.GetIndex() < nLastNd && in GotoNextTable() 570 aIdx++; in GotoNextTable() 584 aIdx = *aIdx.GetNode().EndOfSectionNode(); in GotoNextTable() [all …]
|
H A D | pam.cxx | 350 SwNodeIndex aIdx( *pIdx ); in GoNextNds() local 351 SwCntntNode* pNd = aIdx.GetNodes().GoNext( &aIdx ); in GoNextNds() 354 if( bChk && 1 != aIdx.GetIndex() - pIdx->GetIndex() && in GoNextNds() 355 !CheckNodesRange( *pIdx, aIdx, sal_True ) ) in GoNextNds() 358 *pIdx = aIdx; in GoNextNds() 366 SwNodeIndex aIdx( *pIdx ); in GoPreviousNds() local 367 SwCntntNode* pNd = aIdx.GetNodes().GoPrevious( &aIdx ); in GoPreviousNds() 370 if( bChk && 1 != pIdx->GetIndex() - aIdx.GetIndex() && in GoPreviousNds() 371 !CheckNodesRange( *pIdx, aIdx, sal_True ) ) in GoPreviousNds() 374 *pIdx = aIdx; in GoPreviousNds()
|
/trunk/main/sw/source/core/docnode/ |
H A D | nodes.cxx | 433 aIdx++; in ChgNode() 515 SwNodeRange aOrigInsPos( aIdx, -1, aIdx ); // Originale Insert Pos in _MoveNodes() 738 aIdx--; in _MoveNodes() 766 aIdx--; in _MoveNodes() 804 aIdx--; in _MoveNodes() 2214 aIdx++; in _DelDummyNodes() 2381 aIdx--; in FindPrvNxtFrmNode() 2388 rFrmIdx = aIdx; in FindPrvNxtFrmNode() 2402 rFrmIdx = aIdx; in FindPrvNxtFrmNode() 2464 aIdx = aIdx.GetNode().EndOfSectionIndex()+1; in FindPrvNxtFrmNode() [all …]
|
H A D | ndsect.cxx | 139 SwNodeIndex aIdx( rStt ); in lcl_CheckEmptyLayFrm() local 145 aIdx = rEnd; in lcl_CheckEmptyLayFrm() 422 aIdx--; in IsInsRegionAvailable() 435 aIdx++; in IsInsRegionAvailable() 460 aIdx++; in IsInsRegionAvailable() 468 aIdx--; in IsInsRegionAvailable() 485 aIdx--; in IsInsRegionAvailable() 492 aIdx++; in IsInsRegionAvailable() 1101 aIdx = *this; in MakeFrms() 1244 SwNodeIndex aIdx( *this ); in DelFrms() local [all …]
|
H A D | node.cxx | 431 SwNodeIndex aIdx( *this ); in IsInVisibleArea() local 903 --aIdx; in HasPrevNextLayNode() 916 ++aIdx; in HasPrevNextLayNode() 964 SwNodeIndex aIdx( *this ); in CheckSectionCondColl() local 1822 SwNodeIndex aIdx( *this, 1 ); in CanJoinNext() local 1828 aIdx++; in CanJoinNext() 1842 *pIdx = aIdx; in CanJoinNext() 1852 SwNodeIndex aIdx( *this, -1 ); in CanJoinPrev() local 1855 while( aIdx.GetIndex() && in CanJoinPrev() 1858 aIdx--; in CanJoinPrev() [all …]
|
H A D | ndcopy.cxx | 242 SwNodeIndex aIdx( rIdx, -1 ); in MakeCopy() local 243 if( aIdx.GetNode().IsTxtNode() ) in MakeCopy() 245 pCpyAttrNd = aIdx.GetNode().GetTxtNode(); in MakeCopy() 855 SwNodeIndex aIdx(rPam.Start()->nNode); in lcl_ContainsOnlyParagraphsInList() local 859 aIdx++; in lcl_ContainsOnlyParagraphsInList() 1517 SwNodeIndex aIdx( rRg.aStart ); in CopyFlyInFlyImpl() local 1526 ++aIdx; in CopyFlyInFlyImpl() 1539 aIdx = rStartIdx; in CopyFlyInFlyImpl() 1549 aAnchorNdIdx = aIdx; in CopyFlyInFlyImpl() 1552 ++aIdx; in CopyFlyInFlyImpl() [all …]
|
H A D | ndtbl.cxx | 615 SwNodeIndex aIdx( *pEndNd ); in InsertTable() local 1665 SwNodeIndex aIdx( *pTblNd ); in TableToText() local 2078 aIdx++; in DeleteRowCol() 2565 GetNodes().GoNext( &aIdx ); in SetNewTable() 2566 MakeFrms( &aIdx ); in SetNewTable() 3191 pCNd = aIdx.GetNodes().GoNext( &aIdx ); in lcl_BoxSetSplitBoxFmts() 3192 aIdx = *pBox->GetSttNd(); in lcl_BoxSetSplitBoxFmts() 3193 SwCntntNode* pDNd = aIdx.GetNodes().GoNext( &aIdx ); in lcl_BoxSetSplitBoxFmts() 3495 new SwEndNode( aIdx, *pTNd ); in SplitTable() 3711 aIdx -= 2; in MergeTable() [all …]
|
/trunk/main/sw/source/core/undo/ |
H A D | unmove.cxx | 199 SwNodeRange aRg( aIdx, aIdx ); in UndoImpl() 201 aIdx = nInsPosNode; in UndoImpl() 246 RemoveIdxRel( aIdx.GetIndex() + 1, SwPosition( aIdx, in UndoImpl() 256 pTxtNd = aIdx.GetNode().GetTxtNode(); in UndoImpl() 258 RemoveIdxRel( aIdx.GetIndex() + 1, SwPosition( aIdx, in UndoImpl() 288 SwNodeIndex aIdx( rNds, nMvDestNode ); in RedoImpl() local 302 SwPosition aMvPos( aIdx, SwIndex( aIdx.GetNode().GetCntntNode(), in RedoImpl() 308 aIdx = aPam.Start()->nNode; in RedoImpl() 311 aIdx--; in RedoImpl() 317 aIdx++; in RedoImpl() [all …]
|
H A D | untbl.cxx | 283 SwNodeIndex aIdx( rDoc.GetNodes(), nSttNode ); in UndoImpl() local 316 aIdx.GetIndex() + 1 ); in UndoImpl() 320 rPam.GetPoint()->nNode = aIdx; in UndoImpl() 755 SwNodeIndex aIdx( rDoc.GetNodes(), nTblNd ); in UndoImpl() local 1771 SwNodeIndex aIdx( rDoc.GetNodes(), nSttNode ); in UndoImpl() local 2052 aIdx = aBoxes[ n ]; in UndoImpl() 2217 SwNodeIndex aIdx( *rBox.GetSttNd(), 1 ); in SaveCollection() local 2220 pCNd = aIdx.GetNodes().GoNext( &aIdx ); in SaveCollection() 2331 SwIndex aIdx( pTxtNd, 0 ); in UndoImpl() local 2334 pTxtNd->EraseText( aIdx ); in UndoImpl() [all …]
|
H A D | unsect.cxx | 134 SwNodeIndex aIdx( *pNd ); in UndoImpl() local 138 rDoc.GetNodes().Delete( aIdx, pNd->EndOfSectionIndex() - in UndoImpl() 139 aIdx.GetIndex() ); in UndoImpl() 162 rDoc.GetFtnIdxs().UpdateFtn( aIdx ); in UndoImpl() 237 SwNodeIndex aIdx( rDoc.GetNodes(), nNode ); in Join() local 238 SwTxtNode* pTxtNd = aIdx.GetNode().GetTxtNode(); in Join() 244 SwPosition( aIdx, SwIndex( pTxtNd, pTxtNd->GetTxt().Len() ) ) ); in Join()
|
H A D | undobj.cxx | 154 SwNodeIndex aIdx( rDoc.GetNodes(), nSttIdx ); in RemoveIdxFromSection() local 156 : aIdx.GetNode().EndOfSectionIndex() ); in RemoveIdxFromSection() 158 rDoc.CorrAbs( aIdx, aEndIdx, aPos, sal_True ); in RemoveIdxFromSection() 193 ::PaMCorrRel( aIdx, rPos ); in RemoveIdxRel() 604 SwIndex aIdx( pTxtNd, nFtnSttIdx ); in DelCntntIndex() local 606 pTxtNd->EraseText( aIdx, 1 ); in DelCntntIndex() 628 SwIndex aIdx( pTxtNd, nFtnSttIdx ); in DelCntntIndex() local 630 pTxtNd->EraseText( aIdx, 1 ); in DelCntntIndex() 1062 SwNodeIndex aIdx( rDoc.GetNodes() ); in RedlineToDoc() local 1063 RestoreSection( &rDoc, &aIdx, SwNormalStartNode ); in RedlineToDoc() [all …]
|
H A D | undobj1.cxx | 111 SwNodeIndex aIdx( pDoc->GetNodes() ); in InsFly() local 112 RestoreSection( pDoc, &aIdx, SwFlyStartNode ); in InsFly() 113 pFrmFmt->SetFmtAttr( SwFmtCntnt( aIdx.GetNode().GetStartNode() )); in InsFly() 210 SwIndex aIdx( pPos->nContent ); in DelFly() local 211 pTxtNd->EraseText( aIdx, 1 ); in DelFly() 285 SwNodeIndex aIdx( rDoc.GetNodes(), in UndoImpl() local 288 aIdx.GetNode().EndOfSectionIndex() ); in UndoImpl() 291 rDoc.CorrAbs( aIdx, aEndIdx, aPos, sal_True ); in UndoImpl()
|
/trunk/main/sw/source/core/doc/ |
H A D | docchart.cxx | 137 while( 0 != (pStNd = aIdx.GetNode().GetStartNode()) ) in _UpdateCharts() 139 aIdx++; in _UpdateCharts() 141 if( 0 != ( pONd = aIdx.GetNode().GetOLENode() ) && in _UpdateCharts() 151 aIdx.Assign( *pStNd->EndOfSectionNode(), + 1 ); in _UpdateCharts() 195 while ( 0 != (pStNd = aIdx.GetNode().GetStartNode()) ) in SetTableName() 197 aIdx++; in SetTableName() 198 SwOLENode *pNd = aIdx.GetNode().GetOLENode(); in SetTableName() 213 aIdx.Assign( *pStNd->EndOfSectionNode(), + 1 ); in SetTableName() 242 while (0 != (pStNd = aIdx.GetNode().GetStartNode())) in CreateChartInternalDataProviders() 244 aIdx++; in CreateChartInternalDataProviders() [all …]
|
H A D | docnum.cxx | 1624 aIdx--; in lcl_GotoNextPrevNum() 1655 aIdx++, pLast = pNd; in lcl_GotoNextPrevNum() 1657 aIdx--, pLast = 0; in lcl_GotoNextPrevNum() 1659 while( bNext ? ( aIdx.GetIndex() < aIdx.GetNodes().Count() - 1 ) in lcl_GotoNextPrevNum() 1660 : aIdx.GetIndex() ) in lcl_GotoNextPrevNum() 1671 rPos.nNode = aIdx; in lcl_GotoNextPrevNum() 1686 aIdx++; in lcl_GotoNextPrevNum() 1688 aIdx--; in lcl_GotoNextPrevNum() 1695 rPos.nNode = aIdx; in lcl_GotoNextPrevNum() 2102 !( pRStt->nNode <= aIdx && aIdx <= pREnd->nNode )) in MoveParagraph() [all …]
|
H A D | docedt.cxx | 482 ++aIdx; in lcl_SaveFtn() 885 aIdx++; in MoveAndJoin() 887 SwNodeIndex aNxtIdx( aIdx ); in MoveAndJoin() 1228 aIdx = rRange.aStart; in MoveNodeRange() 1252 pEnd->nNode = aIdx; in MoveNodeRange() 1360 SwNodeIndex aOldIdx( aIdx ); in lcl_JoinText() 1790 SwIndex aIdx( pCNd, 0 ); in DeleteRangeImplImpl() local 2734 aIdx++; in TransliterateText() 2739 for( ; aIdx.GetIndex() < nEndNd; aIdx++ ) in TransliterateText() 2812 aIdx++; in CountWords() [all …]
|
H A D | extinput.cxx | 155 SwIndex aIdx( pTNd, nSttCnt ); in SetInputData() local 166 aIdx += rNewStr.Len(); in SetInputData() 167 pTNd->ReplaceText( aIdx, nReplace, in SetInputData() 169 aIdx = nSttCnt; in SetInputData() 175 aIdx += sOverwriteText.Len(); in SetInputData() 176 pTNd->EraseText( aIdx, nReplace ); in SetInputData() 177 aIdx = nSttCnt; in SetInputData() 183 pTNd->ReplaceText( aIdx, nReplace, rNewStr ); in SetInputData() 186 GetMark()->nContent = aIdx; in SetInputData() 192 pTNd->EraseText( aIdx, nEndCnt - nSttCnt ); in SetInputData() [all …]
|
H A D | docglbl.cxx | 293 if( aIdx.GetIndex() + 1 != in SplitDoc() 295 pDoc->GetNodes().Delete( aIdx, 1 ); in SplitDoc() 298 CopyFlyInFlyImpl( aRg, 0, aIdx ); in SplitDoc() 427 SwNodeIndex aIdx( *pSectEnd, 1 ); in SplitDoc() local 428 GetNodes()._MoveNodes( aRg, GetNodes(), aIdx ); in SplitDoc() 442 SwNodeIndex aIdx( *pSectNd ); in SplitDoc() local 644 if( aIdx.GetIndex() + 1 != in SplitDoc() 646 pDoc->GetNodes().Delete( aIdx, 1 ); in SplitDoc() 649 CopyFlyInFlyImpl( aRg, 0, aIdx ); in SplitDoc() 778 SwNodeIndex aIdx( *pSectEnd, 1 ); in SplitDoc() local [all …]
|
H A D | docfld.cxx | 580 SwNodeIndex aIdx( rTxtNd ); in UpdateTblFlds() local 649 SwNodeIndex aIdx( *pTblNd ); in UpdateTblFlds() local 650 FldsToCalc( *pCalc, _SetGetExpFld( aIdx )); in UpdateTblFlds() 823 SwNodeIndex aIdx( *rTBox.GetSttNd() ); in _SetGetExpFld() local 824 const SwCntntNode* pNd = aIdx.GetNode().GetNodes().GoNext( &aIdx ); in _SetGetExpFld() 898 SwNodeIndex aIdx( *rFrm.GetNode() ); in SetBodyPos() local 899 SwDoc& rDoc = *aIdx.GetNodes().GetDoc(); in SetBodyPos() 900 SwPosition aPos( aIdx ); in SetBodyPos() 1000 pRet = aIdx.GetNode().GetNodes().GoNext( &aIdx ); in GetNodeFromCntnt() 1007 pRet = aIdx.GetNode().GetNodes().GoNext( &aIdx ); in GetNodeFromCntnt() [all …]
|
H A D | doctxm.cxx | 387 SwNodeIndex aIdx( *pSectNd, +1 ); in InsertTableOf() local 398 SwNodeIndex aStt( *pHeadNd ); aIdx--; in InsertTableOf() 861 SwNodeIndex aIdx( *pSectNd ); in Update() local 934 SwNodeIndex aIdx( *pSectNd, +1 ); in Update() local 946 SwNodeIndex aStt( *pHeadNd ); aIdx--; in Update() 1686 SwIndex aIdx( pTOXNd, rTxt.Len() ); in GenerateText() local 1687 rBase.FillText( *pTOXNd, aIdx ); in GenerateText() 1696 SwIndex aIdx( pTOXNd, rTxt.Len() ); in GenerateText() local 1697 rBase.FillText( *pTOXNd, aIdx ); in GenerateText() 1865 SwIndex aIdx( pTOXNd, nLinkStartPosition ); in GenerateText() local [all …]
|
/trunk/main/sw/source/core/edit/ |
H A D | edattr.cxx | 301 SwNodeIndex aIdx( *pIdx, 1 ); in GetSeqFtnList() local 302 SwTxtNode* pTxtNd = aIdx.GetNode().GetTxtNode(); in GetSeqFtnList() 304 pTxtNd = (SwTxtNode*)pDoc->GetNodes().GoNext( &aIdx ); in GetSeqFtnList() 521 SwIndex aIdx( pStt->nContent ); in GetScriptType() local 522 if( pTNd->GoPrevious( &aIdx, CRSR_SKIP_CHARS ) ) in GetScriptType() 523 nPos = aIdx.GetIndex(); in GetScriptType() 544 SwNodeIndex aIdx( pStt->nNode ); in GetScriptType() local 545 for( ; aIdx.GetIndex() <= nEndIdx; aIdx++ ) in GetScriptType() 546 if( aIdx.GetNode().IsTxtNode() ) in GetScriptType() 554 xub_StrLen nChg = aIdx == pStt->nNode in GetScriptType() [all …]
|
/trunk/main/sw/source/core/txtnode/ |
H A D | thints.cxx | 1615 SwIndex aIdx( this, nStart ); in InsertHint() local 1616 EraseText( aIdx, 1 ); in InsertHint() 1624 SwIndex aIdx( this, nStart ); in InsertHint() local 1625 EraseText( aIdx, (nEnd - nStart) ); in InsertHint() 1633 EraseText( aIdx, 1 ); in InsertHint() 1638 SwIndex aIdx( this, nStart ); in InsertHint() local 1639 EraseText( aIdx, 1 ); in InsertHint() 1671 EraseText( aIdx, 1 ); in DeleteAttribute() 1747 EraseText( aIdx, 1 ); in DeleteAttributes() 1786 const SwIndex aIdx( this, nFndPos ); in DelSoftHyph() local [all …]
|
H A D | atrflyin.cxx | 123 SwNodeIndex aIdx( pDoc->GetNodes().GetEndOfExtras(), +2 ); in CopyFlyFmt() local 124 SwCntntNode* pCNd = aIdx.GetNode().GetCntntNode(); in CopyFlyFmt() 126 pCNd = pDoc->GetNodes().GoNext( &aIdx ); in CopyFlyFmt() 129 pPos->nNode = aIdx; in CopyFlyFmt() 163 SwIndex aIdx( (SwTxtNode*)pNode, *GetStart() ); in SetAnchor() local 164 SwPosition aPos( *pNode->StartOfSectionNode(), aIdx ); in SetAnchor()
|
H A D | ndtxt.cxx | 126 SwNodeIndex aIdx( *pNode ); local 151 ((SwTableNode*)pNd)->MakeFrms( aIdx ); 433 SwIndex aIdx( this ); in SplitCntntNode() local 557 SwIndex aIdx( this ); in SplitCntntNode() local 651 SwNodeIndex aIdx( *this ); in JoinNext() local 652 if( SwCntntNode::CanJoinNext( &aIdx ) ) in JoinNext() 730 rNds.Delete(aIdx); in JoinNext() 746 SwNodeIndex aIdx( *this ); in JoinPrev() local 747 if( SwCntntNode::CanJoinPrev( &aIdx ) ) in JoinPrev() 825 rNds.Delete(aIdx); in JoinPrev() [all …]
|
/trunk/main/sw/source/filter/ww8/ |
H A D | ww8glsy.cxx | 176 SwNodeIndex aIdx( pGlDoc->GetNodes().GetEndOfContent(), in MakeEntries() local 178 pCNd = aIdx.GetNode().GetCntntNode(); in MakeEntries() 179 SwPosition aPos( aIdx, SwIndex( pCNd, pCNd->Len() )); in MakeEntries() 225 SwNodeIndex aIdx( in Load() local 227 if( !aIdx.GetNode().IsTxtNode() ) in Load() 230 pD->GetNodes().GoNext( &aIdx ); in Load() 232 SwPaM aPamo( aIdx ); in Load() 233 aPamo.GetPoint()->nContent.Assign(aIdx.GetNode().GetCntntNode(), in Load()
|