Lines Matching refs:rPos

92 SwPosition::SwPosition( const SwPosition & rPos )  in SwPosition()  argument
93 : nNode( rPos.nNode ), nContent( rPos.nContent ) in SwPosition()
97 SwPosition &SwPosition::operator=(const SwPosition &rPos) in operator =() argument
99 nNode = rPos.nNode; in operator =()
100 nContent = rPos.nContent; in operator =()
105 sal_Bool SwPosition::operator<(const SwPosition &rPos) const in operator <()
107 if( nNode < rPos.nNode ) in operator <()
109 if( nNode == rPos.nNode ) in operator <()
110 return ( nContent < rPos.nContent ); in operator <()
115 sal_Bool SwPosition::operator>(const SwPosition &rPos) const in operator >()
117 if(nNode > rPos.nNode ) in operator >()
119 if( nNode == rPos.nNode ) in operator >()
120 return ( nContent > rPos.nContent ); in operator >()
125 sal_Bool SwPosition::operator<=(const SwPosition &rPos) const in operator <=()
127 if(nNode < rPos.nNode ) in operator <=()
129 if( nNode == rPos.nNode ) in operator <=()
130 return ( nContent <= rPos.nContent ); in operator <=()
135 sal_Bool SwPosition::operator>=(const SwPosition &rPos) const in operator >=()
137 if(nNode > rPos.nNode ) in operator >=()
139 if( nNode == rPos.nNode ) in operator >=()
140 return ( nContent >= rPos.nContent ); in operator >=()
145 sal_Bool SwPosition::operator==(const SwPosition &rPos) const in operator ==()
148 ( ( nNode == rPos.nNode ) && ( nContent == rPos.nContent ) ? in operator ==()
153 sal_Bool SwPosition::operator!=(const SwPosition &rPos) const in operator !=()
155 if( nNode != rPos.nNode ) in operator !=()
157 return ( nContent != rPos.nContent ); in operator !=()
391 SwPaM::SwPaM( const SwPosition& rPos, SwPaM* pRing ) in SwPaM() argument
393 , m_Bound1( rPos ) in SwPaM()
394 , m_Bound2( rPos.nNode.GetNode().GetNodes() ) // default initialize in SwPaM()
1055 SwPosition& rPos = *rPam.GetPoint(); in GoPrevPara() local
1056 SwCntntNode * pNd = rPos.nNode.GetNode().GetCntntNode(); in GoPrevPara()
1057 rPos.nContent.Assign( pNd, in GoPrevPara()
1067 SwPosition& rPos = *rPam.GetPoint(); in GoCurrPara() local
1068 SwCntntNode * pNd = rPos.nNode.GetNode().GetCntntNode(); in GoCurrPara()
1071 xub_StrLen nOld = rPos.nContent.GetIndex(), in GoCurrPara()
1076 rPos.nContent.Assign( pNd, nNew ); in GoCurrPara()
1082 GoPreviousNds( &rPos.nNode, sal_True ))) || in GoCurrPara()
1084 GoNextNds( &rPos.nNode, sal_True ))) ) in GoCurrPara()
1086 rPos.nContent.Assign( pNd, in GoCurrPara()
1099 SwPosition& rPos = *rPam.GetPoint(); in GoNextPara() local
1100 SwCntntNode * pNd = rPos.nNode.GetNode().GetCntntNode(); in GoNextPara()
1101 rPos.nContent.Assign( pNd, in GoNextPara()
1112 SwPosition& rPos = *rPam.GetPoint(); in GoCurrSection() local
1113 SwPosition aSavePos( rPos ); // eine Vergleichsposition in GoCurrSection()
1115 (rNds.*fnMove->fnSection)( &rPos.nNode ); in GoCurrSection()
1117 if( 0 == ( pNd = rPos.nNode.GetNode().GetCntntNode()) && in GoCurrSection()
1118 0 == ( pNd = (*fnMove->fnNds)( &rPos.nNode, sal_True )) ) in GoCurrSection()
1120 rPos = aSavePos; // Cusror nicht veraendern in GoCurrSection()
1124 rPos.nContent.Assign( pNd, in GoCurrSection()
1126 return aSavePos != rPos; in GoCurrSection()
1132 SwPosition& rPos = *rPam.GetPoint(); in GoNextSection() local
1133 SwPosition aSavePos( rPos ); // eine Vergleichsposition in GoNextSection()
1135 rNds.GoEndOfSection( &rPos.nNode ); in GoNextSection()
1140 rPos = aSavePos; // Cusror nicht veraendern in GoNextSection()
1143 (rNds.*fnMove->fnSection)( &rPos.nNode ); in GoNextSection()
1144 SwCntntNode *pNd = rPos.nNode.GetNode().GetCntntNode(); in GoNextSection()
1145 rPos.nContent.Assign( pNd, in GoNextSection()
1153 SwPosition& rPos = *rPam.GetPoint(); in GoPrevSection() local
1154 SwPosition aSavePos( rPos ); // eine Vergleichsposition in GoPrevSection()
1156 rNds.GoStartOfSection( &rPos.nNode ); in GoPrevSection()
1161 rPos = aSavePos; // Cusror nicht veraendern in GoPrevSection()
1164 (rNds.*fnMove->fnSection)( &rPos.nNode ); in GoPrevSection()
1165 SwCntntNode *pNd = rPos.nNode.GetNode().GetCntntNode(); in GoPrevSection()
1166 rPos.nContent.Assign( pNd, in GoPrevSection()