/aoo4110/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 | 644 EditPaM aEndPaM; member in EditSelection 652 EditPaM& Max() { return aEndPaM; } in Max() 655 const EditPaM& Max() const { return aEndPaM; } in Max() 657 sal_Bool HasRange() const { return aStartPaM != aEndPaM; } in HasRange() 665 { return ( ( aStartPaM == r.aStartPaM ) && ( aEndPaM == r.aEndPaM ) ) in operator ==()
|
H A D | editdoc.cxx | 599 if ( aEndPaM.DbgIsBuggy( rDoc ) ) in DbgIsBuggy() 614 aEndPaM = rStartAndAnd; in EditSelection() 621 aEndPaM = rEnd; in EditSelection() 627 aEndPaM = rPaM; in operator =() 638 if ( aEndPaM == aEmptyPaM ) in IsInvalid() 647 DBG_ASSERT( aEndPaM.GetIndex() <= aEndPaM.GetNode()->Len(), "Index im Wald in Adjust(2)" ); in Adjust() 650 ContentNode* pEndNode = aEndPaM.GetNode(); in Adjust() 661 else if ( ( nStartNode == nEndNode ) && ( aStartPaM.GetIndex() > aEndPaM.GetIndex() ) ) in Adjust() 667 aStartPaM = aEndPaM; in Adjust() 668 aEndPaM = aTmpPaM; in Adjust()
|
H A D | impedit2.cxx | 2503 EditPaM aEndPaM( aSel.Max() ); in ImpDeleteSelection() local 2509 …DBG_ASSERT( aEndPaM.GetIndex() <= aEndPaM.GetNode()->Len(), "Index im Wald in ImpDeleteSelection" … in ImpDeleteSelection() 2512 sal_uInt16 nEndNode = aEditDoc.GetPos( aEndPaM.GetNode() ); in ImpDeleteSelection() 2524 if ( aStartPaM.GetNode() != aEndPaM.GetNode() ) in ImpDeleteSelection() 2535 nChars = aEndPaM.GetIndex(); in ImpDeleteSelection() 2536 aEndPaM.SetIndex( 0 ); in ImpDeleteSelection() 2537 ImpRemoveChars( aEndPaM, nChars ); in ImpDeleteSelection() 2538 pPortion = FindParaPortion( aEndPaM.GetNode() ); in ImpDeleteSelection() 2547 nChars = aEndPaM.GetIndex() - aStartPaM.GetIndex(); in ImpDeleteSelection() 2551 pPortion->MarkInvalid( aEndPaM.GetIndex(), aStartPaM.GetIndex() - aEndPaM.GetIndex() ); in ImpDeleteSelection() [all …]
|
H A D | impedit.cxx | 1592 EditPaM aEndPaM( aStartPaM ); in dragGestureRecognized() local 1599 aEndPaM.SetNode( pEditEngine->pImpEditEngine->GetEditDoc().GetObject( n ) ); in dragGestureRecognized() 1606 aEndPaM.GetIndex() = aEndPaM.GetNode()->Len(); in dragGestureRecognized() 1607 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()
|
/aoo4110/main/svtools/source/edit/ |
H A D | textview.cxx | 1542 TextPaM aEndPaM = aStartPaM; in ImpDelete() local 1547 aEndPaM = CursorLeft( aEndPaM, (sal_uInt16)i18n::CharacterIteratorMode::SKIPCHARACTER ); in ImpDelete() 1561 if ( aEndPaM.GetIndex() != 0 ) in ImpDelete() 1562 aEndPaM.GetIndex() = 0; in ImpDelete() 1563 else if ( aEndPaM.GetPara() ) in ImpDelete() 1566 aEndPaM.GetPara()--; in ImpDelete() 1567 aEndPaM.GetIndex() = 0; in ImpDelete() 1575 aEndPaM = CursorRight( aEndPaM, (sal_uInt16)i18n::CharacterIteratorMode::SKIPCELL ); in ImpDelete() 1588 aEndPaM.GetIndex() = pNode->GetText().Len(); in ImpDelete() 1592 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()
|
/aoo4110/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()
|
/aoo4110/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()
|
/aoo4110/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()
|