/trunk/main/svtools/inc/svtools/ |
H A D | textview.hxx | 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 ); 198 TextPaM CursorEndOfParagraph( const TextPaM& rPaM ); [all …]
|
H A D | textdata.hxx | 35 class TextPaM class 57 inline sal_Bool TextPaM::operator == ( const TextPaM& rPaM ) const in operator ==() 62 inline sal_Bool TextPaM::operator != ( const TextPaM& rPaM ) const in operator !=() 67 inline sal_Bool TextPaM::operator < ( const TextPaM& rPaM ) const in operator <() 73 inline sal_Bool TextPaM::operator > ( const TextPaM& rPaM ) const in operator >() 82 TextPaM maStartPaM; 83 TextPaM maEndPaM; 87 TextSelection( const TextPaM& rPaM ); 88 TextSelection( const TextPaM& rStart, const TextPaM& rEnd ); 94 TextPaM& GetEnd() { return maEndPaM; } in GetEnd() [all …]
|
H A D | texteng.hxx | 30 class TextPaM; 151 TextPaM ImpDeleteText( const TextSelection& rSel ); 153 TextPaM ImpInsertText( const TextSelection& rSel, const String& rText ); 155 TextPaM ImpInsertParaBreak( const TextPaM& rPaM, sal_Bool bKeepEndingAttribs = sal_True ); 157 TextPaM ImpConnectParagraphs( sal_uLong nLeft, sal_uLong nRight ); 222 TextPaM SplitContent( sal_uLong nNode, sal_uInt16 nSepPos ); 223 TextPaM ConnectContents( sal_uLong nLeftNode ); 227 void ValidatePaM( TextPaM& rPaM ) const; 302 TextPaM GetPaM( const Point& rDocPos, sal_Bool bSmart = sal_True ); 304 String GetWord( const TextPaM& rCursorPos, TextPaM* pStartOfWord = 0 ); [all …]
|
H A D | xtextedt.hxx | 48 TextSelection MatchGroup( const TextPaM& rCursor ) const;
|
/trunk/main/svtools/source/edit/ |
H A D | textview.cxx | 1441 TextPaM TextView::CursorLeft( const TextPaM& rPaM, sal_Bool bWordMode ) in CursorLeft() 1497 TextPaM TextView::CursorWordLeft( const TextPaM& rPaM ) in CursorWordLeft() 1520 TextPaM TextView::CursorWordRight( const TextPaM& rPaM ) in CursorWordRight() 1608 TextPaM TextView::CursorUp( const TextPaM& rPaM ) in CursorUp() 1646 TextPaM TextView::CursorDown( const TextPaM& rPaM ) in CursorDown() 1685 TextPaM TextView::CursorStartOfLine( const TextPaM& rPaM ) in CursorStartOfLine() 1697 TextPaM TextView::CursorEndOfLine( const TextPaM& rPaM ) in CursorEndOfLine() 1720 TextPaM TextView::CursorStartOfParagraph( const TextPaM& rPaM ) in CursorStartOfParagraph() 1727 TextPaM TextView::CursorEndOfParagraph( const TextPaM& rPaM ) in CursorEndOfParagraph() 1749 TextPaM TextView::PageUp( const TextPaM& rPaM ) in PageUp() [all …]
|
H A D | textundo.cxx | 152 TextSelection aSel( TextPaM( mnPara, 0 ), TextPaM( mnPara, mpNode->GetText().Len() ) ); in Undo() 175 TextPaM aPaM( n, pN->GetText().Len() ); in Redo() 195 TextPaM aPaM = GetTextEngine()->SplitContent( mnPara, mnSepPos ); in Undo() 201 TextPaM aPaM = GetTextEngine()->ConnectContents( mnPara ); in Redo() 219 TextPaM aPaM = GetTextEngine()->ConnectContents( mnPara ); in Undo() 225 TextPaM aPaM = GetTextEngine()->SplitContent( mnPara, mnSepPos ); in Redo() 230 TextUndoInsertChars::TextUndoInsertChars( TextEngine* pTextEngine, const TextPaM& rTextPaM, const X… in TextUndoInsertChars() 240 TextPaM aPaM = GetTextEngine()->ImpDeleteText( aSel ); in Undo() 248 TextPaM aNewPaM( maTextPaM ); in Redo() 272 TextUndoRemoveChars::TextUndoRemoveChars( TextEngine* pTextEngine, const TextPaM& rTextPaM, const X… in TextUndoRemoveChars() [all …]
|
H A D | textdoc.hxx | 121 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 ); 126 TextPaM ConnectParagraphs( TextNode* pLeft, TextNode* pRight ); 141 sal_Bool IsValidPaM( const TextPaM& rPaM );
|
H A D | texteng.cxx | 501 TextPaM aStartPaM( 0, 0 ); in ImpRemoveText() 519 TextPaM aStartPaM( 0, 0 ); in SetText() 522 TextPaM aPaM = aStartPaM; in SetText() 857 TextPaM aPaM; in ImpInsertText() 915 TextPaM aPaM; in ImpInsertParaBreak() 924 TextPaM TextEngine::ImpInsertParaBreak( const TextPaM& rPaM, sal_Bool bKeepEndingAttribs ) in ImpInsertParaBreak() 1161 TextPaM aPaM( nPortion, 0 ); in GetPaM() 1482 TextPaM aPaM( nNode, nSepPos ); in SplitContent() 2074 TextPaM const* pSelStart = 0; in ImpPaint() 2075 TextPaM const* pSelEnd = 0; in ImpPaint() [all …]
|
H A D | textdoc.cxx | 610 TextPaM TextDoc::InsertText( const TextPaM& rPaM, xub_Unicode c ) in InsertText() 618 TextPaM aPaM( rPaM.GetPara(), rPaM.GetIndex()+1 ); in InsertText() 622 TextPaM TextDoc::InsertText( const TextPaM& rPaM, const XubString& rStr ) in InsertText() 630 TextPaM aPaM( rPaM.GetPara(), rPaM.GetIndex()+rStr.Len() ); in InsertText() 634 TextPaM TextDoc::InsertParaBreak( const TextPaM& rPaM, sal_Bool bKeepEndingAttribs ) in InsertParaBreak() 641 TextPaM aPaM( rPaM.GetPara()+1, 0 ); in InsertParaBreak() 645 TextPaM TextDoc::ConnectParagraphs( TextNode* pLeft, TextNode* pRight ) in ConnectParagraphs() 656 TextPaM aPaM( nLeft, nPrevLen ); in ConnectParagraphs() 660 TextPaM TextDoc::RemoveChars( const TextPaM& rPaM, sal_uInt16 nChars ) in RemoveChars() 668 sal_Bool TextDoc::IsValidPaM( const TextPaM& rPaM ) in IsValidPaM()
|
H A D | xtextedt.cxx | 48 TextSelection ExtTextEngine::MatchGroup( const TextPaM& rCursor ) const in MatchGroup() 92 aSel.GetEnd() = TextPaM( nPara, nCur+1 ); in MatchGroup() 139 aSel.GetEnd() = TextPaM( nPara, nCur ); in MatchGroup() 154 TextPaM aStartPaM( aSel.GetEnd() ); in Search() 331 TextPaM aNewStart = pTextEngine->ImpInsertText( aSel, rSearchOptions.replaceString ); in Replace() 368 GetTextEngine()->ImpInsertText( TextPaM( nPara, 0 ), '\t' ); in ImpIndentBlock() 379 GetTextEngine()->ImpDeleteText( TextSelection( TextPaM( nPara, 0 ), TextPaM( nPara, 1 ) ) ); in ImpIndentBlock()
|
H A D | textund2.hxx | 81 TextPaM maTextPaM; 86 TextUndoInsertChars( TextEngine* pTextEngine, const TextPaM& rTextPaM, const String& rStr ); 101 TextPaM maTextPaM; 106 TextUndoRemoveChars( TextEngine* pTextEngine, const TextPaM& rTextPaM, const String& rStr );
|
H A D | textdata.cxx | 44 TextSelection::TextSelection( const TextPaM& rPaM ) : in TextSelection() 49 TextSelection::TextSelection( const TextPaM& rStart, const TextPaM& rEnd ) : in TextSelection() 58 TextPaM aTemp( maStartPaM ); in Justify() 327 TEIMEInfos::TEIMEInfos( const TextPaM& rPos, const String& rOldTextAfterStartPos ) in TEIMEInfos()
|
H A D | svmedit.cxx | 630 aTextSel.GetStart() = TextPaM( nPara, nChar ); in SetSelection() 632 aTextSel.GetEnd() = TextPaM( nPara, nChar ); in SetSelection() 810 mpExtTextView->SetSelection( TextSelection( TextPaM( 0, 0 ), TextPaM( 0xFFFF, 0xFFFF ) ) ); in KeyInput() 919 …ENU_EDIT_SELECTALL: mpExtTextView->SetSelection( TextSelection( TextPaM( 0, 0 ), TextPaM( 0xFFFFFF… in Command() 959 … mpExtTextView->SetSelection( TextSelection( TextPaM( 0, 0 ), TextPaM( 0xFFFF, 0xFFFF ) ) ); in GetFocus() 1549 SetSelection( TextSelection( TextPaM( 0, 0 ) ) ); in PreNotify() 1556 SetSelection( TextSelection( TextPaM( 0xFFFF, 0xFFFF ) ) ); in PreNotify()
|
H A D | textdat2.hxx | 289 TextPaM maDropPos;
|
/trunk/main/cui/source/dialogs/ |
H A D | SpellDialog.cxx | 1419 TextPaM aCursor(rCurrentSelection.GetStart()); in PreNotify() 1574 TextPaM aEnd(0, pCharAttr->GetEnd()); in PreNotify() 1684 TextPaM aCursor(0, m_nErrorEnd ? m_nErrorEnd + 1 : 0); in MarkNextError() 1774 TextSelection aSel(TextPaM(0, m_nErrorStart), TextPaM(0, m_nErrorEnd)); in ChangeMarkedWord() 1837 …return GetTextEngine()->GetText(TextSelection(TextPaM(0, m_nErrorStart), TextPaM(0, m_nErrorEnd) )… in GetErrorText() 1844 TextPaM aCursor(0, m_nErrorStart); in GetAlternatives() 1854 TextPaM aCursor(0, m_nErrorStart); in RestoreCurrentError() 1869 TextPaM aCursor(0, m_nErrorStart); in SetAlternatives() 1956 TextPaM aCursor(0, 0); in CreateSpellPortions() 1989 TextSelection(TextPaM(0, 0), TextPaM(0, nTextLen))); in CreateSpellPortions() [all …]
|
/trunk/main/accessibility/source/extended/ |
H A D | textwindowaccessibility.cxx | 911 TextPaM aStartPaM( rSelection.GetStart() ); in retrieveParagraphSelection() 912 TextPaM aEndPaM( rSelection.GetEnd() ); in retrieveParagraphSelection() 913 TextPaM aMinPaM( ::std::min( aStartPaM, aEndPaM ) ); in retrieveParagraphSelection() 943 TextPaM aEndPaM( rSelection.GetEnd() ); in retrieveParagraphCaretPosition() 1498 TextPaM aEndPaM( rSelection.GetEnd() ); in retrieveParagraphLineWithCursor() 2180 TextPaM Ns(Nsp, sal_uInt16(Nsl)); in getSelectionType() 2181 TextPaM Ne(Nep, sal_uInt16(Nel)); in getSelectionType() 2182 TextPaM Os(Osp, sal_uInt16(Osl)); in getSelectionType() 2183 TextPaM Oe(Oep, sal_uInt16(Oel)); in getSelectionType() 2554 void Document::justifySelection( TextPaM& rTextStart, TextPaM& rTextEnd ) in justifySelection() [all …]
|
/trunk/main/sw/source/ui/dbui/ |
H A D | mmaddressblockpage.cxx | 1576 TextPaM aPaM(nPara, sPara.Len()); in SetText() 1598 TextPaM aPaM(nParaCount ? nParaCount - 1 : 0, nLastLen); in SetText() 1623 TextSelection aEntrySel(TextPaM(nPara, nIndex), TextPaM(nPara, pAttrib->GetEnd())); in InsertNewEntry() 1632 TextPaM aInsertPos( nPara, nIndex ); in InsertNewEntryAtPosition() 1659 …TextSelection aEntrySel(TextPaM( nPara, pBeginAttrib->GetStart()), TextPaM(nPara, pBeginAttrib->Ge… in RemoveCurrentEntry() 1682 …TextSelection aEntrySel(TextPaM( nPara, pBeginAttrib->GetStart()), TextPaM(nPara, pBeginAttrib->Ge… in MoveCurrentItem() 1727 TextPaM aTemp(nPara - 1, pTextEngine->GetTextLen( nPara - 1 )); in MoveCurrentItem() 1734 pAttrib = pTextEngine->FindCharAttrib(TextPaM(nPara, nIndex),TEXTATTR_PROTECTED); in MoveCurrentItem() 1735 aEntrySel = TextSelection(TextPaM(nPara, nIndex), TextPaM(nPara, pAttrib->GetEnd())); in MoveCurrentItem() 1793 …TextSelection aEntrySel(TextPaM( nPara, pBeginAttrib->GetStart()), TextPaM(nPara, pBeginAttrib->Ge… in GetCurrentItem() [all …]
|
/trunk/main/basctl/source/basicide/ |
H A D | baside2.cxx | 713 …GetEditView()->SetSelection( TextSelection( TextPaM( nErrorLine, nErrCol1 ), TextPaM( nErrorLine, … in IMPL_LINK() 775 GetEditView()->SetSelection( TextSelection( TextPaM( nErrorLine, 0 ), TextPaM( nErrorLine, 0 ) ) ); in BasicBreakHdl() 809 TextPaM aWordStart; in BasicAddWatch() 871 TextSelection aSel( TextPaM( nStart, 0 ), TextPaM( nStart, 0 ) ); in EditMacro() 1137 TextSelection aSel( TextPaM( 0, 0 ), TextPaM( TEXT_PARA_ALL, 0xFFFF ) ); in ExecuteCommand() 1319 …pView->SetSelection( TextSelection( TextPaM( 0xFFFFFFFF, 0xFFFF ), TextPaM( 0xFFFFFFFF, 0xFFFF ) )… in StartSearchAndReplace()
|
H A D | baside2b.cxx | 209 const TextPaM& rSelStart = rSelection.GetStart(); in GetWordAtCursor() 210 const TextPaM& rSelEnd = rSelection.GetEnd(); in GetWordAtCursor() 268 TextPaM aCursor = GetEditView()->GetTextEngine()->GetPaM( aDocPos, sal_False ); in RequestHelp() 269 TextPaM aStartOfWord; in RequestHelp()
|
H A D | basides1.cxx | 751 TextSelection aSel( TextPaM( nLine, nCol1 ), TextPaM( nLine, nCol2 ) ); in ExecuteGlobal()
|
/trunk/main/sw/source/ui/uiview/ |
H A D | srcview.cxx | 467 pTextView->SetSelection( TextSelection( TextPaM( 0, 0 ), TextPaM( 0xFFFFFFFF, 0xFFFF ) ) ); in Execute() 644 TextPaM aPaM; in StartSearchAndReplace() 650 aPaM = TextPaM( (sal_uLong)-1, (sal_uInt16)-1 ); in StartSearchAndReplace()
|
/trunk/main/filter/source/xsltdialog/ |
H A D | xmlfileview.cxx | 234 TextSelection aSel(TextPaM( nStartLine, 0 ), TextPaM( nStartLine, 0x0 )); in Resize() 491 TextPaM aPaM( pTextView->CursorStartOfDoc() ); in ShowWindow() 501 TextPaM aPaM( pTextView->CursorStartOfDoc() ); in showLine()
|
/trunk/main/accessibility/inc/accessibility/extended/ |
H A D | textwindowaccessibility.hxx | 652 void justifySelection( TextPaM& rTextStart, TextPaM& rTextEnd );
|
/trunk/main/sw/source/ui/docvw/ |
H A D | srcedtw.cxx | 334 TextSelection aSel(TextPaM( nStartLine, 0 ), TextPaM( nStartLine, 0x0 )); in Resize()
|