/aoo42x/main/editeng/source/editeng/ |
H A D | eertfpar.cxx | 315 EditPaM aEndPaM( pEndNode, rSet.GetEndCnt() ); in SetAttrInDoc() local 359 EditSelection aSel( aStartPaM, aEndPaM ); in SetAttrInDoc() 366 ContentNode* pEN = aEndPaM.GetNode(); in SetAttrInDoc() 377 …pImpEditEngine->SetStyleSheet( EditSelection( aStartPaM, aEndPaM ), (SfxStyleSheet*)pImpEditEngine… in SetAttrInDoc() 393 if ( aStartPaM.GetNode() != aEndPaM.GetNode() ) in SetAttrInDoc() 402 if ( aEndPaM.GetIndex() == aEndPaM.GetNode()->Len() ) in SetAttrInDoc() 405 …pImpEditEngine->SetAttribs( EditSelection( EditPaM( aEndPaM.GetNode(), 0 ), aEndPaM ), rSet.GetAtt… in SetAttrInDoc() 409 if ( ( aStartPaM.GetIndex() == 0 ) && ( aEndPaM.GetIndex() == aEndPaM.GetNode()->Len() ) ) in SetAttrInDoc() 418 pImpEditEngine->SetAttribs( EditSelection( aStartPaM, aEndPaM ), rSet.GetAttrSet() ); in SetAttrInDoc()
|
H A D | eehtml.cxx | 537 EditPaM aEndPaM( pSel ? pSel->Max() : aCurSel.Max() ); in ImpSetAttribs() local 542 aEndPaM.SetIndex( aEndPaM.GetNode()->Len() ); in ImpSetAttribs() 547 EditSelection aSel( aStartPaM, aEndPaM ); in ImpSetAttribs() 564 ContentNode* pEN = aEndPaM.GetNode(); in ImpSetAttribs() 593 if ( ( aStartPaM.GetIndex() == 0 ) && ( aEndPaM.GetIndex() == aEndPaM.GetNode()->Len() ) ) in ImpSetAttribs() 601 pImpEditEngine->SetAttribs( EditSelection( aStartPaM, aEndPaM ), rItems ); in ImpSetAttribs()
|
H A D | editdoc.hxx | 643 EditPaM aEndPaM; member in EditSelection 651 EditPaM& Max() { return aEndPaM; } in Max() 654 const EditPaM& Max() const { return aEndPaM; } in Max() 656 sal_Bool HasRange() const { return aStartPaM != aEndPaM; } in HasRange() 664 { return ( ( aStartPaM == r.aStartPaM ) && ( aEndPaM == r.aEndPaM ) ) in operator ==()
|
H A D | editdoc.cxx | 597 if ( aEndPaM.DbgIsBuggy( rDoc ) ) in DbgIsBuggy() 612 aEndPaM = rStartAndAnd; in EditSelection() 619 aEndPaM = rEnd; in EditSelection() 625 aEndPaM = rPaM; in operator =() 636 if ( aEndPaM == aEmptyPaM ) in IsInvalid() 645 DBG_ASSERT( aEndPaM.GetIndex() <= aEndPaM.GetNode()->Len(), "Index im Wald in Adjust(2)" ); in Adjust() 648 ContentNode* pEndNode = aEndPaM.GetNode(); in Adjust() 659 else if ( ( nStartNode == nEndNode ) && ( aStartPaM.GetIndex() > aEndPaM.GetIndex() ) ) in Adjust() 665 aStartPaM = aEndPaM; in Adjust() 666 aEndPaM = aTmpPaM; in Adjust()
|
H A D | impedit2.cxx | 2506 EditPaM aEndPaM( aSel.Max() ); in ImpDeleteSelection() local 2512 …DBG_ASSERT( aEndPaM.GetIndex() <= aEndPaM.GetNode()->Len(), "Index im Wald in ImpDeleteSelection" … in ImpDeleteSelection() 2515 sal_uInt32 nEndNode = aEditDoc.GetPos( aEndPaM.GetNode() ); in ImpDeleteSelection() 2527 if ( aStartPaM.GetNode() != aEndPaM.GetNode() ) in ImpDeleteSelection() 2538 nChars = aEndPaM.GetIndex(); in ImpDeleteSelection() 2539 aEndPaM.SetIndex( 0 ); in ImpDeleteSelection() 2540 ImpRemoveChars( aEndPaM, nChars ); in ImpDeleteSelection() 2541 pPortion = FindParaPortion( aEndPaM.GetNode() ); in ImpDeleteSelection() 2550 nChars = aEndPaM.GetIndex() - aStartPaM.GetIndex(); in ImpDeleteSelection() 2554 pPortion->MarkInvalid( aEndPaM.GetIndex(), aStartPaM.GetIndex() - aEndPaM.GetIndex() ); in ImpDeleteSelection() [all …]
|
H A D | impedit.cxx | 1593 EditPaM aEndPaM( aStartPaM ); in dragGestureRecognized() local 1600 aEndPaM.SetNode( pEditEngine->pImpEditEngine->GetEditDoc().GetObject( n ) ); in dragGestureRecognized() 1607 aEndPaM.GetIndex() = aEndPaM.GetNode()->Len(); in dragGestureRecognized() 1608 SetEditSelection( EditSelection( aStartPaM, aEndPaM ) ); in dragGestureRecognized()
|
H A D | editview.cxx | 586 EditPaM aEndPaM = PIMPEE->Read( rInput, rBaseURL, eFormat, aOldSel, pHTTPHeaderAttrs ); in Read() local 588 EditSelection aNewSel( aEndPaM, aEndPaM ); in Read()
|
H A D | editeng.cxx | 1361 EditPaM aEndPaM( pImpEditEngine->GetEditDoc().GetEndPaM() ); in Write() local 1362 pImpEditEngine->Write( rOutput, eFormat, EditSelection( aStartPaM, aEndPaM ) ); in Write()
|
H A D | impedit4.cxx | 2499 EditPaM aEndPaM( pNode, nPaintTo ); in DoOnlineSpelling() local 2501 Rectangle aEndCursor( PaMtoEditCursor( aEndPaM ) ); in DoOnlineSpelling()
|
/aoo42x/main/svtools/source/edit/ |
H A D | textview.cxx | 1546 TextPaM aEndPaM = aStartPaM; in ImpDelete() local 1551 aEndPaM = CursorLeft( aEndPaM, (sal_uInt16)i18n::CharacterIteratorMode::SKIPCHARACTER ); in ImpDelete() 1565 if ( aEndPaM.GetIndex() != 0 ) in ImpDelete() 1566 aEndPaM.GetIndex() = 0; in ImpDelete() 1567 else if ( aEndPaM.GetPara() ) in ImpDelete() 1570 aEndPaM.GetPara()--; in ImpDelete() 1571 aEndPaM.GetIndex() = 0; in ImpDelete() 1579 aEndPaM = CursorRight( aEndPaM, (sal_uInt16)i18n::CharacterIteratorMode::SKIPCELL ); in ImpDelete() 1592 aEndPaM.GetIndex() = pNode->GetText().Len(); in ImpDelete() 1596 aEndPaM.GetPara()++; in ImpDelete() [all …]
|
H A D | texteng.cxx | 625 TextPaM aEndPaM( aSel.GetEnd() ); in ImpDeleteText() local 628 CursorMoved( aEndPaM.GetPara() ); // nur damit neu eingestellte Attribute verschwinden... in ImpDeleteText() 631 DBG_ASSERT( mpDoc->IsValidPaM( aEndPaM ), "Index im Wald in ImpDeleteText" ); in ImpDeleteText() 634 sal_uLong nEndNode = aEndPaM.GetPara(); in ImpDeleteText() 658 nChars = aEndPaM.GetIndex(); in ImpDeleteText() 661 aEndPaM.GetPara() = nEndNode; in ImpDeleteText() 662 aEndPaM.GetIndex() = 0; in ImpDeleteText() 663 ImpRemoveChars( aEndPaM, nChars ); in ImpDeleteText() 675 nChars = aEndPaM.GetIndex() - aStartPaM.GetIndex(); in ImpDeleteText() 679 pPortion->MarkInvalid( aEndPaM.GetIndex(), aStartPaM.GetIndex() - aEndPaM.GetIndex() ); in ImpDeleteText()
|
/aoo42x/main/accessibility/source/extended/ |
H A D | textwindowaccessibility.cxx | 912 TextPaM aEndPaM( rSelection.GetEnd() ); in retrieveParagraphSelection() local 913 TextPaM aMinPaM( ::std::min( aStartPaM, aEndPaM ) ); in retrieveParagraphSelection() 914 TextPaM aMaxPaM( ::std::max( aStartPaM, aEndPaM ) ); in retrieveParagraphSelection() 927 if ( aStartPaM > aEndPaM ) in retrieveParagraphSelection() 943 TextPaM aEndPaM( rSelection.GetEnd() ); in retrieveParagraphCaretPosition() local 945 return aEndPaM.GetPara() == nNumber in retrieveParagraphCaretPosition() 946 ? static_cast< ::sal_Int32 >(aEndPaM.GetIndex()) : -1; in retrieveParagraphCaretPosition() 1498 TextPaM aEndPaM( rSelection.GetEnd() ); in retrieveParagraphLineWithCursor() local 1500 return aEndPaM.GetPara() == nNumber in retrieveParagraphLineWithCursor()
|
/aoo42x/main/sw/source/core/crsr/ |
H A D | bookmrk.cxx | 95 SwPaM aEndPaM(rEnd); in lcl_AssureFieldMarksSet() local 96 io_pDoc->InsertString(aEndPaM, aEndMark); in lcl_AssureFieldMarksSet()
|
/aoo42x/main/sw/source/filter/ww8/ |
H A D | WW8TableInfo.cxx | 745 SwPaM aEndPaM(*pEndNd, 0); in processTableBoxLines() local 754 if (aPaM.GetPoint()->nNode == aEndPaM.GetPoint()->nNode) in processTableBoxLines()
|