Lines Matching refs:aEndIndex

476     SvxAccessibleTextIndex aEndIndex;  in GetText()  local
479 aEndIndex.SetIndex( rSel.nEndPara, rSel.nEndPos, *this ); in GetText()
485 ::std::swap( aStartIndex, aEndIndex ); in GetText()
488 String sStr = mrTextForwarder->GetText( MakeEESelection(aStartIndex, aEndIndex) ); in GetText()
499 if( aEndIndex.InField() && aEndIndex.GetFieldOffset() ) in GetText()
501 DBG_ASSERT(sStr.Len() - (aEndIndex.GetFieldLen() - aEndIndex.GetFieldOffset()) >= 0 && in GetText()
502 sStr.Len() - (aEndIndex.GetFieldLen() - aEndIndex.GetFieldOffset()) <= USHRT_MAX, in GetText()
505 …tr = sStr.Copy(0, static_cast< sal_uInt16 > (sStr.Len() - (aEndIndex.GetFieldLen() - aEndIndex.Get… in GetText()
509 EBulletInfo aBulletInfo2 = GetBulletInfo( static_cast< sal_uInt16 >(aEndIndex.GetParagraph()) ); in GetText()
511 if( aEndIndex.InBullet() ) in GetText()
516 DBG_ASSERT(sStr.Len() - (aEndIndex.GetBulletLen() - aEndIndex.GetBulletOffset()) >= 0 && in GetText()
517 … sStr.Len() - (aEndIndex.GetBulletLen() - aEndIndex.GetBulletOffset()) <= USHRT_MAX, in GetText()
520 …r = sStr.Copy(0, static_cast< sal_uInt16 > (sStr.Len() - (aEndIndex.GetBulletLen() - aEndIndex.Get… in GetText()
522 else if( aStartIndex.GetParagraph() != aEndIndex.GetParagraph() && in GetText()
523 HaveTextBullet( aEndIndex.GetParagraph() ) ) in GetText()
527 DBG_ASSERT(sBullet.Len() - (aEndIndex.GetBulletLen() - aEndIndex.GetBulletOffset()) >= 0 && in GetText()
528 … sBullet.Len() - (aEndIndex.GetBulletLen() - aEndIndex.GetBulletOffset()) <= USHRT_MAX, in GetText()
531 …ullet.Copy(0, static_cast< sal_uInt16 > (sBullet.Len() - (aEndIndex.GetBulletLen() - aEndIndex.Get… in GetText()
546 SvxAccessibleTextIndex aEndIndex; in GetAttribs() local
549 aEndIndex.SetIndex( rSel.nEndPara, rSel.nEndPos, *this ); in GetAttribs()
551 return mrTextForwarder->GetAttribs( MakeEESelection(aStartIndex, aEndIndex), in GetAttribs()
586 SvxAccessibleTextIndex aEndIndex; in GetItemState() local
589 aEndIndex.SetIndex( rSel.nEndPara, rSel.nEndPos, *this ); in GetItemState()
591 return mrTextForwarder->GetItemState( MakeEESelection(aStartIndex, aEndIndex), in GetItemState()
607 SvxAccessibleTextIndex aEndIndex; in QuickInsertText() local
610 aEndIndex.SetIndex( rSel.nEndPara, rSel.nEndPos, *this ); in QuickInsertText()
613 MakeEESelection(aStartIndex, aEndIndex) ); in QuickInsertText()
621 SvxAccessibleTextIndex aEndIndex; in QuickInsertField() local
624 aEndIndex.SetIndex( rSel.nEndPara, rSel.nEndPos, *this ); in QuickInsertField()
627 MakeEESelection(aStartIndex, aEndIndex) ); in QuickInsertField()
635 SvxAccessibleTextIndex aEndIndex; in QuickSetAttribs() local
638 aEndIndex.SetIndex( rSel.nEndPara, rSel.nEndPos, *this ); in QuickSetAttribs()
641 MakeEESelection(aStartIndex, aEndIndex) ); in QuickSetAttribs()
649 SvxAccessibleTextIndex aEndIndex; in QuickInsertLineBreak() local
652 aEndIndex.SetIndex( rSel.nEndPara, rSel.nEndPos, *this ); in QuickInsertLineBreak()
654 mrTextForwarder->QuickInsertLineBreak( MakeEESelection(aStartIndex, aEndIndex) ); in QuickInsertLineBreak()
1035 SvxAccessibleTextIndex aEndIndex; in GetLineLen() local
1045 aEndIndex.SetEEIndex( nPara, nCurrIndex, *this ); in GetLineLen()
1050 return static_cast< sal_uInt16 >(aEndIndex.GetIndex() - aStartIndex.GetIndex()); in GetLineLen()
1053 return static_cast< sal_uInt16 >(aEndIndex.GetIndex()); in GetLineLen()
1071 SvxAccessibleTextIndex aEndIndex; in Delete() local
1074 aEndIndex.SetIndex( rSel.nEndPara, rSel.nEndPos, *this ); in Delete()
1076 return mrTextForwarder->Delete( MakeEESelection(aStartIndex, aEndIndex ) ); in Delete()
1084 SvxAccessibleTextIndex aEndIndex; in InsertText() local
1087 aEndIndex.SetIndex( rSel.nEndPara, rSel.nEndPos, *this ); in InsertText()
1089 return mrTextForwarder->InsertText( rStr, MakeEESelection(aStartIndex, aEndIndex) ); in InsertText()
1159 SvxAccessibleTextIndex aEndIndex; in IsEditable() local
1162 aEndIndex.SetIndex( rSel.nEndPara, rSel.nEndPos, *this ); in IsEditable()
1168 ::std::swap( aStartIndex, aEndIndex ); in IsEditable()
1171 return aStartIndex.IsEditableRange( aEndIndex ); in IsEditable()
1248 SvxAccessibleTextIndex aEndIndex; in GetSelection() local
1251 aEndIndex.SetEEIndex( aSelection.nEndPara, aSelection.nEndPos, *mrTextForwarder ); in GetSelection()
1254 aEndIndex.GetIndex() >= 0 && aEndIndex.GetIndex() <= USHRT_MAX, in GetSelection()
1258 aEndIndex.GetParagraph(), static_cast< sal_uInt16 > (aEndIndex.GetIndex()) ); in GetSelection()
1268 SvxAccessibleTextIndex aEndIndex; in SetSelection() local
1271 aEndIndex.SetIndex( rSel.nEndPara, rSel.nEndPos, *mrTextForwarder ); in SetSelection()
1273 return mrViewForwarder->SetSelection( MakeEESelection(aStartIndex, aEndIndex) ); in SetSelection()