Home
last modified time | relevance | path

Searched refs:rIdx (Results 1 – 25 of 60) sorted by relevance

123

/trunk/main/sw/source/core/bastyp/
H A Dindex.cxx122 SwIndex::SwIndex( const SwIndex& rIdx, short nIdx ) in SwIndex() argument
123 : pArray( rIdx.pArray ), pNext( 0 ), pPrev( 0 ) in SwIndex()
125 ChgValue( rIdx, rIdx.nIndex + nIdx ); in SwIndex()
134 SwIndex::SwIndex( const SwIndex& rIdx ) in SwIndex() argument
135 : nIndex( rIdx.nIndex ), pArray( rIdx.pArray ), pNext( 0 ), pPrev( 0 ) in SwIndex()
137 ChgValue( rIdx, rIdx.nIndex ); in SwIndex()
145 SwIndex& SwIndex::ChgValue( const SwIndex& rIdx, xub_StrLen nNewValue ) in ChgValue() argument
147 SwIndex* pFnd = (SwIndex*)&rIdx; in ChgValue()
148 if( rIdx.nIndex > nNewValue ) // nach vorne versuchen in ChgValue()
177 else if( rIdx.nIndex < nNewValue ) in ChgValue()
[all …]
/trunk/main/tools/source/memtools/
H A Dunqidx.cxx60 UniqueIndex::UniqueIndex( const UniqueIndex& rIdx ) : in UniqueIndex() argument
61 Container( rIdx ) in UniqueIndex()
63 nReSize = rIdx.nReSize; in UniqueIndex()
64 nStartIndex = rIdx.nStartIndex; in UniqueIndex()
65 nUniqIndex = rIdx.nUniqIndex; in UniqueIndex()
66 nCount = rIdx.nCount; in UniqueIndex()
412 UniqueIndex& UniqueIndex::operator =( const UniqueIndex& rIdx ) in operator =() argument
415 Container::operator =( rIdx ); in operator =()
416 nReSize = rIdx.nReSize; in operator =()
417 nStartIndex = rIdx.nStartIndex; in operator =()
[all …]
/trunk/main/sw/source/filter/ww8/
H A Dww8glsy.cxx64 bool WW8Glossary::HasBareGraphicEnd(SwDoc *pDoc,SwNodeIndex &rIdx) in HasBareGraphicEnd() argument
78 rIdx == pAPos->nNode.GetIndex() ) in HasBareGraphicEnd()
123 SwNodeIndex& rIdx = aPam.GetPoint()->nNode; in MakeEntries() local
124 rIdx++; in MakeEntries()
125 if( 0 == ( pCNd = rIdx.GetNode().GetTxtNode() ) ) in MakeEntries()
127 pCNd = pD->GetNodes().MakeTxtNode( rIdx, pColl ); in MakeEntries()
128 rIdx = *pCNd; in MakeEntries()
134 SwNodeIndex& rIdx = aPam.GetPoint()->nNode; in MakeEntries() local
135 rIdx = aStart.GetNode().EndOfSectionIndex() - 1; in MakeEntries()
136 if(( 0 == ( pCNd = rIdx.GetNode().GetCntntNode() ) ) in MakeEntries()
[all …]
/trunk/main/sw/source/core/undo/
H A Dunovwr.cxx204 SwIndex& rIdx = pAktPam->GetPoint()->nContent; in UndoImpl() local
205 rIdx.Assign( pTxtNd, nSttCntnt ); in UndoImpl()
219 rIdx += aDelStr.Len(); in UndoImpl()
220 pTxtNd->EraseText( rIdx, aInsStr.Len() - aDelStr.Len() ); in UndoImpl()
221 rIdx = nSttCntnt; in UndoImpl()
232 rIdx++; in UndoImpl()
237 pTxtNd->InsertText( aTmpStr, rIdx /*???, SETATTR_NOTXTATRCHR*/ ); in UndoImpl()
238 rIdx -= 2; in UndoImpl()
239 pTxtNd->EraseText( rIdx, 1 ); in UndoImpl()
240 rIdx += 2; in UndoImpl()
[all …]
H A Duntblk.cxx222 SwNodeIndex& rIdx = pPam->GetPoint()->nNode; in UndoImpl() local
223 SwTxtNode* pTxtNode = rIdx.GetNode().GetTxtNode(); in UndoImpl()
228 SwNodeIndex aDelIdx( rIdx ); in UndoImpl()
229 rIdx++; in UndoImpl()
230 SwCntntNode* pCNd = rIdx.GetNode().GetCntntNode(); in UndoImpl()
245 RemoveIdxRel( rIdx.GetIndex()+1, SwPosition( rIdx, in UndoImpl()
H A Duntbl.cxx795 SwNodeIndex & rIdx = aPam.GetPoint()->nNode; in UndoImpl() local
798 RemoveIdxRel( rIdx.GetIndex()+1, *pPos ); in UndoImpl()
800 rIdx.GetNode().GetCntntNode()->JoinNext(); in UndoImpl()
807 SwNodeIndex& rIdx = pPos->nNode; in UndoImpl() local
808 rIdx = nEndNode; in UndoImpl()
809 SwTxtNode* pTxtNd = rIdx.GetNode().GetTxtNode(); in UndoImpl()
2779 void SwUndoTblCpyTbl::AddBoxAfter( const SwTableBox& rBox, const SwNodeIndex& rIdx, sal_Bool bDelCn… in AddBoxAfter() argument
2792 SwPosition aTmpPos( rIdx ); in AddBoxAfter()
2984 SwNodeIndex& rIdx = pPam->GetPoint()->nNode; in UndoImpl() local
2985 rIdx = nTblNode + nOffset; in UndoImpl()
[all …]
H A Dunspnd.cxx87 SwNodeIndex& rIdx = rPam.GetPoint()->nNode; in UndoImpl() local
88 rIdx = nNode; in UndoImpl()
/trunk/main/sw/source/core/doc/
H A Dextinput.cxx63 SwIndex& rIdx = GetPoint()->nContent; in ~SwExtTextInput() local
64 xub_StrLen nSttCnt = rIdx.GetIndex(), in ~SwExtTextInput()
94 rIdx = nSttCnt; in ~SwExtTextInput()
101 rIdx += sOverwriteText.Len(); in ~SwExtTextInput()
102 pTNd->EraseText( rIdx, nLen - sOverwriteText.Len() ); in ~SwExtTextInput()
103 rIdx = nSttCnt; in ~SwExtTextInput()
104 pTNd->ReplaceText( rIdx, sOverwriteText.Len(), in ~SwExtTextInput()
108 rIdx = nSttCnt; in ~SwExtTextInput()
121 pTNd->ReplaceText( rIdx, nLen, in ~SwExtTextInput()
125 rIdx = nSttCnt; in ~SwExtTextInput()
[all …]
H A Ddocedt.cxx176 void lcl_SkipAttr( const SwTxtNode *pNode, SwIndex &rIdx, xub_StrLen &rStart ) in lcl_SkipAttr() argument
184 rIdx++; in lcl_SkipAttr()
185 } while( (rStart = rIdx.GetIndex()) < pNode->GetTxt().Len() in lcl_SkipAttr()
787 SwIndex& rIdx = rPt.nContent; in Overwrite() local
799 nStart = rIdx.GetIndex(); in Overwrite()
802 lcl_SkipAttr( pNode, rIdx, nStart ); in Overwrite()
829 rIdx++; in Overwrite()
830 pNode->InsertText( c, rIdx, INS_EMPTYEXPAND ); in Overwrite()
831 if( nStart+1 < rIdx.GetIndex() ) in Overwrite()
833 rIdx = nStart; in Overwrite()
[all …]
H A Ddocnum.cxx1469 const SwNodeIndex& rIdx = rPam.GetPoint()->nNode; in NoNum() local
1470 SwTxtNode* pNd = rIdx.GetNode().GetTxtNode(); in NoNum()
1585 sal_Bool lcl_IsValidPrevNextNumNode( const SwNodeIndex& rIdx ) in lcl_IsValidPrevNextNumNode() argument
1588 const SwNode& rNd = rIdx.GetNode(); in lcl_IsValidPrevNextNumNode()
2271 sal_Bool SwDoc::NumOrNoNum( const SwNodeIndex& rIdx, sal_Bool bDel ) in NumOrNoNum() argument
2274 SwTxtNode * pTxtNd = rIdx.GetNode().GetTxtNode(); in NumOrNoNum()
2292 new SwUndoNumOrNoNum(rIdx, bOldNum, bNewNum); in NumOrNoNum()
/trunk/main/tools/inc/tools/
H A Dunqidx.hxx50 UniqueIndex( const UniqueIndex& rIdx );
76 UniqueIndex& operator =( const UniqueIndex& rIdx );
78 sal_Bool operator ==( const UniqueIndex& rIdx ) const;
79 sal_Bool operator !=( const UniqueIndex& rIdx ) const in operator !=()
80 { return !(UniqueIndex::operator==( rIdx )); } in operator !=()
141 sal_Bool operator ==( const ClassName& rIdx ) const \
142 { return UniqueIndex::operator ==( rIdx ); } \
143 sal_Bool operator !=( const ClassName& rIdx ) const \
144 { return UniqueIndex::operator !=( rIdx ); } \
/trunk/main/sw/source/core/docnode/
H A Dndindex.cxx73 SwNodeIndex::SwNodeIndex( const SwNodeIndex& rIdx, long nDiff ) in SwNodeIndex() argument
77 pNd = rIdx.GetNodes()[ rIdx.GetIndex() + nDiff ]; in SwNodeIndex()
79 pNd = rIdx.pNd; in SwNodeIndex()
108 SwNodeIndex& SwNodeIndex::operator=( const SwNodeIndex& rIdx ) in operator =() argument
110 if( &pNd->GetNodes() != &rIdx.pNd->GetNodes() ) in operator =()
113 pNd = rIdx.pNd; in operator =()
117 pNd = rIdx.pNd; in operator =()
H A Dnodes.cxx1490 sal_uInt16 SwNodes::GetSectionLevel(const SwNodeIndex &rIdx) const { in GetSectionLevel()
1492 if(rIdx == 0) return 1; in GetSectionLevel()
1497 return rIdx.GetNode().GetSectionLevel(); in GetSectionLevel()
2218 SwStartNode* SwNodes::MakeEmptySection( const SwNodeIndex& rIdx, in MakeEmptySection() argument
2221 SwStartNode* pSttNd = new SwStartNode( rIdx, ND_STARTNODE, eSttNdTyp ); in MakeEmptySection()
2222 new SwEndNode( rIdx, *pSttNd ); in MakeEmptySection()
2569 void SwNodes::RegisterIndex( SwNodeIndex& rIdx ) in RegisterIndex() argument
2573 pRoot = &rIdx; in RegisterIndex()
2580 rIdx.pNext = pRoot->pNext; in RegisterIndex()
2581 pRoot->pNext = &rIdx; in RegisterIndex()
[all …]
H A Dndsect.cxx1016 SwSectionNode::SwSectionNode(SwNodeIndex const& rIdx, in SwSectionNode() argument
1018 : SwStartNode( rIdx, ND_SECTIONNODE ) in SwSectionNode()
1089 void SwSectionNode::MakeFrms(const SwNodeIndex & rIdx ) in MakeFrms() argument
1106 pCNd->MakeFrms( (SwCntntNode&)rIdx.GetNode() ); in MakeFrms()
1110 SwNode2Layout aNode2Layout( *this, rIdx.GetIndex() ); in MakeFrms()
1115 pNew = rIdx.GetNode().GetCntntNode()->MakeFrm( pFrm ); in MakeFrms()
1117 SwSectionNode* pS = rIdx.GetNode().FindSectionNode(); in MakeFrms()
1123 SwTableNode* pTableNode = rIdx.GetNode().FindTableNode(); in MakeFrms()
1169 if ( rIdx < GetIndex() ) in MakeFrms()
1262 SwSectionNode* SwSectionNode::MakeCopy( SwDoc* pDoc, const SwNodeIndex& rIdx ) const in MakeCopy()
[all …]
H A Dndcopy.cxx229 SwCntntNode* SwTxtNode::MakeCopy( SwDoc* pDoc, const SwNodeIndex& rIdx ) const in MakeCopy()
242 SwNodeIndex aIdx( rIdx, -1 ); in MakeCopy()
252 SwTxtNode* pTxtNd = pDoc->GetNodes().MakeTxtNode( rIdx, pColl ); in MakeCopy()
427 SwTableNode* SwTableNode::MakeCopy( SwDoc* pDoc, const SwNodeIndex& rIdx ) const in MakeCopy()
444 if( rIdx < pDoc->GetNodes().GetEndOfInserts().GetIndex() && in MakeCopy()
445 rIdx >= pDoc->GetNodes().GetEndOfInserts().StartOfSectionIndex() ) in MakeCopy()
464 SwTableNode* pTblNd = new SwTableNode( rIdx ); in MakeCopy()
465 SwEndNode* pEndNd = new SwEndNode( rIdx, *pTblNd ); in MakeCopy()
/trunk/main/l10ntools/source/
H A Dmerge.cxx217 xub_StrLen rIdx = 0; in MergeDataFile() local
218 const ByteString sTYP = sLine.GetToken( 3, '\t', rIdx ); in MergeDataFile()
219 const ByteString sGID = sLine.GetToken( 0, '\t', rIdx ); // 4 in MergeDataFile()
220 const ByteString sLID = sLine.GetToken( 0, '\t', rIdx ); // 5 in MergeDataFile()
221 ByteString sPFO = sLine.GetToken( 1, '\t', rIdx ); // 7 in MergeDataFile()
223 ByteString nLANG = sLine.GetToken( 1, '\t', rIdx ); // 9 in MergeDataFile()
225 const ByteString sTEXT = sLine.GetToken( 0, '\t', rIdx ); // 10 in MergeDataFile()
226 const ByteString sQHTEXT = sLine.GetToken( 1, '\t', rIdx ); // 12 in MergeDataFile()
227 const ByteString sTITLE = sLine.GetToken( 0, '\t', rIdx ); // 13 in MergeDataFile()
/trunk/main/sw/source/core/crsr/
H A Dtrvltbl.cxx353 bool lcl_FindNextCell( SwNodeIndex& rIdx, sal_Bool bInReadOnly ) in lcl_FindNextCell() argument
356 SwNodeIndex aTmp( rIdx, 2 ); // TableNode + StartNode in lcl_FindNextCell()
359 const SwTableNode* pTblNd = rIdx.GetNode().GetTableNode(); in lcl_FindNextCell()
418 rIdx = *pCNd; in lcl_FindNextCell()
427 rIdx = *pCNd; in lcl_FindNextCell()
432 bool lcl_FindPrevCell( SwNodeIndex& rIdx, sal_Bool bInReadOnly ) in lcl_FindPrevCell() argument
434 SwNodeIndex aTmp( rIdx, -2 ); // TableNode + EndNode in lcl_FindPrevCell()
436 const SwNode* pTableEndNode = &rIdx.GetNode(); in lcl_FindPrevCell()
480 rIdx = *pCNd; in lcl_FindPrevCell()
487 rIdx = *pCNd; in lcl_FindPrevCell()
/trunk/main/sw/source/core/txtnode/
H A Dndtxt.cxx1050 SwIndex & rIdx = pEnd->nContent; in Update() local
1051 if (nChangePos == rIdx.GetIndex()) in Update()
1053 rIdx.Assign( &aTmpIdxReg, rIdx.GetIndex() ); in Update()
1059 SwIndex & rIdx = pRedl->GetPoint()->nContent; in Update() local
1060 if (nChangePos == rIdx.GetIndex()) in Update()
1062 rIdx.Assign( &aTmpIdxReg, rIdx.GetIndex() ); in Update()
1186 sal_Bool SwTxtNode::DontExpandFmt( const SwIndex& rIdx, bool bFlag, in DontExpandFmt() argument
1189 const xub_StrLen nIdx = rIdx.GetIndex(); in DontExpandFmt()
1857 void SwTxtNode::InsertText( const XubString & rStr, const SwIndex & rIdx, in InsertText() argument
1860 ASSERT( rIdx <= m_Text.Len(), "SwTxtNode::InsertText: invalid index." ); in InsertText()
[all …]
/trunk/main/sfx2/source/doc/
H A Ddocvor.cxx559 sal_uIntPtr &rIdx, in MoveOrCopyTemplates() argument
618 rIdx = GetModel()->GetRelPos(pTarget)+1; in MoveOrCopyTemplates()
625 rIdx = 0; in MoveOrCopyTemplates()
629 pTarget, pSource, pNewParent, rIdx); in MoveOrCopyTemplates()
650 sal_uIntPtr &rIdx, in MoveOrCopyContents() argument
755 rIdx = p[i]; in MoveOrCopyContents()
792 return (((rIdx != INDEX_IGNORE)|| bRemovedFromSource) && bOk ) in MoveOrCopyContents()
801 sal_uIntPtr &rIdx) in NotifyMoving() argument
850 bOk = MoveOrCopyTemplates( pSourceBox, pSource, pTarget, pNewParent, rIdx, sal_False ); in NotifyMoving()
852 bOk = MoveOrCopyContents(pSourceBox, pSource, pTarget, pNewParent, rIdx, sal_False ); in NotifyMoving()
[all …]
/trunk/main/sw/inc/
H A Dndindex.hxx184 inline sal_Bool SwNodeIndex::operator==( const SwNodeIndex& rIdx ) const in operator ==()
186 return pNd == rIdx.pNd; in operator ==()
188 inline sal_Bool SwNodeIndex::operator!=( const SwNodeIndex& rIdx ) const in operator !=()
190 return pNd != rIdx.pNd; in operator !=()
H A Dndtxt.hxx258 void InsertText( const XubString & rStr, const SwIndex & rIdx,
266 void EraseText ( const SwIndex &rIdx, const xub_StrLen nCount = STRING_LEN,
282 const SwIndex &rIdx,
366 sal_Bool DontExpandFmt( const SwIndex& rIdx, bool bFlag = true,
H A Dndarr.hxx115 void RegisterIndex( SwNodeIndex& rIdx );
116 void DeRegisterIndex( SwNodeIndex& rIdx );
212 SwStartNode* MakeEmptySection( const SwNodeIndex& rIdx,
/trunk/main/sw/source/core/layout/
H A Dflypos.cxx50 SwPosFlyFrm::SwPosFlyFrm( const SwNodeIndex& rIdx, const SwFrmFmt* pFmt, in SwPosFlyFrm() argument
52 : pFrmFmt( pFmt ), pNdIdx( (SwNodeIndex*) &rIdx ) in SwPosFlyFrm()
58 pNdIdx = new SwNodeIndex( rIdx ); in SwPosFlyFrm()
/trunk/main/sfx2/inc/
H A Ddocvor.hxx115 sal_uIntPtr &rIdx,
121 sal_uIntPtr &rIdx,
/trunk/main/sw/source/core/frmedt/
H A Dfecopy.cxx181 const SwIndex& rIdx = pFlyFmt->GetAnchor().GetCntntAnchor()->nContent; in Copy() local
184 rIdx.GetIndex(), RES_TXTATR_FLYCNT)); in Copy()
188 pTxtNd->EraseText( rIdx, 1 ); in Copy()
277 const SwNodeIndex& rIdx = *pTmpFly->GetFmt()->GetCntnt().GetCntntIdx(); in lcl_SetAnchor() local
278 SwPosition aPos( rIdx ); in lcl_SetAnchor()

123