Home
last modified time | relevance | path

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

123

/aoo41x/main/sw/source/core/bastyp/
H A Dindex.cxx125 ChgValue( rIdx, rIdx.nIndex + nIdx ); in SwIndex()
135 : nIndex( rIdx.nIndex ), pArray( rIdx.pArray ), pNext( 0 ), pPrev( 0 ) in SwIndex()
137 ChgValue( rIdx, rIdx.nIndex ); in SwIndex()
218 pPrev = (SwIndex*)&rIdx; in ChgValue()
219 pNext = rIdx.pNext; in ChgValue()
227 pArray = rIdx.pArray; in ChgValue()
294 pArray = rIdx.pArray; in operator =()
302 ChgValue( rIdx, rIdx.nIndex ); in operator =()
361 SwIndex const & rIdx, in Update() argument
376 pStt = rIdx.pNext; in Update()
[all …]
/aoo41x/main/tools/source/memtools/
H A Dunqidx.cxx61 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()
415 Container::operator =( rIdx ); in operator =()
416 nReSize = rIdx.nReSize; in operator =()
417 nStartIndex = rIdx.nStartIndex; in operator =()
418 nUniqIndex = rIdx.nUniqIndex; in operator =()
419 nCount = rIdx.nCount; in operator =()
[all …]
/aoo41x/main/sw/source/filter/ww8/
H A Dww8glsy.cxx65 bool WW8Glossary::HasBareGraphicEnd(SwDoc *pDoc,SwNodeIndex &rIdx) in HasBareGraphicEnd() argument
79 rIdx == pAPos->nNode.GetIndex() ) in HasBareGraphicEnd()
124 SwNodeIndex& rIdx = aPam.GetPoint()->nNode; in MakeEntries() local
125 rIdx++; in MakeEntries()
128 pCNd = pD->GetNodes().MakeTxtNode( rIdx, pColl ); in MakeEntries()
129 rIdx = *pCNd; in MakeEntries()
135 SwNodeIndex& rIdx = aPam.GetPoint()->nNode; in MakeEntries() local
136 rIdx = aStart.GetNode().EndOfSectionIndex() - 1; in MakeEntries()
138 || HasBareGraphicEnd(pD,rIdx)) in MakeEntries()
140 rIdx++; in MakeEntries()
[all …]
/aoo41x/main/sw/source/core/undo/
H A Dunovwr.cxx205 rIdx.Assign( pTxtNd, nSttCntnt ); in UndoImpl()
219 rIdx += aDelStr.Len(); in UndoImpl()
221 rIdx = nSttCntnt; in UndoImpl()
232 rIdx++; in UndoImpl()
238 rIdx -= 2; in UndoImpl()
239 pTxtNd->EraseText( rIdx, 1 ); in UndoImpl()
240 rIdx += 2; in UndoImpl()
243 rIdx--; in UndoImpl()
291 rIdx.Assign( pTxtNd, nSttCntnt ); in RedoImpl()
309 rIdx -= 2; in RedoImpl()
[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.cxx798 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()
2792 SwPosition aTmpPos( rIdx ); in AddBoxAfter()
2984 SwNodeIndex& rIdx = pPam->GetPoint()->nNode; in UndoImpl() local
2985 rIdx = nTblNode + nOffset; in UndoImpl()
2988 pDoc->GetNodes().Delete( rIdx, 1 ); in UndoImpl()
2990 rIdx = nTblNode + nOffset; in UndoImpl()
3027 pDoc->GetNodes().MergeTable( rIdx ); in UndoImpl()
[all …]
H A Dunspnd.cxx87 SwNodeIndex& rIdx = rPam.GetPoint()->nNode; in UndoImpl() local
88 rIdx = nNode; in UndoImpl()
/aoo41x/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.cxx186 rIdx++; in lcl_SkipAttr()
789 SwIndex& rIdx = rPt.nContent; in Overwrite() local
801 nStart = rIdx.GetIndex(); in Overwrite()
831 rIdx++; in Overwrite()
833 if( nStart+1 < rIdx.GetIndex() ) in Overwrite()
835 rIdx = nStart; in Overwrite()
836 pNode->EraseText( rIdx, 1 ); in Overwrite()
837 rIdx++; in Overwrite()
2440 rIdx.Assign( 0, 0 ); in ReplaceRangeImpl()
2441 aDelPam.GetMark()->nContent = rIdx; in ReplaceRangeImpl()
[all …]
H A Ddocnum.cxx1561 const SwNodeIndex& rIdx = rPam.GetPoint()->nNode; in NoNum() local
1562 SwTxtNode* pNd = rIdx.GetNode().GetTxtNode(); in NoNum()
1677 sal_Bool lcl_IsValidPrevNextNumNode( const SwNodeIndex& rIdx ) in lcl_IsValidPrevNextNumNode() argument
1680 const SwNode& rNd = rIdx.GetNode(); in lcl_IsValidPrevNextNumNode()
2363 sal_Bool SwDoc::NumOrNoNum( const SwNodeIndex& rIdx, sal_Bool bDel ) in NumOrNoNum() argument
2366 SwTxtNode * pTxtNd = rIdx.GetNode().GetTxtNode(); in NumOrNoNum()
2384 new SwUndoNumOrNoNum(rIdx, bOldNum, bNewNum); in NumOrNoNum()
/aoo41x/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 ); } \
/aoo41x/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.cxx1492 if(rIdx == 0) return 1; in GetSectionLevel()
2573 pRoot = &rIdx; in RegisterIndex()
2580 rIdx.pNext = pRoot->pNext; in RegisterIndex()
2581 pRoot->pNext = &rIdx; in RegisterIndex()
2582 rIdx.pPrev = pRoot; in RegisterIndex()
2583 if( rIdx.pNext ) in RegisterIndex()
2584 rIdx.pNext->pPrev = &rIdx; in RegisterIndex()
2590 SwNodeIndex* pN = rIdx.pNext; in DeRegisterIndex()
2593 if( pRoot == &rIdx ) in DeRegisterIndex()
2601 rIdx.pNext = 0; in DeRegisterIndex()
[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()
1281 new SwSectionNode(rIdx, *pSectFmt, pTOXBase.get()); 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()
/aoo41x/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()
/aoo41x/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()
/aoo41x/main/sw/source/core/txtnode/
H A Dndtxt.cxx1048 rIdx.Assign( &aTmpIdxReg, rIdx.GetIndex() ); in Update()
1055 if (nChangePos == rIdx.GetIndex()) in Update()
1057 rIdx.Assign( &aTmpIdxReg, rIdx.GetIndex() ); in Update()
1184 const xub_StrLen nIdx = rIdx.GetIndex(); in DontExpandFmt()
1855 xub_StrLen aPos = rIdx.GetIndex(); in InsertText()
1868 Update( rIdx, nLen ); // text content changed! in InsertText()
1889 if( rIdx == *pEndIdx ) in InsertText()
1896 if( rIdx == *pHt->GetStart() ) in InsertText()
1922 rIdx == nLen && *pHt->GetStart() == rIdx.GetIndex() && in InsertText()
2343 const xub_StrLen nStartIdx = rIdx.GetIndex(); in EraseText()
[all …]
/aoo41x/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.hxx254 void InsertText( const XubString & rStr, const SwIndex & rIdx,
262 void EraseText ( const SwIndex &rIdx, const xub_StrLen nCount = STRING_LEN,
278 const SwIndex &rIdx,
362 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,
/aoo41x/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
852 bOk = MoveOrCopyContents(pSourceBox, pSource, pTarget, pNewParent, rIdx, sal_False ); in NotifyMoving()
862 sal_uIntPtr &rIdx) in NotifyCopying() argument
[all …]
/aoo41x/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()
/aoo41x/main/sfx2/inc/
H A Ddocvor.hxx115 sal_uIntPtr &rIdx,
121 sal_uIntPtr &rIdx,
/aoo41x/main/sw/source/filter/rtf/
H A Drtffly.cxx1259 SwNodeIndex& rIdx = pPam->GetPoint()->nNode; in InsPicture() local
1260 pGrfNd = pDoc->GetNodes().MakeGrfNode( rIdx, in InsPicture()
1269 pFlySave->nSttNd = rIdx.GetIndex() - 1; in InsPicture()
1274 if( pFlySave->nEndNd == rIdx ) in InsPicture()
1275 pFlySave->nEndNd = rIdx.GetIndex() - 1; in InsPicture()

Completed in 283 milliseconds

123