Home
last modified time | relevance | path

Searched refs:SwNodeIndex (Results 1 – 25 of 216) sorted by relevance

123456789

/AOO41X/main/sw/inc/
H A Dndindex.hxx36 class SW_DLLPUBLIC SwNodeIndex class
38 friend void SwNodes::RegisterIndex( SwNodeIndex& );
39 friend void SwNodes::DeRegisterIndex( SwNodeIndex& );
48 SwNodeIndex *pNext, *pPrev;
53 SwNodeIndex( SwNodes& rNds, sal_uInt16 nIdx );
54 SwNodeIndex( SwNodes& rNds, int nIdx );
57 SwNodeIndex( SwNodes& rNds, sal_uLong nIdx = 0 );
58 SwNodeIndex( const SwNodeIndex &, long nDiff = 0 );
59 SwNodeIndex( const SwNode&, long nDiff = 0 );
60 ~SwNodeIndex() { Remove(); } in ~SwNodeIndex()
[all …]
H A Dndarr.hxx51 class SwNodeIndex;
89 friend class SwNodeIndex;
91 SwNodeIndex* pRoot; // Liste aller Indizies auf Nodes
95 const SwNodeIndex& rPos );
115 void RegisterIndex( SwNodeIndex& rIdx );
116 void DeRegisterIndex( SwNodeIndex& rIdx );
120 void SectionUpDown( const SwNodeIndex & aStart, const SwNodeIndex & aEnd );
121 void DelNodes( const SwNodeIndex& rStart, sal_uLong nCnt = 1 );
123 void ChgNode( SwNodeIndex& rDelPos, sal_uLong nSize,
124 SwNodeIndex& rInsPos, sal_Bool bNewFrms );
[all …]
H A Dnode.hxx54 class SwNodeIndex;
108 SwNode( const SwNodeIndex &rWhere, const sal_uInt8 nNodeId );
324 SwStartNode( const SwNodeIndex &rWhere,
355 SwEndNode( const SwNodeIndex &rWhere, SwStartNode& rSttNd );
381 SwCntntNode( const SwNodeIndex &rWhere, const sal_uInt8 nNodeType,
411 int CanJoinNext( SwNodeIndex* pIdx =0 ) const;
412 int CanJoinPrev( SwNodeIndex* pIdx =0 ) const;
457 virtual SwCntntNode* MakeCopy( SwDoc*, const SwNodeIndex& ) const = 0;
530 SwTableNode( const SwNodeIndex & );
537 void MakeFrms( SwNodeIndex* pIdxBehind );
[all …]
H A Dpam.hxx53 SwNodeIndex nNode;
56 SwPosition( const SwNodeIndex &rNode, const SwIndex &rCntnt );
57 explicit SwPosition( const SwNodeIndex &rNode );
132 SwPaM( const SwNodeIndex& rMk, const SwNodeIndex& rPt,
136 SwPaM( const SwNodeIndex& rMk, xub_StrLen nMkCntnt,
137 const SwNodeIndex& rPt, xub_StrLen nPtCntnt, SwPaM* pRing = 0 );
141 SwPaM( const SwNodeIndex& rNd, xub_StrLen nCntnt = 0, SwPaM* pRing = 0 );
184 *m_pMark = SwPosition( SwNodeIndex( GetNode()->GetNodes() ) ); in DeleteMark()
272 sal_Bool CheckNodesRange( const SwNodeIndex&, const SwNodeIndex&, sal_Bool );
H A Dundobj.hxx43 class SwNodeIndex;
162 SwNodeIndex* pNodeIdx = 0, SwIndex* pCntIdx = 0,
189 SwNodeIndex *pMvStt;
195 SwNodeIndex* GetMvSttIdx() const { return pMvStt; } in GetMvSttIdx()
202 void SaveSection( SwDoc* pDoc, const SwNodeIndex& rSttIdx );
204 void RestoreSection( SwDoc* pDoc, SwNodeIndex* pIdx, sal_uInt16 nSectType );
205 void RestoreSection( SwDoc* pDoc, const SwNodeIndex& rInsPos );
289 SwNodeIndex* GetMvSttIdx() const { return SwUndoSaveSection::GetMvSttIdx(); } in GetMvSttIdx()
/AOO41X/main/sw/source/core/docnode/
H A Dndindex.cxx34 int SwNodeIndex::nSerial = 0;
38 SwNodeRange::SwNodeRange( const SwNodeIndex &rS, const SwNodeIndex &rE ) in SwNodeRange()
51 SwNodeRange::SwNodeRange( const SwNodeIndex& rS, long nSttDiff, in SwNodeRange()
52 const SwNodeIndex& rE, long nEndDiff ) in SwNodeRange()
62 SwNodeIndex::SwNodeIndex( SwNodes& rNds, sal_uLong nIdx ) in SwNodeIndex() function in SwNodeIndex
73 SwNodeIndex::SwNodeIndex( const SwNodeIndex& rIdx, long nDiff ) in SwNodeIndex() function in SwNodeIndex
88 SwNodeIndex::SwNodeIndex( const SwNode& rNd, long nDiff ) in SwNodeIndex() function in SwNodeIndex
103 void SwNodeIndex::Remove() in Remove()
108 SwNodeIndex& SwNodeIndex::operator=( const SwNodeIndex& rIdx ) in operator =()
121 SwNodeIndex& SwNodeIndex::operator=( const SwNode& rNd ) in operator =()
[all …]
H A Dnodes.cxx51 extern sal_Bool CheckNodesRange( const SwNodeIndex& rStt,
52 const SwNodeIndex& rEnd, sal_Bool bChkSection );
129 SwNodeIndex aNdIdx( *this ); in ~SwNodes()
145 void SwNodes::ChgNode( SwNodeIndex& rDelPos, sal_uLong nSz, in ChgNode()
146 SwNodeIndex& rInsPos, sal_Bool bNewFrms ) in ChgNode()
172 SwNodeIndex aDelIdx( *this, n ); in ChgNode()
231 SwNodeIndex aInsPos( rInsPos ); in ChgNode()
401 SwNodeIndex aIdx( *pPrevInsNd, 1 ); in ChgNode()
402 SwNodeIndex aFrmNdIdx( aIdx ); in ChgNode()
460 const SwNodeIndex& aIndex, sal_Bool bNewFrms ) in _MoveNodes()
[all …]
H A Dndsect.cxx80 SwNodeIndex aChkIdx( _rNd ); in lcl_IsInSameTblBox()
139 SwNodeIndex aIdx( rStt ); in lcl_CheckEmptyLayFrm()
213 SwNodeIndex aStt( pSttPos->nNode ), aEnd( pEndPos->nNode, +1 ); in InsertSwSection()
383 GetFtnIdxs().UpdateFtn( SwNodeIndex( *pNewSectNode )); in InsertSwSection()
414 SwNodeIndex aIdx( pStt->nNode, -1 ); in IsInsRegionAvailable()
455 SwNodeIndex aIdx( pEnd->nNode, 1 ); in IsInsRegionAvailable()
481 SwNodeIndex aIdx( pStt->nNode, -1 ); in IsInsRegionAvailable()
528 const SwNodeIndex* pIdx = pFmt->GetCntnt( sal_False ).GetCntntIdx(); in DelSectionFmt()
543 SwNodeIndex aUpdIdx( *pIdx ); in DelSectionFmt()
558 SwNodeIndex aUpdIdx( *pIdx ); in DelSectionFmt()
[all …]
H A Dndcopy.cxx77 …static void lcl_NonCopyCount( const SwPaM& rPam, SwNodeIndex& rLastIdx, const sal_uLong nNewIdx, s… in lcl_NonCopyCount()
171 SwNodeIndex aCorrIdx(rStt.nNode); in lcl_CopyBookmarks()
229 SwCntntNode* SwTxtNode::MakeCopy( SwDoc* pDoc, const SwNodeIndex& rIdx ) const in MakeCopy()
242 SwNodeIndex aIdx( rIdx, -1 ); in MakeCopy()
369 SwNodeIndex aNewIdx( *pCT->pTblNd, in lcl_CopyTblBox()
427 SwTableNode* SwTableNode::MakeCopy( SwDoc* pDoc, const SwNodeIndex& rIdx ) const in MakeCopy()
466 SwNodeIndex aInsPos( *pEndNd ); in MakeCopy()
609 SwNodeIndex aCorrIdx( pStt->nNode ); in lcl_DeleteRedlines()
764 SwNodeIndex( GetNodes().GetEndOfAutotext() )); in CopyRange()
855 SwNodeIndex aIdx(rPam.Start()->nNode); in lcl_ContainsOnlyParagraphsInList()
[all …]
H A Dndtbl.cxx243 SwTableNode* SwDoc::IsIdxInTbl(const SwNodeIndex& rIdx) in IsIdxInTbl()
319 SwNodeIndex aEndIdx( *this, nIdxPos ); in InsBoxen()
342 new SwTxtNode( SwNodeIndex( *pSttNd->EndOfSectionNode() ), in InsBoxen()
348 SwNodeIndex( *pSttNd->EndOfSectionNode() ), in InsBoxen()
515 SwNodeIndex aNdIdx( *pTblNd, 1 ); // auf den ersten Box-StartNode in InsertTable()
594 SwTableNode* SwNodes::InsertTable( const SwNodeIndex& rNdIdx, in InsertTable()
615 SwNodeIndex aIdx( *pEndNd ); in InsertTable()
712 ((SwNodeIndex&)pEnd->nNode)--; in TextToTable()
939 SwNodeIndex aSttIdx( *pTblNd, 1 ); in TextToTable()
940 SwNodeIndex aEndIdx( rRange.aEnd, -1 ); in TextToTable()
[all …]
/AOO41X/main/sw/source/core/inc/
H A Dmvsave.hxx42 class SwNodeIndex;
58 const SwNodeIndex& rMvPos,
61 const SwNodeIndex&,
84 void _DelBookmarks(const SwNodeIndex& rStt,
85 const SwNodeIndex& rEnd,
113 void _RestFlyInRange( _SaveFlyArr& rArr, const SwNodeIndex& rSttIdx,
114 const SwNodeIndex* pInsPos );
116 void _SaveFlyInRange( const SwPaM& rPam, const SwNodeIndex& rInsPos,
119 void DelFlyInRange( const SwNodeIndex& rMkNdIdx,
120 const SwNodeIndex& rPtNdIdx );
[all …]
/AOO41X/main/sw/source/core/doc/
H A Ddocglbl.cxx245 SwNodeIndex aEndIdx( pEndNd ? *pEndNd in SplitDoc()
288 SwNodeIndex aTmpIdx( pDoc->GetNodes().GetEndOfContent() ); in SplitDoc()
292 SwNodeIndex aIdx( pDoc->GetNodes().GetEndOfExtras(), 2 ); in SplitDoc()
345 SwNodeIndex aSIdx( aTmp.GetMark()->nNode ); in SplitDoc()
346 SwNodeIndex aEIdx( aTmp.GetPoint()->nNode ); in SplitDoc()
427 SwNodeIndex aIdx( *pSectEnd, 1 ); in SplitDoc()
442 SwNodeIndex aIdx( *pSectNd ); in SplitDoc()
451 SwNodeIndex aStartIdx(*pSttNd); in SplitDoc()
597 SwNodeIndex aEndIdx( pEndNd ? *pEndNd in SplitDoc()
639 SwNodeIndex aTmpIdx( pDoc->GetNodes().GetEndOfContent() ); in SplitDoc()
[all …]
H A Ddocedt.cxx99 _SaveRedline( SwRedline* pR, const SwNodeIndex& rSttIdx ) in _SaveRedline()
194 void _RestFlyInRange( _SaveFlyArr & rArr, const SwNodeIndex& rSttIdx, in _RestFlyInRange()
195 const SwNodeIndex* pInsertPos ) in _RestFlyInRange()
248 void _SaveFlyInRange( const SwPaM& rPam, const SwNodeIndex& rInsPos, in _SaveFlyInRange()
256 const SwNodeIndex& rSttNdIdx = pPos->nNode; in _SaveFlyInRange()
261 const SwNodeIndex& rEndNdIdx = pPos->nNode; in _SaveFlyInRange()
266 const SwNodeIndex* pCntntIdx; in _SaveFlyInRange()
316 void DelFlyInRange( const SwNodeIndex& rMkNdIdx, in DelFlyInRange()
317 const SwNodeIndex& rPtNdIdx ) in DelFlyInRange()
351 SwNodeIndex( *rCntnt.GetCntntIdx()-> in DelFlyInRange()
[all …]
/AOO41X/main/sw/source/core/undo/
H A Dunsort.cxx48 SV_IMPL_PTRARR(SwUndoSortList, SwNodeIndex*) in SV_IMPL_PTRARR()
151 SwNodeIndex* pIdx = new SwNodeIndex( rDoc.GetNodes(), in UndoImpl()
153 aIdxList.C40_INSERT(SwNodeIndex, pIdx, i ); in UndoImpl()
159 SwNodeIndex aIdx( rDoc.GetNodes(), nSttNode + i ); in UndoImpl()
228 SwNodeIndex* pIdx = new SwNodeIndex( rDoc.GetNodes(), in RedoImpl()
230 aIdxList.C40_INSERT( SwNodeIndex, pIdx, i ); in RedoImpl()
235 SwNodeIndex aIdx( rDoc.GetNodes(), nSttNode + i); in RedoImpl()
H A Dundobj.cxx64 SwNodeIndex* GetMvSttIdx() const in GetMvSttIdx()
154 SwNodeIndex aIdx( rDoc.GetNodes(), nSttIdx ); in RemoveIdxFromSection()
155 SwNodeIndex aEndIdx( rDoc.GetNodes(), pEndIdx ? *pEndIdx in RemoveIdxFromSection()
169 SwNodeIndex aStt( rPam.GetMark()->nNode ); in RemoveIdxFromRange()
170 SwNodeIndex aEnd( rPam.GetPoint()->nNode ); in RemoveIdxFromRange()
192 SwNodeIndex aIdx( rPos.nNode.GetNode().GetNodes(), nIdx ); in RemoveIdxRel()
356 void SwUndoSaveCntnt::MoveToUndoNds( SwPaM& rPaM, SwNodeIndex* pNodeIdx, in MoveToUndoNds()
910 void SwUndoSaveSection::SaveSection( SwDoc* pDoc, const SwNodeIndex& rSttIdx ) in SaveSection()
927 SwNodeIndex aSttIdx( aPam.Start()->nNode.GetNode() ); in SaveSection()
928 SwNodeIndex aEndIdx( aPam.End()->nNode.GetNode() ); in SaveSection()
[all …]
H A Duntbl.cxx283 SwNodeIndex aIdx( rDoc.GetNodes(), nSttNode ); in UndoImpl()
329 SwPosition const aPos(SwNodeIndex(rDoc.GetNodes(), nSttNode)); in RedoImpl()
482 SwNodeIndex aFrmIdx( rDoc.GetNodes(), nSttNd ); in UndoImpl()
483 SwNodeIndex aEndIdx( rDoc.GetNodes(), nEndNd ); in UndoImpl()
546 SwNodeIndex aSttIdx( *this, nSttNd ); in UndoTableToText()
547 SwNodeIndex aEndIdx( *this, nEndNd+1 ); in UndoTableToText()
664 SwNodeIndex aSaveIdx( pPam->GetPoint()->nNode, -1 ); in RedoImpl()
755 SwNodeIndex aIdx( rDoc.GetNodes(), nTblNd ); in UndoImpl()
783 SwNodeIndex aEndIdx( *pTNd->EndOfSectionNode() ); in UndoImpl()
795 SwNodeIndex & rIdx = aPam.GetPoint()->nNode; in UndoImpl()
[all …]
H A Dunsect.cxx134 SwNodeIndex aIdx( *pNd ); in UndoImpl()
237 SwNodeIndex aIdx( rDoc.GetNodes(), nNode ); in Join()
295 SwSectionFmt const&, SwSection const&, SwNodeIndex const*const);
311 SwNodeIndex const*const pIndex) in SwUndoDelSection()
339 SwNodeIndex aStt( rDoc.GetNodes(), m_nStartNode ); in UndoImpl()
340 SwNodeIndex aEnd( rDoc.GetNodes(), m_nEndNode-2 ); in UndoImpl()
406 SwSection const&, SwNodeIndex const*const, bool const bOnlyAttr);
422 SwSection const& rSection, SwNodeIndex const*const pIndex, in SwUndoUpdateSection()
/AOO41X/main/sw/source/filter/rtf/
H A Dswparrtf.hxx81 SwNodeIndex aIdx;
83 SwNodeIdx( const SwNodeIndex& rIdx ) : aIdx( rIdx ) {} in SwNodeIdx()
91 SwNodeIndex maMkNode;
123 SwNodeIndex nSttNd, nEndNd;
212 SwNodeIndex maStart;
305 SwNodeIndex* pSttNdIdx;
306 SwNodeIndex* pRegionEndIdx;
401 void _SetPictureSize( const SwNoTxtNode& rNd, const SwNodeIndex& rAnchor,
415 void SetOultineRelSpaces( const SwNodeIndex& rStt,
416 const SwNodeIndex& rEnd );
/AOO41X/main/sw/source/core/txtnode/
H A Datrftn.cxx103 SwNodeIndex aIdx( *pTxtAttr->GetStartNode(), 1 ); in GetFtnText()
186 void SwTxtFtn::SetStartNode( const SwNodeIndex *pNewNode, sal_Bool bDelNode ) in SetStartNode()
192 m_pStartNode = new SwNodeIndex( *pNewNode ); in SetStartNode()
246 SwNodeIndex aTmp( pDoc->GetFtnIdxs()[n]->GetTxtNode() ); in SetStartNode()
307 SwNodeIndex aStart( *(rDest.GetStartNode()) ); in CopyFtn()
308 SwNodeIndex aEnd( *aStart.GetNode().EndOfSectionNode() ); in CopyFtn()
354 SwStartNode* pSttNd = rNodes.MakeTextSection( SwNodeIndex( rNodes.GetEndOfInserts() ), in MakeNewTextSection()
356 m_pStartNode = new SwNodeIndex( *pSttNd ); in MakeNewTextSection()
387 SwNodeIndex aIdx( *m_pStartNode ); in DelFrms()
/AOO41X/main/sw/source/filter/ww8/
H A Dww8glsy.cxx65 bool WW8Glossary::HasBareGraphicEnd(SwDoc *pDoc,SwNodeIndex &rIdx) in HasBareGraphicEnd()
106 SwNodeIndex aDocEnd( pD->GetNodes().GetEndOfContent() ); in MakeEntries()
107 SwNodeIndex aStart( *aDocEnd.GetNode().StartOfSectionNode(), 1 ); in MakeEntries()
124 SwNodeIndex& rIdx = aPam.GetPoint()->nNode; in MakeEntries()
135 SwNodeIndex& rIdx = aPam.GetPoint()->nNode; in MakeEntries()
176 SwNodeIndex aIdx( pGlDoc->GetNodes().GetEndOfContent(), in MakeEntries()
225 SwNodeIndex aIdx( in Load()
/AOO41X/main/sw/source/core/crsr/
H A Dtrvlreg.cxx43 SwNodeIndex aIdx( rCurCrsr.GetPoint()->nNode ); in GotoPrevRegion()
98 SwNodeIndex aIdx( rCurCrsr.GetPoint()->nNode ); in GotoNextRegion()
164 SwNodeIndex aIdx( *pNd->EndOfSectionNode() ); in GotoCurrRegion()
169 SwNodeIndex aIdx( *pNd ); in GotoCurrRegion()
199 SwNodeIndex aIdx( *pNd->EndOfSectionNode() ); in GotoCurrRegionAndSkip()
207 SwNodeIndex aIdx( *pNd ); in GotoCurrRegionAndSkip()
258 const SwNodeIndex* pIdx; in GotoRegion()
H A Dtrvltbl.cxx79 SwNodeIndex aCellStt( *pTableBoxStartNode->EndOfSectionNode(), 1 ); in GoNextCell()
353 bool lcl_FindNextCell( SwNodeIndex& rIdx, sal_Bool bInReadOnly ) in lcl_FindNextCell()
356 SwNodeIndex aTmp( rIdx, 2 ); // TableNode + StartNode in lcl_FindNextCell()
432 bool lcl_FindPrevCell( SwNodeIndex& rIdx, sal_Bool bInReadOnly ) in lcl_FindPrevCell()
434 SwNodeIndex aTmp( rIdx, -2 ); // TableNode + EndNode in lcl_FindPrevCell()
495 SwNodeIndex aIdx( rCurCrsr.GetPoint()->nNode ); in GotoPrevTable()
504 SwNodeIndex aTmpIdx( aIdx ); in GotoPrevTable()
560 SwNodeIndex aIdx( rCurCrsr.GetPoint()->nNode ); in GotoNextTable()
620 SwNodeIndex aIdx( *pTblNd->EndOfSectionNode() ); in GotoCurrTable()
627 SwNodeIndex aIdx( *pTblNd ); in GotoCurrTable()
[all …]
H A Dpam.cxx71 SwPosition::SwPosition( const SwNodeIndex & rNodeIndex, const SwIndex & rCntnt ) in SwPosition()
76 SwPosition::SwPosition( const SwNodeIndex & rNodeIndex ) in SwPosition()
300 sal_Bool CheckNodesRange( const SwNodeIndex& rStt, in CheckNodesRange()
301 const SwNodeIndex& rEnd, sal_Bool bChkSection ) in CheckNodesRange()
348 SwCntntNode* GoNextNds( SwNodeIndex* pIdx, sal_Bool bChk ) in GoNextNds()
350 SwNodeIndex aIdx( *pIdx ); in GoNextNds()
364 SwCntntNode* GoPreviousNds( SwNodeIndex * pIdx, sal_Bool bChk ) in GoPreviousNds()
366 SwNodeIndex aIdx( *pIdx ); in GoPreviousNds()
411 SwPaM::SwPaM( const SwNodeIndex& rMark, const SwNodeIndex& rPoint, in SwPaM()
455 SwPaM::SwPaM( const SwNodeIndex& rMark , xub_StrLen nMarkCntnt, in SwPaM()
[all …]
/AOO41X/main/sw/source/filter/html/
H A Dhtmlsect.cxx183 const SwNodeIndex& rCntntStIdx = *rFlyCntnt.GetCntntIdx(); in NewDivision()
194 SwNodeIndex aSttIdx( rCntntStIdx, 1 ); in NewDivision()
220 SwPosition aNewPos( SwNodeIndex( rCntntStIdx, 1 ), SwIndex( pCNd, 0 ) ); in NewDivision()
234 SwNodeIndex *pStartNdIdx = GetFootEndNoteSection( aId ); in NewDivision()
239 SwNodeIndex aTmpSwNodeIndex = SwNodeIndex(*pCNd); in NewDivision()
259 SwNodeIndex aPrvNdIdx( pPam->GetPoint()->nNode, -1 ); in NewDivision()
431 const SwNodeIndex& rCntntStIdx = *rFlyCntnt.GetCntntIdx(); in FixHeaderFooterDistance()
686 SwNodeIndex aPrvNdIdx( pPam->GetPoint()->nNode, -1 ); in NewMultiCol()
795 const SwNodeIndex& rFlyCntIdx = *rFlyCntnt.GetCntntIdx(); in InsertFlyFrame()
799 SwPosition aNewPos( SwNodeIndex( rFlyCntIdx, 1 ), SwIndex( pCNd, 0 ) ); in InsertFlyFrame()
/AOO41X/main/sw/source/filter/ww1/
H A Dfltshell.cxx76 static SwCntntNode* GetCntntNode(SwDoc* pDoc, SwNodeIndex& rIdx, sal_Bool bNext) in GetCntntNode()
145 SwCntntNode *const pCntntNode( SwNodeIndex(nMkNode, +1).GetNode().GetCntntNode() ); in IsAbleMakeRegion()
317 SwNodeIndex aAktNode( pPos.nNode, -1 ); in KillUnlockedAttrs()
431 extern sal_Bool CheckNodesRange( const SwNodeIndex& rStt,
432 const SwNodeIndex& rEnd, sal_Bool bChkSection );
444 static sal_Bool IterateNumrulePiece( const SwNodeIndex& rEnd, in IterateNumrulePiece()
445 SwNodeIndex& rTmpStart, SwNodeIndex& rTmpEnd ) in IterateNumrulePiece()
531 SwNodeIndex aTmpStart( aRegion.Start()->nNode ); in SetAttrInDoc()
532 SwNodeIndex aTmpEnd( aTmpStart ); in SetAttrInDoc()
533 SwNodeIndex& rRegEndNd = aRegion.End()->nNode; in SetAttrInDoc()
[all …]

123456789