| /AOO41X/main/svtools/inc/svtools/ |
| H A D | textview.hxx | 75 TextPaM ImpDelete( sal_Bool bForward, sal_uInt8 nMode ); 77 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 ); 191 TextPaM CursorLeft( const TextPaM& rPaM, sal_uInt16 nCharacterIteratorMode ); 192 TextPaM CursorRight( const TextPaM& rPaM, sal_uInt16 nCharacterIteratorMode ); 193 TextPaM CursorWordLeft( const TextPaM& rPaM ); 194 TextPaM CursorWordRight( const TextPaM& rPaM ); [all …]
|
| H A D | textdata.hxx | 35 class TextPaM class 42 TextPaM() { mnPara = 0, mnIndex = 0; } in TextPaM() function in TextPaM 43 … TextPaM( sal_uLong nPara, sal_uInt16 nIndex ) { mnPara = nPara, mnIndex = nIndex; } in TextPaM() function in TextPaM 51 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; 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 <() [all …]
|
| H A D | texteng.hxx | 30 class TextPaM; 151 TextPaM ImpDeleteText( const TextSelection& rSel ); 152 …TextPaM ImpInsertText( const TextSelection& rSel, sal_Unicode c, sal_Bool bOverwrite =… 153 TextPaM ImpInsertText( const TextSelection& rSel, const String& rText ); 154 …TextPaM ImpInsertParaBreak( const TextSelection& rTextSelection, sal_Bool bKeepEndingA… 155 …TextPaM ImpInsertParaBreak( const TextPaM& rPaM, sal_Bool bKeepEndingAttribs = sal_Tru… 156 …void ImpRemoveChars( const TextPaM& rPaM, sal_uInt16 nChars, SfxUndoAction* pCurUnd… 157 TextPaM ImpConnectParagraphs( sal_uLong nLeft, sal_uLong nRight ); 165 …SAL_DLLPRIVATE TextPaM ImpInsertText( sal_Unicode c, const TextSelection& rSel, sal_Bool bOverwri… 205 …Rectangle GetEditCursor( const TextPaM& rPaM, sal_Bool bSpecial, sal_Bool bPreferPortion… [all …]
|
| H A D | xtextedt.hxx | 48 TextSelection MatchGroup( const TextPaM& rCursor ) const;
|
| /AOO41X/main/svtools/source/edit/ |
| H A D | textview.cxx | 311 TextPaM aPaM = mpImpl->mpTextEngine->ImpDeleteText( mpImpl->maSelection ); in DeleteSelected() 457 …Rectangle aTmpRec( mpImpl->mpTextEngine->GetEditCursor( TextPaM( nPara, nStartIndex ), sal_False )… in ImpHighlight() 462 … aTmpRec = mpImpl->mpTextEngine->GetEditCursor( TextPaM( nPara, nEndIndex ), sal_True ); in ImpHighlight() 699 TextPaM(mpImpl->maSelection.GetStart().GetPara(), in KeyInput() 703 TextPaM(mpImpl->maSelection.GetEnd().GetPara(), in KeyInput() 881 TextPaM(aNewSel.GetStart().GetPara(), in MouseButtonDown() 885 TextPaM(aNewSel.GetEnd().GetPara(), in MouseButtonDown() 984 TextPaM aPaM( mpImpl->mpTextEngine->mpIMEInfos->aPos ); in Command() 996 TextPaM aPaM( mpImpl->mpTextEngine->mpIMEInfos->aPos ); in Command() 1020 …TextSelection aNewSel = TextPaM( mpImpl->mpTextEngine->mpIMEInfos->aPos.GetPara(), mpImpl->mpTextE… in Command() [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 | 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 | texteng.cxx | 501 TextPaM aStartPaM( 0, 0 ); in ImpRemoveText() 519 TextPaM aStartPaM( 0, 0 ); in SetText() 522 TextPaM aPaM = aStartPaM; in SetText() 555 void TextEngine::ImpRemoveChars( const TextPaM& rPaM, sal_uInt16 nChars, SfxUndoAction* ) in ImpRemoveChars() 589 TextPaM TextEngine::ImpConnectParagraphs( sal_uLong nLeft, sal_uLong nRight ) in ImpConnectParagraphs() 605 TextPaM aPaM = mpDoc->ConnectParagraphs( pLeft, pRight ); in ImpConnectParagraphs() 617 TextPaM TextEngine::ImpDeleteText( const TextSelection& rSel ) in ImpDeleteText() 624 TextPaM aStartPaM( aSel.GetStart() ); in ImpDeleteText() 625 TextPaM aEndPaM( aSel.GetEnd() ); in ImpDeleteText() 741 TextPaM TextEngine::ImpInsertText( const TextSelection& rCurSel, sal_Unicode c, sal_Bool bOverwrite… in ImpInsertText() [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 …_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;
|
| /AOO41X/main/cui/source/dialogs/ |
| H A D | SpellDialog.cxx | 1419 TextPaM aCursor(rCurrentSelection.GetStart()); in PreNotify() 1573 TextPaM aStart(0, pCharAttr->GetStart()); in PreNotify() 1574 TextPaM aEnd(0, pCharAttr->GetEnd()); in PreNotify() 1641 … pErrorAttrib = pTextEngine->FindCharAttrib( TextPaM(0, m_nErrorStart), TEXTATTR_SPELL_ERROR ); in PreNotify() 1684 TextPaM aCursor(0, m_nErrorEnd ? m_nErrorEnd + 1 : 0); in MarkNextError() 1735 pTextEngine->FindAttrib( TextPaM(0, nOldErrorStart), TEXTATTR_SPELL_ERROR )); in MarkNextError() 1774 TextSelection aSel(TextPaM(0, m_nErrorStart), TextPaM(0, m_nErrorEnd)); in ChangeMarkedWord() 1778 …const TextCharAttrib* pErrorAttrib = pTextEngine->FindCharAttrib( TextPaM(0, m_nErrorStart), TEXT… in ChangeMarkedWord() 1787 …const TextCharAttrib* pBackAttrib = pTextEngine->FindCharAttrib( TextPaM(0, m_nErrorStart), TEXTA… in ChangeMarkedWord() 1797 TextPaM(0, m_nErrorEnd), TEXTATTR_SPELL_LANGUAGE ); in ChangeMarkedWord() [all …]
|
| /AOO41X/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() 914 TextPaM aMaxPaM( ::std::max( aStartPaM, aEndPaM ) ); in retrieveParagraphSelection() 943 TextPaM aEndPaM( rSelection.GetEnd() ); in retrieveParagraphCaretPosition() 969 m_rEngine.PaMtoEditCursor(::TextPaM(nNumber, in retrieveCharacterBounds() 975 m_rEngine.PaMtoEditCursor(::TextPaM(nNumber, in retrieveCharacterBounds() 979 m_rEngine.PaMtoEditCursor(::TextPaM(nNumber, in retrieveCharacterBounds() 1009 ::TextPaM aPaM(m_rEngine.GetPaM(::Point(static_cast< long >(rPoint.X), in retrieveCharacterIndex() 1222 ::TextPaM aPaM( nNumber, static_cast< ::sal_uInt16 >( Index ) ); in retrieveRunAttributesImpl() [all …]
|
| /AOO41X/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() 1622 pAttrib = pTextEngine->FindCharAttrib(TextPaM(nPara, nIndex),TEXTATTR_PROTECTED); in InsertNewEntry() 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() [all …]
|
| /AOO41X/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()
|
| /AOO41X/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()
|
| /AOO41X/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()
|
| /AOO41X/main/accessibility/inc/accessibility/extended/ |
| H A D | textwindowaccessibility.hxx | 652 void justifySelection( TextPaM& rTextStart, TextPaM& rTextEnd );
|
| /AOO41X/main/sw/source/ui/docvw/ |
| H A D | srcedtw.cxx | 334 TextSelection aSel(TextPaM( nStartLine, 0 ), TextPaM( nStartLine, 0x0 )); in Resize()
|