Home
last modified time | relevance | path

Searched refs:aIdx (Results 1 – 25 of 101) sorted by relevance

12345

/AOO41X/main/sw/source/core/crsr/
H A Dtrvlreg.cxx43 SwNodeIndex aIdx( rCurCrsr.GetPoint()->nNode ); in GotoPrevRegion() local
44 SwSectionNode* pNd = aIdx.GetNode().FindSectionNode(); in GotoPrevRegion()
46 aIdx.Assign( *pNd, - 1 ); in GotoPrevRegion()
49 while( aIdx.GetIndex() && in GotoPrevRegion()
50 0 == ( pNd = aIdx.GetNode().StartOfSectionNode()->GetSectionNode()) ) in GotoPrevRegion()
51 aIdx--; in GotoPrevRegion()
60 aIdx.Assign( *pNd, - 1 ); in GotoPrevRegion()
64 aIdx = *pNd; in GotoPrevRegion()
65 SwCntntNode* pCNd = pNd->GetNodes().GoNextSection( &aIdx, in GotoPrevRegion()
69 aIdx--; in GotoPrevRegion()
[all …]
H A Dtrvltbl.cxx495 SwNodeIndex aIdx( rCurCrsr.GetPoint()->nNode ); in GotoPrevTable() local
497 SwTableNode* pTblNd = aIdx.GetNode().FindTableNode(); in GotoPrevTable()
504 SwNodeIndex aTmpIdx( aIdx ); in GotoPrevTable()
510 aIdx.Assign( *pTblNd, - 1 ); in GotoPrevTable()
514 while( aIdx.GetIndex() && in GotoPrevTable()
515 0 == ( pTblNd = aIdx.GetNode().StartOfSectionNode()->GetTableNode()) ) in GotoPrevTable()
516 aIdx--; in GotoPrevTable()
522 aIdx = *aIdx.GetNode().StartOfSectionNode(); in GotoPrevTable()
523 if( !lcl_FindNextCell( aIdx, bInReadOnly )) in GotoPrevTable()
526 aIdx.Assign( *pTblNd, -1 ); in GotoPrevTable()
[all …]
H A Dpam.cxx350 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()
/AOO41X/main/sw/source/core/docnode/
H A Dnodes.cxx401 SwNodeIndex aIdx( *pPrevInsNd, 1 ); in ChgNode() local
402 SwNodeIndex aFrmNdIdx( aIdx ); in ChgNode()
420 while( aIdx != rInsPos ) in ChgNode()
422 SwCntntNode* pCNd = aIdx.GetNode().GetCntntNode(); in ChgNode()
426 ((SwTableNode*)pFrmNd)->MakeFrms( aIdx ); in ChgNode()
428 ((SwSectionNode*)pFrmNd)->MakeFrms( aIdx ); in ChgNode()
433 aIdx++; in ChgNode()
506 SwNodeIndex aIdx( aIndex ); in _MoveNodes() local
512 SwStartNode* pStartNode = aIdx.GetNode().pStartOfSection; in _MoveNodes()
515 SwNodeRange aOrigInsPos( aIdx, -1, aIdx ); // Originale Insert Pos in _MoveNodes()
[all …]
H A Dndsect.cxx139 SwNodeIndex aIdx( rStt ); in lcl_CheckEmptyLayFrm() local
140 if( !rNds.GoPrevSection( &aIdx, sal_True, sal_False ) || in lcl_CheckEmptyLayFrm()
141 !CheckNodesRange( rStt, aIdx, sal_True ) || in lcl_CheckEmptyLayFrm()
145 aIdx = rEnd; in lcl_CheckEmptyLayFrm()
146 if( !rNds.GoNextSection( &aIdx, sal_True, sal_False ) || in lcl_CheckEmptyLayFrm()
147 !CheckNodesRange( rEnd, aIdx, sal_True ) || in lcl_CheckEmptyLayFrm()
414 SwNodeIndex aIdx( pStt->nNode, -1 ); in IsInsRegionAvailable() local
418 while( 0 != ( pPrvNd = (pNd = &aIdx.GetNode())->GetSectionNode() ) && in IsInsRegionAvailable()
419 !( aIdx.GetIndex() < nCmp && in IsInsRegionAvailable()
422 aIdx--; in IsInsRegionAvailable()
[all …]
H A Dnode.cxx431 SwNodeIndex aIdx( *this ); in IsInVisibleArea() local
432 pNd = GetNodes().GoNext( &aIdx ); in IsInVisibleArea()
436 SwNodeIndex aIdx( *EndOfSectionNode() ); in IsInVisibleArea() local
437 pNd = GetNodes().GoPrevious( &aIdx ); in IsInVisibleArea()
537 SwNodeIndex aIdx( *this ); in FindPageDesc() local
538 pNode = GetNodes().GoNext( &aIdx ); in FindPageDesc()
542 SwNodeIndex aIdx( *EndOfSectionNode() ); in FindPageDesc() local
543 pNode = GetNodes().GoPrevious( &aIdx ); in FindPageDesc()
896 SwNodeIndex aIdx( *this, -1 ); in HasPrevNextLayNode() local
899 while ( aIdx.GetNode().IsSectionNode() || in HasPrevNextLayNode()
[all …]
H A Dndcopy.cxx242 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()
860 pTxtNd = aIdx.GetNode().GetTxtNode(); in lcl_ContainsOnlyParagraphsInList()
1514 SwNodeIndex aIdx( rRg.aStart ); in CopyFlyInFlyImpl() local
1515 while ( !bAnchorTxtNdFound && aIdx <= rRg.aEnd ) in CopyFlyInFlyImpl()
1517 if ( aIdx.GetNode().IsTxtNode() ) in CopyFlyInFlyImpl()
1520 bAnchorTxtNdFound = aAnchor.GetCntntAnchor()->nNode == aIdx; in CopyFlyInFlyImpl()
[all …]
H A Dndtbl.cxx615 SwNodeIndex aIdx( *pEndNd ); in InsertTable() local
621 SwStartNode* pSttNd = new SwStartNode( aIdx, ND_STARTNODE, in InsertTable()
625 SwTxtNode * pTmpNd = new SwTxtNode( aIdx, pTxtColl ); in InsertTable()
649 new SwEndNode( aIdx, *pSttNd ); in InsertTable()
1665 SwNodeIndex aIdx( *pTblNd ); in TableToText() local
1666 SwCntntNode* pCNd = GoNext( &aIdx ); in TableToText()
1958 SwNodeIndex aIdx( GetNodes(), nIdx ); in DeleteRow() local
1959 SwCntntNode* pCNd = aIdx.GetNode().GetCntntNode(); in DeleteRow()
1961 pCNd = GetNodes().GoNext( &aIdx ); in DeleteRow()
1967 pPam->GetPoint()->nNode = aIdx; in DeleteRow()
[all …]
/AOO41X/main/sw/source/core/undo/
H A Dunmove.cxx194 SwNodeIndex aIdx( pDoc->GetNodes(), nDestSttNode ); in UndoImpl() local
199 SwNodeRange aRg( aIdx, aIdx ); in UndoImpl()
201 aIdx = nInsPosNode; in UndoImpl()
202 bool bSuccess = pDoc->MoveNodeRange( aRg, aIdx, in UndoImpl()
209 SwPaM aPam( aIdx.GetNode(), nDestSttCntnt, in UndoImpl()
242 SwTxtNode* pTxtNd = aIdx.GetNode().GetTxtNode(); in UndoImpl()
246 RemoveIdxRel( aIdx.GetIndex() + 1, SwPosition( aIdx, in UndoImpl()
253 if( bJoinPrev && pTxtNd->CanJoinPrev( &aIdx ) ) in UndoImpl()
256 pTxtNd = aIdx.GetNode().GetTxtNode(); in UndoImpl()
258 RemoveIdxRel( aIdx.GetIndex() + 1, SwPosition( aIdx, in UndoImpl()
[all …]
H A Dunsect.cxx134 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 Dundobj1.cxx111 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()
H A Dundobj.cxx154 SwNodeIndex aIdx( rDoc.GetNodes(), nSttIdx ); in RemoveIdxFromSection() local
156 : aIdx.GetNode().EndOfSectionIndex() ); in RemoveIdxFromSection()
158 rDoc.CorrAbs( aIdx, aEndIdx, aPos, sal_True ); in RemoveIdxFromSection()
192 SwNodeIndex aIdx( rPos.nNode.GetNode().GetNodes(), nIdx ); in RemoveIdxRel() local
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
[all …]
H A Duntbl.cxx283 SwNodeIndex aIdx( rDoc.GetNodes(), nSttNode ); in UndoImpl() local
285 SwTableNode* pTblNd = aIdx.GetNode().GetTableNode(); in UndoImpl()
315 rDoc.GetNodes().Delete( aIdx, pTblNd->EndOfSectionIndex() - in UndoImpl()
316 aIdx.GetIndex() + 1 ); in UndoImpl()
320 rPam.GetPoint()->nNode = aIdx; in UndoImpl()
755 SwNodeIndex aIdx( rDoc.GetNodes(), nTblNd ); in UndoImpl() local
756 SwTableNode *const pTNd = aIdx.GetNode().GetTableNode(); in UndoImpl()
1771 SwNodeIndex aIdx( rDoc.GetNodes(), nSttNode ); in UndoImpl() local
1773 SwTableNode *const pTblNd = aIdx.GetNode().GetTableNode(); in UndoImpl()
1798 pSave->RestoreSection( &rDoc, &aIdx, SwTableBoxStartNode ); in UndoImpl()
[all …]
/AOO41X/main/sw/source/core/doc/
H A Ddocchart.cxx136 SwNodeIndex aIdx( *GetNodes().GetEndOfAutotext().StartOfSectionNode(), 1 ); in _UpdateCharts() local
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()
194 SwNodeIndex aIdx( *GetNodes().GetEndOfAutotext().StartOfSectionNode(), 1 ); in SetTableName() local
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()
[all …]
H A Ddocnum.cxx1709 SwNodeIndex aIdx( rPos.nNode ); in lcl_GotoNextPrevNum() local
1716 aIdx--; in lcl_GotoNextPrevNum()
1717 if( aIdx.GetNode().IsTxtNode() ) in lcl_GotoNextPrevNum()
1719 pNd = aIdx.GetNode().GetTxtNode(); in lcl_GotoNextPrevNum()
1735 bError = !lcl_IsValidPrevNextNumNode( aIdx ); in lcl_GotoNextPrevNum()
1747 aIdx++, pLast = pNd; in lcl_GotoNextPrevNum()
1749 aIdx--, pLast = 0; in lcl_GotoNextPrevNum()
1751 while( bNext ? ( aIdx.GetIndex() < aIdx.GetNodes().Count() - 1 ) in lcl_GotoNextPrevNum()
1752 : aIdx.GetIndex() ) in lcl_GotoNextPrevNum()
1754 if( aIdx.GetNode().IsTxtNode() ) in lcl_GotoNextPrevNum()
[all …]
H A Dextinput.cxx155 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 Ddocedt.cxx413 SwIndex aIdx( &rTxtNd, nFtnSttIdx ); in lcl_SaveFtn() local
414 rTxtNd.EraseText( aIdx, 1 ); in lcl_SaveFtn()
441 SwIndex aIdx( &rTxtNd, nFtnSttIdx ); in lcl_SaveFtn() local
442 rTxtNd.EraseText( aIdx, 1 ); in lcl_SaveFtn()
460 SwNodeIndex aIdx( rSttNd ); in lcl_SaveFtn() local
461 while( aIdx < rEndNd ) // Check the moved section in lcl_SaveFtn()
463 SwNode* pNode = &aIdx.GetNode(); in lcl_SaveFtn()
482 ++aIdx; in lcl_SaveFtn()
872 SwNodeIndex aIdx( rPaM.Start()->nNode ); in MoveAndJoin() local
873 sal_Bool bJoinTxt = aIdx.GetNode().IsTxtNode(); in MoveAndJoin()
[all …]
H A Ddocglbl.cxx292 SwNodeIndex aIdx( pDoc->GetNodes().GetEndOfExtras(), 2 ); in SplitDoc() local
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
443 GetNodes()._MoveNodes( aRg, GetNodes(), aIdx ); in SplitDoc()
643 SwNodeIndex aIdx( pDoc->GetNodes().GetEndOfExtras(), 2 ); in SplitDoc() local
644 if( aIdx.GetIndex() + 1 != in SplitDoc()
[all …]
H A Ddocfld.cxx580 SwNodeIndex aIdx( rTxtNd ); in UpdateTblFlds() local
582 _SetGetExpFld( aIdx, pFmtFld->GetTxtFld() )); in UpdateTblFlds()
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()
999 SwNodeIndex aIdx( *CNTNT.pTBox->GetSttNd() ); in GetNodeFromCntnt() local
[all …]
H A Ddoctxm.cxx387 SwNodeIndex aIdx( *pSectNd, +1 ); in InsertTableOf() local
389 SwTxtNode* pHeadNd = GetNodes().MakeTxtNode( aIdx, in InsertTableOf()
398 SwNodeIndex aStt( *pHeadNd ); aIdx--; in InsertTableOf()
401 aStt, *pSectFmt, headerData, 0, &aIdx, true, false); in InsertTableOf()
842 SwNodeIndex aIdx( *(pSectNd->EndOfSectionNode()) ); in Update() local
843 const SwCntntNode* pNdAfterTOX = pSectNd->GetNodes().GoNext( &aIdx ); in Update()
861 SwNodeIndex aIdx( *pSectNd ); in Update() local
863 pSectNd->GetNodes().GoPrevious( &aIdx )->FindPageDesc( sal_False ); in Update()
934 SwNodeIndex aIdx( *pSectNd, +1 ); in Update() local
936 SwTxtNode* pHeadNd = pDoc->GetNodes().MakeTxtNode( aIdx, in Update()
[all …]
/AOO41X/main/sw/source/core/edit/
H A Dedattr.cxx301 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()
548 const SwTxtNode* pTNd = aIdx.GetNode().GetTxtNode(); in GetScriptType()
[all …]
/AOO41X/main/sw/source/core/txtnode/
H A Dthints.cxx1311 SwIndex aIdx( this, *pAttr->GetStart() ); in InsertHint() local
1313 InsertText( c, aIdx, nInsertFlags ); in InsertHint()
1320 pAnchor->GetCntntAnchor()->nContent == aIdx ) in InsertHint()
1493 SwIndex aIdx( this, *pAttr->GetStart() ); in InsertHint() local
1494 InsertText( GetCharOfTxtAttr(*pAttr), aIdx, nInsertFlags ); in InsertHint()
1521 SwIndex aIdx( this, *pAttr->GetStart() ); in InsertHint() local
1522 InsertText( CH_TXT_ATR_INPUTFIELDSTART, aIdx, nInsertFlags ); in InsertHint()
1524 InsertText( aContent, aIdx, nInsertFlags ); in InsertHint()
1525 InsertText( CH_TXT_ATR_INPUTFIELDEND, aIdx, nInsertFlags ); in InsertHint()
1540 SwIndex aIdx( this, *pAttr->GetStart() ); in InsertHint() local
[all …]
H A Datrflyin.cxx123 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 Dndtxt.cxx123 SwNodeIndex aIdx( *pNode ); local
148 ((SwTableNode*)pNd)->MakeFrms( aIdx );
162 ((SwSectionNode*)pNd)->MakeFrms( aIdx );
320 SwNodeIndex aIdx( *pAttr->GetStartNode(), 1 ); in lcl_ChangeFtnRef() local
321 SwCntntNode *pNd = aIdx.GetNode().GetCntntNode(); in lcl_ChangeFtnRef()
324 GetNodes().GoNextSection( &aIdx, sal_True, sal_False ); in lcl_ChangeFtnRef()
428 SwIndex aIdx( this ); in SplitCntntNode() local
429 CutText( pNode, aIdx, nSplitPos ); in SplitCntntNode()
552 SwIndex aIdx( this ); in SplitCntntNode() local
553 CutText( pNode, aIdx, nSplitPos ); in SplitCntntNode()
[all …]
/AOO41X/main/sw/source/filter/ww8/
H A Dww8glsy.cxx176 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()

12345