Home
last modified time | relevance | path

Searched refs:rPam (Results 1 – 25 of 90) sorted by relevance

1234

/trunk/main/sw/source/core/undo/
H A Dundel.cxx110 SwPaM& rPam, in SwUndoDelete() argument
160 DelCntntIndex( *rPam.GetMark(), *rPam.GetPoint(), in SwUndoDelete()
167 DelCntntIndex( *rPam.GetMark(), *rPam.GetPoint() ); in SwUndoDelete()
221 rPam.Exchange(); in SwUndoDelete()
899 DelCntntIndex( *rPam.GetMark(), *rPam.GetPoint(), in RedoImpl()
905 DelCntntIndex( *rPam.GetMark(), *rPam.GetPoint() ); in RedoImpl()
915 DelCntntIndex( *rPam.GetMark(), *rPam.GetPoint(), in RedoImpl()
921 DelCntntIndex( *rPam.GetMark(), *rPam.GetPoint() ); in RedoImpl()
975 if( rPam.GetPoint()->nNode == rPam.GetMark()->nNode ) in RedoImpl()
976 *rPam.GetMark() = *rPam.GetPoint(); in RedoImpl()
[all …]
H A Dunspnd.cxx83 rPam.DeleteMark(); in UndoImpl()
127 rPam.SetMark(); in UndoImpl()
128 rPam.GetMark()->nNode++; in UndoImpl()
129 rPam.GetMark()->nContent.Assign( rPam.GetMark()-> in UndoImpl()
132 rPam.DeleteMark(); in UndoImpl()
141 rPam.SetMark(); in UndoImpl()
151 rPam.DeleteMark(); in UndoImpl()
153 rPam.GetPoint()->nContent.Assign( rPam.GetCntntNode(), nCntnt ); in UndoImpl()
176 rPam.SetMark(); in RedoImpl()
188 rPam.Exchange(); in RedoImpl()
[all …]
H A Dunredln.cxx103 UndoRedlineImpl(*pDoc, rPam); in UndoImpl()
117 SetPaM(rPam, true); in UndoImpl()
142 SetPaM(rPam, true); in RedoImpl()
188 if (rPam.GetPoint() != rPam.GetMark()) in RedoRedlineImpl()
278 rDoc.DelFullPara(rPam); in UndoRedlineImpl()
280 SwPaM *const pPam = & rPam; in UndoRedlineImpl()
293 SetPaM(rPam); in UndoRedlineImpl()
298 SwPaM* pPam = &rPam; in RedoRedlineImpl()
321 SetValues( rPam ); in RedoRedlineImpl()
323 SetPaM( rPam ); in RedoRedlineImpl()
[all …]
H A Dundobj.cxx89 SetValues( rPam ); in SwUndRng()
95 if( rPam.HasMark() ) in SetValues()
98 ? rPam.GetMark() in SetValues()
113 rPam.DeleteMark(); in SetPaM()
126 rPam.SetMark(); in SetPaM()
167 rPam.Exchange(); in RemoveIdxFromRange()
174 rPam.Exchange(); in RemoveIdxFromRange()
177 rPam.GetPoint()->nNode = rPam.GetDoc()->GetNodes().GetEndOfPostIts(); in RemoveIdxFromRange()
182 rPam.GetDoc()->CorrAbs( aStt, aEnd, *rPam.GetPoint(), sal_True ); in RemoveIdxFromRange()
185 rPam.GetDoc()->CorrAbs( rPam, *pEnd, sal_True ); in RemoveIdxFromRange()
[all …]
H A Dunins.cxx606 DelCntntIndex( *rPam.GetMark(), *rPam.GetPoint() ); in Impl()
649 rPam.DeleteMark(); in UndoImpl()
674 rPam.SetMark(); in UndoImpl()
676 rPam.GetPoint()->nContent.Assign( rPam.GetCntntNode(), m_nEndCnt ); in UndoImpl()
679 rPam.DeleteMark(); in UndoImpl()
734 rPam.DeleteMark(); in RedoImpl()
740 rPam.SetMark(); in RedoImpl()
753 DelCntntIndex( *rPam.GetMark(), *rPam.GetPoint() ); in RedoImpl()
762 DelCntntIndex( *rPam.GetMark(), *rPam.GetPoint() ); in RedoImpl()
769 rPam.DeleteMark(); in RedoImpl()
[all …]
H A Dunnum.cxx54 : SwUndo( UNDO_INSNUM ), SwUndRng( rPam ), in SwUndoInsNum()
143 SwPaM & rPam( AddUndoRedoPaM( rContext ) ); in RedoImpl() local
193 SwUndoDelNum::SwUndoDelNum( const SwPaM& rPam ) in SwUndoDelNum() argument
194 : SwUndo( UNDO_DELNUM ), SwUndRng( rPam ), in SwUndoDelNum()
227 SwPaM & rPam( AddUndoRedoPaM(rContext) ); in RedoImpl() local
228 rContext.GetDoc().DelNumRules(rPam); in RedoImpl()
253 SwUndRng( rPam ), in SwUndoMoveNum()
277 SwPaM & rPam( AddUndoRedoPaM(rContext) ); in UndoImpl() local
290 SwPaM & rPam( AddUndoRedoPaM(rContext) ); in RedoImpl() local
321 SwPaM & rPam( AddUndoRedoPaM(rContext) ); in UndoImpl() local
[all …]
H A Duntblk.cxx44 : SwUndo( nUndoId ), SwUndRng( rPam ), in SwUndoInserts()
49 SwDoc* pDoc = (SwDoc*)rPam.GetDoc(); in SwUndoInserts()
92 const SwPosition* pTmpPos = rPam.End(); in SetInsertRange()
95 if( rPam.HasMark() ) in SetInsertRange()
97 if( pTmpPos == rPam.GetPoint() ) in SetInsertRange()
98 pTmpPos = rPam.GetMark(); in SetInsertRange()
100 pTmpPos = rPam.GetPoint(); in SetInsertRange()
115 SwDoc* pDoc = (SwDoc*)rPam.GetDoc(); in SetInsertRange()
342 SwUndoInsDoc::SwUndoInsDoc( const SwPaM& rPam ) in SwUndoInsDoc() argument
343 : SwUndoInserts( UNDO_INSDOKUMENT, rPam ) in SwUndoInsDoc()
[all …]
H A Dunattr.cxx702 SwPaM & rPam = AddUndoRedoPaM(rContext); in RedoImpl() local
708 rDoc.RstTxtAttrs(rPam); in RedoImpl()
824 SwDoc* pDoc = rPam.GetDoc(); in SaveRedlineData()
908 SwPaM & rPam = AddUndoRedoPaM(rContext); in RedoImpl() local
920 rPam.SetMark(); in RedoImpl()
926 rPam.DeleteMark(); in RedoImpl()
1072 , SwUndRng( rPam ) in SwUndoMoveLeftMargin()
1096 SwPaM & rPam = AddUndoRedoPaM(rContext); in RedoImpl() local
1098 rDoc.MoveLeftMargin( rPam, in RedoImpl()
1245 SwPaM & rPam = rContext.GetRepeatPaM(); in RepeatImpl() local
[all …]
H A Dunsort.cxx138 SwPaM & rPam( AddUndoRedoPaM(rContext) ); in UndoImpl() local
139 RemoveIdxFromRange(rPam, true); in UndoImpl()
166 SetPaM(rPam, true); in UndoImpl()
219 SwPaM & rPam( AddUndoRedoPaM(rContext) ); in RedoImpl() local
220 SetPaM(rPam); in RedoImpl()
221 RemoveIdxFromRange(rPam, true); in RedoImpl()
242 SetPaM(rPam, true); in RedoImpl()
243 SwTxtNode const*const pTNd = rPam.GetNode()->GetTxtNode(); in RedoImpl()
246 rPam.GetPoint()->nContent = pTNd->GetTxt().Len(); in RedoImpl()
H A Dunsect.cxx76 SwPaM const& rPam, SwSectionData const& rNewData, in SwUndoInsSection() argument
78 : SwUndo( UNDO_INSSECTION ), SwUndRng( rPam ) in SwUndoInsSection()
89 SwDoc& rDoc = *(SwDoc*)rPam.GetDoc(); in SwUndoInsSection()
98 if( !rPam.HasMark() ) in SwUndoInsSection()
100 const SwCntntNode* pCNd = rPam.GetPoint()->nNode.GetNode().GetCntntNode(); in SwUndoInsSection()
102 !rPam.GetPoint()->nContent.GetIndex() || in SwUndoInsSection()
103 rPam.GetPoint()->nContent.GetIndex() == pCNd->Len() )) in SwUndoInsSection()
171 SwPaM & rPam( AddUndoRedoPaM(rContext) ); in RedoImpl() local
176 pUpdateTOX = rDoc.InsertTableOf( *rPam.GetPoint(), in RedoImpl()
181 rDoc.InsertSwSection(rPam, *m_pSectionData, 0, m_pAttrSet.get(), true); in RedoImpl()
/trunk/main/sw/source/core/doc/
H A Ddocedt.cxx260 pPos = rPam.GetPoint() == pPos ? rPam.GetMark() : rPam.GetPoint(); in _SaveFlyInRange()
1310 if( rPam.GetPoint()->nNode != rPam.GetMark()->nNode ) in lcl_StrLenOverFlow()
1312 const SwPosition* pStt = rPam.Start(), *pEnd = rPam.End(); in lcl_StrLenOverFlow()
1329 if( rPam.GetPoint()->nNode != rPam.GetMark()->nNode ) in lcl_GetJoinFlags()
1581 if ( *rPam.GetPoint() != *rPam.GetMark() ) in DeleteAndJoinWithRedlineImpl()
1645 SwPaM aDelPam( *rPam.GetMark(), *rPam.GetPoint() ); in DeleteRangeImpl()
2240 SwPaM aPam( *rPam.GetMark(), *rPam.GetPoint() ); in ReplaceRange()
2310 if( !rPam.HasMark() || *rPam.GetPoint() == *rPam.GetMark() ) in ReplaceRangeImpl()
2320 SwPaM aDelPam( *rPam.GetMark(), *rPam.GetPoint() ); in ReplaceRangeImpl()
2448 *rPam.GetMark() = *rPam.GetPoint(); in ReplaceRangeImpl()
[all …]
H A Ddocruby.cxx64 sal_Bool bCheckEmpty = &rPam != _pStartCrsr; in FillRubyList()
116 sal_Bool bCheckEmpty = &rPam != _pStartCrsr; in SetRubyList()
197 SwPosition* pPos = rPam.GetPoint(); in _SelectNextRubyChars()
202 sal_Bool bHasMark = rPam.HasMark(); in _SelectNextRubyChars()
206 if( rPam.GetMark()->nNode == pPos->nNode ) in _SelectNextRubyChars()
213 rPam.DeleteMark(); in _SelectNextRubyChars()
264 if( !rPam.HasMark() ) in _SelectNextRubyChars()
266 rPam.SetMark(); in _SelectNextRubyChars()
324 if( rPam.HasMark() ) in _SelectNextRubyChars()
331 rPam.SetMark(); in _SelectNextRubyChars()
[all …]
H A Ddocnum.cxx434 const SwPosition& rStt = *rPam.Start(), in MoveOutlinePara()
435 & rEnd = &rStt == rPam.GetPoint() ? *rPam.GetMark() in MoveOutlinePara()
436 : *rPam.GetPoint(); in MoveOutlinePara()
1007 if ( !rPam.HasMark() ) in SetNumRule()
1053 if ( rPam.HasMark() && in SetNumRule()
1085 if ( rPam.HasMark() && in SetCounted()
1496 pUndo = new SwUndoDelNum( rPam ); in DelNumRules()
1918 const SwPosition *pStt = rPam.Start(), *pEnd = rPam.End(); in MoveParagraph()
2065 SwDataChanged aTmp( rPam, 0 ); in MoveParagraph()
2120 SwPaM& rOrigPam = (SwPaM&)rPam; in MoveParagraph()
[all …]
H A Ddocredln.cxx2002 * pEnd = pStt == rPam.GetPoint() ? rPam.GetMark() in lcl_AcceptRejectRedl()
2045 * pEnd = pStt == rPam.GetPoint() ? rPam.GetMark() in lcl_AdjustRedlineRange()
2153 SwPaM aPam( *rPam.GetMark(), *rPam.GetPoint() ); in AcceptRedline()
2266 SwPaM aPam( *rPam.GetMark(), *rPam.GetPoint() ); in RejectRedline()
2306 rPam.SetMark(); in SelNextRedline()
2400 if( !pFnd || *rPam.GetMark() == *rPam.GetPoint() ) in SelNextRedline()
2423 rPam.SetMark(); in SelPrevRedline()
2519 if( !pFnd || *rPam.GetMark() == *rPam.GetPoint() ) in SelPrevRedline()
2902 rPam.SetMark(); in Reject()
3068 : SwPaM( *rPam.GetMark(), *rPam.GetPoint() ), in SwRedline()
[all …]
/trunk/main/sw/source/core/unocore/
H A Dunocrsrhelper.cxx141 SwPaM& rPam, in getCrsrPropertyValue() argument
235 GetCurPageStyle(rPam, sVal); in getCrsrPropertyValue()
310 if( !rPam.GetDoc()->GetNumRuleAtPos( *rPam.GetPoint() ) ) in getCrsrPropertyValue()
431 SwSection* pSect = rPam.GetDoc()->GetCurrSection(*rPam.GetPoint()); in getCrsrPropertyValue()
513 if((pTxtNode = (SwTxtNode*)rPam.GetNode( sal_True )) == rPam.GetNode(sal_False) && in getCrsrPropertyValue()
689 if ( rPam.GetNext() != &rPam ) // Mehrfachselektion ? in setNumberingProperty()
726 rPam.GetDoc()->DelNumRules(rPam); in setNumberingProperty()
736 const SwNumRule* pNumRule = rPam.GetDoc()->GetNumRuleAtPos( *rPam.GetPoint() ); in getNumberingProperty()
761 SwDoc* pDoc = rPam.GetDoc(); in resetCrsrPropertyValue()
773 if( rPam.GetNext() != &rPam ) // Mehrfachselektion ? in resetCrsrPropertyValue()
[all …]
H A Dunorefmk.cxx233 void SwXReferenceMark::Impl::InsertRefMark(SwPaM& rPam, in InsertRefMark() argument
239 SwDoc *pDoc2 = rPam.GetDoc(); in InsertRefMark()
243 sal_Bool bMark = *rPam.GetPoint() != *rPam.GetMark(); in InsertRefMark()
261 if( bMark && *rPam.GetPoint() > *rPam.GetMark()) in InsertRefMark()
263 rPam.Exchange(); in InsertRefMark()
273 rPam.GetNode()->GetTxtNode()->GetTxtAttrsAt( in InsertRefMark()
610 const SwPaM & rPam);
662 const SwPaM & rPam) in PrepareForAttach() argument
667 (rPam.HasMark()) ? rPam.GetMark() : 0)); in PrepareForAttach()
897 SwPosition const * const pStartPos( rPam.Start() ); in CheckForOwnMemberMeta()
[all …]
/trunk/main/sw/source/core/crsr/
H A Dpam.cxx509 SwPaM::SwPaM( SwPaM &rPam ) in SwPaM() argument
510 : Ring( &rPam ) in SwPaM()
511 , m_Bound1( *(rPam.m_pPoint) ) in SwPaM()
512 , m_Bound2( *(rPam.m_pMark) ) in SwPaM()
521 *m_pPoint = *( rPam.m_pPoint ); in operator =()
522 if ( rPam.HasMark() ) in operator =()
525 *m_pMark = *( rPam.m_pMark ); in operator =()
856 if( ((*rPam.GetPoint()).*fnMove->fnCmpOp)( *rPam.GetMark() ) || in GetNode()
857 ( *rPam.GetPoint() == *rPam.GetMark() && rbFirst ) ) in GetNode()
1018 return GoInNode( rPam, fnMove ); in GoInCntnt()
[all …]
H A Dfindattr.cxx119 sal_Bool bTstEnde = rPam.GetPoint()->nNode == rPam.GetMark()->nNode; in lcl_SetAttrPam()
121 SwCntntNode* pCNd = rPam.GetCntntNode(); in lcl_SetAttrPam()
123 rPam.SetMark(); // Point == GetMark in lcl_SetAttrPam()
129 rPam.GetPoint()->nContent = nCntntPos; in lcl_SetAttrPam()
131 rPam.GetPoint()->nContent = *pEnde; in lcl_SetAttrPam()
247 nNdEnd = rPam.GetPoint()->nNode == rPam.GetMark()->nNode in SetNewSet()
254 nNdStt = rPam.GetPoint()->nNode == rPam.GetMark()->nNode in SetNewSet()
709 SwPaM& rPam ) in lcl_SearchForward() argument
712 rCmpArr.SetNewSet( rTxtNd, rPam ); in lcl_SearchForward()
783 SwPaM& rPam ) in lcl_SearchBackward() argument
[all …]
H A Dswcrsr.cxx84 _PercentHdl( const SwPaM& rPam ) in _PercentHdl()
88 if( rPam.GetPoint()->nNode == rPam.GetMark()->nNode ) in _PercentHdl()
921 SwPaM& rPam, int bFirst ) in lcl_MakeSelFwrd() argument
927 rPam.DeleteMark(); in lcl_MakeSelFwrd()
941 rPam.SetMark(); in lcl_MakeSelFwrd()
942 rPam.GetPoint()->nNode = rEndNd; in lcl_MakeSelFwrd()
948 return *rPam.GetMark() < *rPam.GetPoint(); in lcl_MakeSelFwrd()
953 SwPaM& rPam, int bFirst ) in lcl_MakeSelBkwrd() argument
959 rPam.DeleteMark(); in lcl_MakeSelBkwrd()
973 rPam.SetMark(); in lcl_MakeSelBkwrd()
[all …]
/trunk/main/sw/source/core/docnode/
H A Dndcopy.cxx136 const SwPaM& rPam, in lcl_CopyBookmarks() argument
144 const SwPosition &rStt = *rPam.Start(), &rEnd = *rPam.End(); in lcl_CopyBookmarks()
599 const SwDoc* pSrcDoc = rPam.GetDoc(); in lcl_DeleteRedlines()
606 const SwPosition *pStt = rPam.Start(), *pEnd = rPam.End(); in lcl_DeleteRedlines()
692 const SwPosition *pStt = rPam.Start(), *pEnd = rPam.End(); in CopyRange()
882 SwPosition* pStt = rPam.Start(); in CopyImpl()
883 SwPosition* pEnd = rPam.End(); in CopyImpl()
1008 rPam.Exchange(); in CopyImpl()
1011 rPam.Exchange(); in CopyImpl()
1291 lcl_CopyBookmarks( rPam, aCpyPam ); in CopyImpl()
[all …]
/trunk/main/sw/source/core/edit/
H A Deddel.cxx48 void SwEditShell::DeleteSel( SwPaM& rPam, sal_Bool* pUndo ) in DeleteSel() argument
51 if ( !rPam.HasMark() || *rPam.GetPoint() == *rPam.GetMark()) in DeleteSel()
61 if( rPam.GetNode()->FindTableNode() && in DeleteSel()
62 rPam.GetNode()->StartOfSectionNode() != rPam.GetNode(sal_False)->StartOfSectionNode() ) in DeleteSel()
70 SwPaM aDelPam( *rPam.Start() ); in DeleteSel()
71 const SwPosition* pEndSelPos = rPam.End(); in DeleteSel()
108 GetDoc()->DeleteAndJoin( rPam ); in DeleteSel()
109 SaveTblBoxCntnt( rPam.GetPoint() ); in DeleteSel()
113 rPam.DeleteMark(); in DeleteSel()
/trunk/main/sw/inc/
H A Dunocrsrhelper.hxx91 , SwPaM& rPam
104 … resetCrsrPropertyValue(const SfxItemPropertySimpleEntry& rEntry, SwPaM& rPam);
111 SwPaM& rPam,
117 SwPaM& rPam);
120 SwPaM& rPam,
132 void SetCrsrAttr(SwPaM & rPam, const SfxItemSet & rSet,
135 void GetCrsrAttr(SwPaM & rPam, SfxItemSet & rSet,
138 void GetTextFromPam(SwPaM & rPam, ::rtl::OUString & rBuffer);
139 SwFmtColl * GetCurTxtFmtColl(SwPaM & rPam, const bool bConditional);
141 void SelectPam(SwPaM & rPam, const bool bExpand);
[all …]
H A DIDocumentRedlineAccess.hxx166 virtual bool SplitRedline(/*[in]*/const SwPaM& rPam) = 0;
171 /*[in]*/const SwPaM& rPam,
210 virtual bool AcceptRedline(/*[in]*/const SwPaM& rPam, /*[in]*/bool bCallDelete) = 0;
218 virtual bool RejectRedline(/*[in]*/const SwPaM& rPam, /*[in]*/bool bCallDelete) = 0;
222 virtual const SwRedline* SelNextRedline(/*[in]*/SwPaM& rPam) const = 0;
226 virtual const SwRedline* SelPrevRedline(/*[in]*/SwPaM& rPam) const = 0;
239 /*[in]*/const SwPaM& rPam,
/trunk/main/sw/source/core/inc/
H A DUndoRedline.hxx46 virtual void UndoRedlineImpl(SwDoc & rDoc, SwPaM & rPam);
47 virtual void RedoRedlineImpl(SwDoc & rDoc, SwPaM & rPam);
67 virtual void UndoRedlineImpl(SwDoc & rDoc, SwPaM & rPam);
68 virtual void RedoRedlineImpl(SwDoc & rDoc, SwPaM & rPam);
86 virtual void UndoRedlineImpl(SwDoc & rDoc, SwPaM & rPam);
87 virtual void RedoRedlineImpl(SwDoc & rDoc, SwPaM & rPam);
103 virtual void RedoRedlineImpl(SwDoc & rDoc, SwPaM & rPam);
114 virtual void RedoRedlineImpl(SwDoc & rDoc, SwPaM & rPam);
/trunk/main/sw/source/filter/xml/
H A Dswxml.cxx92 void lcl_EnsureValidPam( SwPaM& rPam ) in lcl_EnsureValidPam() argument
94 if( rPam.GetCntntNode() != NULL ) in lcl_EnsureValidPam()
97 if( rPam.GetCntntNode() != rPam.GetPoint()->nContent.GetIdxReg() ) in lcl_EnsureValidPam()
99 rPam.GetPoint()->nContent.Assign( rPam.GetCntntNode(), 0 ); in lcl_EnsureValidPam()
104 if( ( rPam.GetCntntNode( sal_False ) == NULL ) || in lcl_EnsureValidPam()
105 ( rPam.GetCntntNode( sal_False ) != rPam.GetMark()->nContent.GetIdxReg() ) ) in lcl_EnsureValidPam()
107 rPam.DeleteMark(); in lcl_EnsureValidPam()
113 rPam.DeleteMark(); in lcl_EnsureValidPam()
114 rPam.GetPoint()->nNode = in lcl_EnsureValidPam()
116 ++ rPam.GetPoint()->nNode; in lcl_EnsureValidPam()
[all …]

Completed in 150 milliseconds

1234