Home
last modified time | relevance | path

Searched refs:rPaM (Results 1 – 25 of 71) sorted by relevance

123

/aoo41x/main/svtools/inc/svtools/
H A Dtextdata.hxx51 inline sal_Bool operator == ( const TextPaM& rPaM ) const;
52 inline sal_Bool operator != ( const TextPaM& rPaM ) const;
53 inline sal_Bool operator < ( const TextPaM& rPaM ) const;
54 inline sal_Bool operator > ( const TextPaM& rPaM ) const;
59 return ( ( mnPara == rPaM.mnPara ) && ( mnIndex == rPaM.mnIndex ) ) ? sal_True : sal_False; in operator ==()
64 return !( *this == rPaM ); in operator !=()
69 return ( ( mnPara < rPaM.mnPara ) || in operator <()
70 ( ( mnPara == rPaM.mnPara ) && mnIndex < rPaM.mnIndex ) ) ? sal_True : sal_False; in operator <()
75 return ( ( mnPara > rPaM.mnPara ) || in operator >()
76 ( ( mnPara == rPaM.mnPara ) && mnIndex > rPaM.mnIndex ) ) ? sal_True : sal_False; in operator >()
[all …]
H A Dtextview.hxx77 sal_Bool IsInSelection( const TextPaM& rPaM );
187 TextPaM PageUp( const TextPaM& rPaM );
188 TextPaM PageDown( const TextPaM& rPaM );
189 TextPaM CursorUp( const TextPaM& rPaM );
190 TextPaM CursorDown( const TextPaM& rPaM );
193 TextPaM CursorWordLeft( const TextPaM& rPaM );
194 TextPaM CursorWordRight( const TextPaM& rPaM );
195 TextPaM CursorStartOfLine( const TextPaM& rPaM );
196 TextPaM CursorEndOfLine( const TextPaM& rPaM );
197 TextPaM CursorStartOfParagraph( const TextPaM& rPaM );
[all …]
H A Dtexteng.hxx155 TextPaM ImpInsertParaBreak( const TextPaM& rPaM, sal_Bool bKeepEndingAttribs = sal_True );
156 void ImpRemoveChars( const TextPaM& rPaM, sal_uInt16 nChars, SfxUndoAction* pCurUndo = 0 );
205 …Rectangle GetEditCursor( const TextPaM& rPaM, sal_Bool bSpecial, sal_Bool bPreferPortionStart = …
227 void ValidatePaM( TextPaM& rPaM ) const;
303 Rectangle PaMtoEditCursor( const TextPaM& rPaM, sal_Bool bSpecial = sal_False );
307 const TextAttrib* FindAttrib( const TextPaM& rPaM, sal_uInt16 nWhich ) const;
308 const TextCharAttrib* FindCharAttrib( const TextPaM& rPaM, sal_uInt16 nWhich ) const;
/aoo41x/main/svtools/source/edit/
H A Dtextdoc.cxx616 pNode->InsertText( rPaM.GetIndex(), c ); in InsertText()
618 TextPaM aPaM( rPaM.GetPara(), rPaM.GetIndex()+1 ); in InsertText()
628 pNode->InsertText( rPaM.GetIndex(), rStr ); in InsertText()
630 TextPaM aPaM( rPaM.GetPara(), rPaM.GetIndex()+rStr.Len() ); in InsertText()
639 maTextNodes.Insert( pNew, rPaM.GetPara()+1 ); in InsertParaBreak()
641 TextPaM aPaM( rPaM.GetPara()+1, 0 ); in InsertParaBreak()
663 pNode->RemoveText( rPaM.GetIndex(), nChars ); in RemoveChars()
665 return rPaM; in RemoveChars()
668 sal_Bool TextDoc::IsValidPaM( const TextPaM& rPaM ) in IsValidPaM() argument
670 if ( rPaM.GetPara() >= maTextNodes.Count() ) in IsValidPaM()
[all …]
H A Dtexteng.cxx586 ImpCharsRemoved( rPaM.GetPara(), rPaM.GetIndex(), nChars ); in ImpRemoveChars()
927 InsertUndo( new TextUndoSplitPara( this, rPaM.GetPara(), rPaM.GetIndex() ) ); in ImpInsertParaBreak()
1030 long nX = ImpGetXPos( rPaM.GetPara(), pLine, rPaM.GetIndex(), bPreferPortionStart ); in GetEditCursor()
2889 rPaM.GetPara() = nMaxPara; in ValidatePaM()
2890 rPaM.GetIndex() = 0xFFFF; in ValidatePaM()
2924 rPaM.GetPara()++; in ImpParagraphInserted()
2946 rPaM.GetPara()--; in ImpParagraphRemoved()
2949 rPaM.GetIndex() = 0; in ImpParagraphRemoved()
2951 rPaM.GetPara()--; in ImpParagraphRemoved()
2976 rPaM.GetIndex() = rPaM.GetIndex() - nChars; in ImpCharsRemoved()
[all …]
H A Dtextview.cxx1454 TextPaM aPaM( rPaM ); in CursorLeft()
1474 TextPaM aPaM( rPaM ); in CursorRight()
1495 TextPaM aPaM( rPaM ); in CursorWordLeft()
1518 TextPaM aPaM( rPaM ); in CursorWordRight()
1606 TextPaM aPaM( rPaM ); in CursorUp()
1644 TextPaM aPaM( rPaM ); in CursorDown()
1683 TextPaM aPaM( rPaM ); in CursorStartOfLine()
1695 TextPaM aPaM( rPaM ); in CursorEndOfLine()
1718 TextPaM aPaM( rPaM ); in CursorStartOfParagraph()
1726 TextPaM aPaM( rPaM ); in CursorEndOfParagraph()
[all …]
H A Dtextdoc.hxx121 TextPaM RemoveChars( const TextPaM& rPaM, sal_uInt16 nChars );
122 TextPaM InsertText( const TextPaM& rPaM, sal_Unicode c );
123 TextPaM InsertText( const TextPaM& rPaM, const String& rStr );
125 TextPaM InsertParaBreak( const TextPaM& rPaM, sal_Bool bKeepEndingAttribs );
141 sal_Bool IsValidPaM( const TextPaM& rPaM );
/aoo41x/main/editeng/source/editeng/
H A Dimpedit2.cxx1027 EditPaM aPaM( rPaM ); in CursorVisualStartEnd()
1085 EditPaM aPaM( rPaM ); in CursorVisualLeftRight()
1346 EditPaM aNewPaM( rPaM ); in CursorUp()
1390 EditPaM aNewPaM( rPaM ); in CursorDown()
1426 EditPaM aNewPaM( rPaM ); in CursorStartOfLine()
1439 EditPaM aNewPaM( rPaM ); in CursorEndOfLine()
1470 EditPaM aPaM( rPaM.GetNode(), rPaM.GetNode()->Len() ); in CursorEndOfParagraph()
1528 EditPaM aNewPaM( rPaM ); in WordLeft()
1666 …long nStart = rPaM.GetIndex() ? _xBI->beginOfSentence( sParagraph, rPaM.GetIndex(), GetLocale( rPa… in SelectSentence()
2143 XubString aStr( rPaM.GetNode()->Copy( rPaM.GetIndex(), nChars ) ); in ImpRemoveChars()
[all …]
H A Dimpedit.hxx336 sal_Bool IsInSelection( const EditPaM& rPaM );
597 EditPaM PageUp( const EditPaM& rPaM, EditView* pView);
598 EditPaM PageDown( const EditPaM& rPaM, EditView* pView);
603 EditPaM CursorStartOfLine( const EditPaM& rPaM );
604 EditPaM CursorEndOfLine( const EditPaM& rPaM );
605 EditPaM CursorStartOfParagraph( const EditPaM& rPaM );
606 EditPaM CursorEndOfParagraph( const EditPaM& rPaM );
622 sal_Bool IsScriptChange( const EditPaM& rPaM ) const;
866 inline EPaM CreateEPaM( const EditPaM& rPaM );
1038 ContentNode* pNode = rPaM.GetNode(); in CreateEPaM()
[all …]
H A Deditdoc.cxx624 EditSelection& EditSelection::operator = ( const EditPaM& rPaM ) in operator =() argument
626 aStartPaM = rPaM; in operator =()
627 aEndPaM = rPaM; in operator =()
689 EditPaM& EditPaM::operator = ( const EditPaM& rPaM ) in operator =() argument
691 nIndex = rPaM.nIndex; in operator =()
692 pNode = rPaM.pNode; in operator =()
1516 void EditDoc::InsertText( const EditPaM& rPaM, xub_Unicode c ) in InsertText() argument
1522 rPaM.GetNode()->Insert( c, rPaM.GetIndex() ); in InsertText()
1523 rPaM.GetNode()->ExpandAttribs( rPaM.GetIndex(), 1, GetItemPool() ); in InsertText()
/aoo41x/main/sw/source/filter/writer/
H A Dwriter.cxx308 sal_uLong Writer::Write( SwPaM& rPaM, SvStream& rStrm, const String* pFName ) in Write() argument
313 sal_uLong nResult = Write( rPaM, *aRef, pFName ); in Write()
319 pDoc = rPaM.GetDoc(); in Write()
324 pCurPam = new SwPaM( *rPaM.End(), *rPaM.Start() ); in Write()
326 pOrigPam = &rPaM; in Write()
588 pDoc = rPaM.GetDoc(); in Write()
592 pCurPam = new SwPaM( *rPaM.End(), *rPaM.Start() ); in Write()
594 pOrigPam = &rPaM; in Write()
609 pDoc = rPaM.GetDoc(); in Write()
613 pCurPam = new SwPaM( *rPaM.End(), *rPaM.Start() ); in Write()
[all …]
/aoo41x/main/sw/source/core/doc/
H A Ddocedt.cxx759 SwDataChanged aTmp( rPaM, 0 ); in SetModified()
874 sal_Bool bOneNode = rPaM.GetPoint()->nNode == rPaM.GetMark()->nNode; in MoveAndJoin()
902 const SwPosition *pStt = rPaM.Start(), *pEnd = rPaM.End(); in MoveRange()
952 if( rPaM.GetPoint() == pEnd ) in MoveRange()
953 rPaM.Exchange(); in MoveRange()
967 if( pTNd && rPaM.GetPoint()->nNode != rPaM.GetMark()->nNode && in MoveRange()
1012 if( *rPaM.GetPoint() != *rPaM.GetMark() ) in MoveRange()
1025 rPaM.DeleteMark(); in MoveRange()
1887 SwPosition* pSttPos = rPaM.Start(), *pEndPos = rPaM.End(); in Spell()
2688 const SwPaM& rPaM, in TransliterateText() argument
[all …]
H A Ddocbm.cxx347 ( !rPaM.HasMark() || in IsLegalPaMForCrossRefHeadingBookmark()
348 ( rPaM.GetMark()->nNode == rPaM.GetPoint()->nNode && in IsLegalPaMForCrossRefHeadingBookmark()
349rPaM.End()->nContent.GetIndex() == rPaM.End()->nNode.GetNode().GetTxtNode()->Len() ) ); in IsLegalPaMForCrossRefHeadingBookmark()
374 if(rPaM.HasMark()) in makeMark()
375 pPos2 = rPaM.GetMark(); in makeMark()
421 pMarkBase = new UnoMark(rPaM); in makeMark()
478 const SwPaM& rPaM, in makeFieldBookmark() argument
492 const SwPaM& rPaM, in makeNoTextFieldBookmark() argument
520 const SwPaM& rPaM, in makeAnnotationMark() argument
528 const SwPaM& rPaM) in repositionMark() argument
[all …]
/aoo41x/main/sw/source/core/crsr/
H A Dcrossrefbookmark.cxx35 CrossRefBookmark::CrossRefBookmark(const SwPaM& rPaM, in CrossRefBookmark() argument
40 : Bookmark(rPaM, rCode, rName, rShortName) in CrossRefBookmark()
42 OSL_ENSURE( IDocumentMarkAccess::IsLegalPaMForCrossRefHeadingBookmark( rPaM ), in CrossRefBookmark()
45 SetMarkPos(*rPaM.Start()); in CrossRefBookmark()
69 CrossRefHeadingBookmark::CrossRefHeadingBookmark(const SwPaM& rPaM, in CrossRefHeadingBookmark() argument
73 …: CrossRefBookmark(rPaM, rCode, rName, rShortName, IDocumentMarkAccess::GetCrossRefHeadingBookmark… in CrossRefHeadingBookmark()
81 CrossRefNumItemBookmark::CrossRefNumItemBookmark(const SwPaM& rPaM, in CrossRefNumItemBookmark() argument
85 : CrossRefBookmark(rPaM, rCode, rName, rShortName, our_sNamePrefix) in CrossRefNumItemBookmark()
H A Dbookmrk.cxx212 NavigatorReminder::NavigatorReminder(const SwPaM& rPaM) in NavigatorReminder() argument
213 : MarkBase(rPaM, our_sNamePrefix) in NavigatorReminder()
317 Fieldmark::Fieldmark(const SwPaM& rPaM) in Fieldmark() argument
318 : MarkBase(rPaM, MarkBase::GenerateNewName(our_sNamePrefix)) in Fieldmark()
364 TextFieldmark::TextFieldmark(const SwPaM& rPaM) in TextFieldmark() argument
365 : Fieldmark(rPaM) in TextFieldmark()
378 CheckboxFieldmark::CheckboxFieldmark(const SwPaM& rPaM) in CheckboxFieldmark() argument
379 : Fieldmark(rPaM) in CheckboxFieldmark()
/aoo41x/main/sw/source/core/unocore/
H A Dunoobj.cxx162 const SwPaM* pTmp = &rPaM; in operator =()
163 *GetPoint() = *rPaM.GetPoint(); in operator =()
164 if(rPaM.HasMark()) in operator =()
167 *GetMark() = *rPaM.GetMark(); in operator =()
350 SwPaM *pTmpCrsr = &rPaM; in SetTxtFmtColl()
354 } while ( pTmpCrsr != &rPaM ); in SetTxtFmtColl()
697 SwPaM *pTmpCrsr = &rPaM; in GetCurTxtFmtColl()
730 } while ( pTmpCrsr != &rPaM ); in GetCurTxtFmtColl()
2227 SwPosition aStart = *rPaM.Start(); in lcl_SelectParaAndReset()
2228 SwPosition aEnd = *rPaM.End(); in lcl_SelectParaAndReset()
[all …]
/aoo41x/main/sw/source/core/inc/
H A Dbookmrk.hxx113 MarkBase(const SwPaM& rPaM,
128 NavigatorReminder(const SwPaM& rPaM);
137 UnoMark(const SwPaM& rPaM);
146 DdeBookmark(const SwPaM& rPaM);
178 Bookmark(const SwPaM& rPaM,
211 Fieldmark(const SwPaM& rPaM);
248 TextFieldmark(const SwPaM& rPaM);
258 CheckboxFieldmark(const SwPaM& rPaM);
H A DMarkManager.hxx42 …virtual ::sw::mark::IMark* makeMark(const SwPaM& rPaM, const ::rtl::OUString& rName, IDocumentMark…
44 virtual sw::mark::IFieldmark* makeFieldBookmark( const SwPaM& rPaM,
47 virtual sw::mark::IFieldmark* makeNoTextFieldBookmark( const SwPaM& rPaM,
54 const SwPaM& rPaM,
58 virtual void repositionMark(::sw::mark::IMark* io_pMark, const SwPaM& rPaM);
H A Dcrossrefbookmark.hxx37 CrossRefBookmark(const SwPaM& rPaM,
72 CrossRefHeadingBookmark(const SwPaM& rPaM,
83 CrossRefNumItemBookmark(const SwPaM& rPaM,
H A DUndoCore.hxx90 RepeatContext(SwDoc & rDoc, SwPaM & rPaM) in RepeatContext() argument
92 , m_pCurrentPaM(& rPaM) in RepeatContext()
130 void DoSetFmtColl(SwDoc & rDoc, SwPaM & rPaM);
/aoo41x/main/sw/inc/
H A Dunocrsrhelper.hxx96 void GetCurPageStyle(SwPaM& rPaM, String &rString);
126 void makeRedline( SwPaM& rPaM, const ::rtl::OUString& RedlineType,
153 SwPaM& rPaM,
165 SwPaM& rPaM,
173 SwPaM & rPaM,
182 SwPaM & rPaM,
188 SwPaM & rPaM,
194 SwPaM & rPaM,
204 void SetTxtFmtColl(const ::com::sun::star::uno::Any & rAny, SwPaM & rPaM)
H A DIDocumentMarkAccess.hxx79 virtual ::sw::mark::IMark* makeMark(const SwPaM& rPaM,
83 virtual sw::mark::IFieldmark* makeFieldBookmark( const SwPaM& rPaM,
86 virtual sw::mark::IFieldmark* makeNoTextFieldBookmark( const SwPaM& rPaM,
91 const SwPaM& rPaM,
118 const SwPaM& rPaM) =0;
/aoo41x/main/sw/source/core/undo/
H A Dunoutl.cxx43 SwPaM & rPaM( AddUndoRedoPaM(rContext) ); in UndoImpl() local
44 rContext.GetDoc().OutlineUpDown(rPaM, -nOffset); in UndoImpl()
49 SwPaM & rPaM( AddUndoRedoPaM(rContext) ); in RedoImpl() local
50 rContext.GetDoc().OutlineUpDown(rPaM, nOffset); in RedoImpl()
H A Dundobj.cxx142 SwPaM & rPaM( rContext.GetCursorSupplier().CreateNewShellCursor() ); in AddUndoRedoPaM() local
143 SetPaM( rPaM, bCorrToCntnt ); in AddUndoRedoPaM()
144 return rPaM; in AddUndoRedoPaM()
356 void SwUndoSaveCntnt::MoveToUndoNds( SwPaM& rPaM, SwNodeIndex* pNodeIdx, in MoveToUndoNds() argument
359 SwDoc& rDoc = *rPaM.GetDoc(); in MoveToUndoNds()
362 SwNoTxtNode* pCpyNd = rPaM.GetNode()->GetNoTxtNode(); in MoveToUndoNds()
370 const SwPosition* pStt = rPaM.Start(), *pEnd = rPaM.End(); in MoveToUndoNds()
397 rDoc.GetNodes().MoveRange( rPaM, aPos, rNds ); in MoveToUndoNds()
/aoo41x/main/sw/source/filter/xml/
H A Dxmlexp.cxx85 void SwXMLExport::SetCurPaM( SwPaM& rPaM, sal_Bool bWhole, sal_Bool bTabOnly ) in SetCurPaM() argument
89 pCurPaM = new SwPaM( *rPaM.End(), *rPaM.Start() ); in SetCurPaM()
93 *pCurPaM->GetPoint() = *rPaM.Start(); in SetCurPaM()
94 *pCurPaM->GetMark() = *rPaM.End(); in SetCurPaM()
128 pOrigPaM( &rPaM ), in SwXMLExport()
150 SwPaM& rPaM, in SwXMLExport() argument
157 SW_MOD()->GetMetric( rPaM.GetDoc()->get(IDocumentSettingAccess::HTML_MODE) ) ), in SwXMLExport()
159 pOrigPaM( &rPaM ), in SwXMLExport()

Completed in 180 milliseconds

123