Lines Matching refs:aIndex
465 SvxAccessibleTextIndex aIndex; in GetTextLen() local
466 aIndex.SetEEIndex( nParagraph, mrTextForwarder->GetTextLen( nParagraph ), *this ); in GetTextLen()
468 return static_cast< sal_uInt16 >(aIndex.GetIndex()); in GetTextLen()
682 SvxAccessibleTextIndex aIndex; in CalcLogicalIndex() local
683 aIndex.SetEEIndex(nPara, nEEIndex, *mrTextForwarder); in CalcLogicalIndex()
684 return aIndex.GetIndex(); in CalcLogicalIndex()
691 SvxAccessibleTextIndex aIndex; in CalcEditEngineIndex() local
692 aIndex.SetIndex(nPara, nLogicalIndex, *mrTextForwarder); in CalcEditEngineIndex()
693 return aIndex.GetEEIndex(); in CalcEditEngineIndex()
712 SvxAccessibleTextIndex aIndex; in GetLanguage() local
714 aIndex.SetIndex( nPara, nPos, *this ); in GetLanguage()
716 return mrTextForwarder->GetLanguage( nPara, aIndex.GetEEIndex() ); in GetLanguage()
751 SvxAccessibleTextIndex aIndex; in GetCharBounds() local
752 aIndex.SetIndex( nPara, nIndex, *this ); in GetCharBounds()
756 …Rectangle aRect = mrTextForwarder->GetCharBounds( nPara, static_cast< sal_uInt16 >( aIndex.GetEEIn… in GetCharBounds()
758 if( aIndex.InBullet() ) in GetCharBounds()
772 if( aStringWrap.GetCharacterBounds( aIndex.GetBulletOffset(), aRect ) ) in GetCharBounds()
779 if( aIndex.InField() ) in GetCharBounds()
787 ESelection aSel = MakeEESelection( aIndex ); in GetCharBounds()
794 …rtRect = mrTextForwarder->GetCharBounds( nPara, static_cast< sal_uInt16 >( aIndex.GetEEIndex() ) ); in GetCharBounds()
796 if( !aStringWrap.GetCharacterBounds( aIndex.GetFieldOffset(), aRect ) ) in GetCharBounds()
849 SvxAccessibleTextIndex aIndex; in GetIndexAtPoint() local
850 aIndex.SetEEIndex(nPara, nIndex, *this); in GetIndexAtPoint()
852 DBG_ASSERT(aIndex.GetIndex() >= 0 && aIndex.GetIndex() <= USHRT_MAX, in GetIndexAtPoint()
855 nIndex = static_cast< sal_uInt16 > (aIndex.GetIndex()); in GetIndexAtPoint()
887 if( aIndex.InField() ) in GetIndexAtPoint()
896 ESelection aSelection = MakeEESelection( aIndex ); in GetIndexAtPoint()
902 Rectangle aRect = mrTextForwarder->GetCharBounds( nPara, aIndex.GetEEIndex() ); in GetIndexAtPoint()
906 DBG_ASSERT(aIndex.GetIndex() + aStringWrap.GetIndexAtPoint( rPoint ) >= 0 && in GetIndexAtPoint()
907 aIndex.GetIndex() + aStringWrap.GetIndexAtPoint( rPoint ) <= USHRT_MAX, in GetIndexAtPoint()
910 … nIndex = static_cast< sal_uInt16 >(aIndex.GetIndex() + aStringWrap.GetIndexAtPoint( aPoint )); in GetIndexAtPoint()
921 SvxAccessibleTextIndex aIndex; in GetWordIndices() local
922 aIndex.SetIndex(nPara, nIndex, *this); in GetWordIndices()
923 nIndex = aIndex.GetEEIndex(); in GetWordIndices()
925 if( aIndex.InBullet() ) in GetWordIndices()
927 DBG_ASSERT(aIndex.GetBulletLen() >= 0 && in GetWordIndices()
928 aIndex.GetBulletLen() <= USHRT_MAX, in GetWordIndices()
933 nEnd = static_cast< sal_uInt16 > (aIndex.GetBulletLen()); in GetWordIndices()
938 if( aIndex.InField() ) in GetWordIndices()
940 DBG_ASSERT(aIndex.GetIndex() - aIndex.GetFieldOffset() >= 0 && in GetWordIndices()
941 aIndex.GetIndex() - aIndex.GetFieldOffset() <= USHRT_MAX && in GetWordIndices()
942 nStart + aIndex.GetFieldLen() >= 0 && in GetWordIndices()
943 nStart + aIndex.GetFieldLen() <= USHRT_MAX, in GetWordIndices()
948 nStart = static_cast< sal_uInt16 > (aIndex.GetIndex() - aIndex.GetFieldOffset()); in GetWordIndices()
949 nEnd = static_cast< sal_uInt16 > (nStart + aIndex.GetFieldLen()); in GetWordIndices()
957 aIndex.SetEEIndex( nPara, nStart, *this ); in GetWordIndices()
958 DBG_ASSERT(aIndex.GetIndex() >= 0 && in GetWordIndices()
959 aIndex.GetIndex() <= USHRT_MAX, in GetWordIndices()
961 nStart = static_cast< sal_uInt16 > (aIndex.GetIndex()); in GetWordIndices()
963 aIndex.SetEEIndex( nPara, nEnd, *this ); in GetWordIndices()
964 DBG_ASSERT(aIndex.GetIndex() >= 0 && in GetWordIndices()
965 aIndex.GetIndex() <= USHRT_MAX, in GetWordIndices()
967 nEnd = static_cast< sal_uInt16 > (aIndex.GetIndex()); in GetWordIndices()
975 SvxAccessibleTextIndex aIndex; in GetAttributeRun() local
976 aIndex.SetIndex(nPara, nIndex, *this); in GetAttributeRun()
977 nIndex = aIndex.GetEEIndex(); in GetAttributeRun()
979 if( aIndex.InBullet() ) in GetAttributeRun()
981 DBG_ASSERT(aIndex.GetBulletLen() >= 0 && in GetAttributeRun()
982 aIndex.GetBulletLen() <= USHRT_MAX, in GetAttributeRun()
987 nEndIndex = static_cast< sal_uInt16 > (aIndex.GetBulletLen()); in GetAttributeRun()
992 if( aIndex.InField() ) in GetAttributeRun()
994 DBG_ASSERT(aIndex.GetIndex() - aIndex.GetFieldOffset() >= 0 && in GetAttributeRun()
995 aIndex.GetIndex() - aIndex.GetFieldOffset() <= USHRT_MAX, in GetAttributeRun()
999 nStartIndex = static_cast< sal_uInt16 > (aIndex.GetIndex() - aIndex.GetFieldOffset()); in GetAttributeRun()
1000 nEndIndex = static_cast< sal_uInt16 > (nStartIndex + aIndex.GetFieldLen()); in GetAttributeRun()
1008 aIndex.SetEEIndex( nPara, nStartIndex, *this ); in GetAttributeRun()
1009 DBG_ASSERT(aIndex.GetIndex() >= 0 && in GetAttributeRun()
1010 aIndex.GetIndex() <= USHRT_MAX, in GetAttributeRun()
1012 nStartIndex = static_cast< sal_uInt16 > (aIndex.GetIndex()); in GetAttributeRun()
1014 aIndex.SetEEIndex( nPara, nEndIndex, *this ); in GetAttributeRun()
1015 DBG_ASSERT(aIndex.GetIndex() >= 0 && in GetAttributeRun()
1016 aIndex.GetIndex() <= USHRT_MAX, in GetAttributeRun()
1018 nEndIndex = static_cast< sal_uInt16 > (aIndex.GetIndex()); in GetAttributeRun()