Lines Matching refs:aTxt
156 String aTxt; in GetAccessibleText_Impl() local
159 aTxt = pDoc->GetAccessibleText(); in GetAccessibleText_Impl()
160 return aTxt; in GetAccessibleText_Impl()
475 String aTxt( GetAccessibleText_Impl() ); in setCaretPosition() local
476 if (!(/*0 <= nIdx &&*/ nIdx < aTxt.Len())) in setCaretPosition()
487 String aTxt( GetAccessibleText_Impl() ); in getCharacter() local
488 if (!(/*0 <= nIdx &&*/ nIdx < aTxt.Len())) in getCharacter()
490 return aTxt.GetChar( nIdx ); in getCharacter()
521 String aTxt( GetAccessibleText_Impl() ); in getCharacterBounds() local
522 if (!(0 <= nIndex && nIndex <= aTxt.Len())) // #108812# aTxt.Len() is valid in getCharacterBounds()
526 bool bWasBehindText = (nIndex == aTxt.Len()); in getCharacterBounds()
630 String aTxt; in getIndexAtPoint() local
631 pNode->GetAccessibleText( aTxt ); in getIndexAtPoint()
632 DBG_ASSERT( aTxt.Len(), "no accessible text available" ); in getIndexAtPoint()
636 sal_Int32 *pXAry = new sal_Int32[ aTxt.Len() ]; in getIndexAtPoint()
638 pWin->GetTextArray( aTxt, pXAry, 0, aTxt.Len() ); in getIndexAtPoint()
639 for (sal_Int32 i = 0; i < aTxt.Len() && nRes == -1; ++i) in getIndexAtPoint()
645 DBG_ASSERT( nRes >= 0 && nRes < aTxt.Len(), "index out of range" ); in getIndexAtPoint()
707 String aTxt( GetAccessibleText_Impl() ); in getTextRange() local
710 if (!(/*0 <= nStart &&*/ nStart <= aTxt.Len()) || in getTextRange()
711 !(/*0 <= nEnd &&*/ nEnd <= aTxt.Len())) in getTextRange()
713 return aTxt.Copy( nStart, nEnd - nStart ); in getTextRange()
719 String aTxt( GetAccessibleText_Impl() ); in getTextAtIndex() local
722 if (!(/*0 <= nIdx &&*/ nIdx <= aTxt.Len())) in getTextAtIndex()
728 if ( (AccessibleTextType::CHARACTER == aTextType) && (nIdx < aTxt.Len()) ) in getTextAtIndex()
730 aResult.SegmentText = aTxt.Copy(nIdx, 1); in getTextAtIndex()
740 String aTxt( GetAccessibleText_Impl() ); in getTextBeforeIndex() local
743 if (!(/*0 <= nIdx &&*/ nIdx <= aTxt.Len())) in getTextBeforeIndex()
752 aResult.SegmentText = aTxt.Copy(nIdx-1, 1); in getTextBeforeIndex()
762 String aTxt( GetAccessibleText_Impl() ); in getTextBehindIndex() local
765 if (!(/*0 <= nIdx &&*/ nIdx <= aTxt.Len())) in getTextBehindIndex()
773 if ( (AccessibleTextType::CHARACTER == aTextType) && (nIdx < aTxt.Len()) ) in getTextBehindIndex()
775 aResult.SegmentText = aTxt.Copy(nIdx, 1); in getTextBehindIndex()
1150 XubString aTxt; in CalcFieldValue() local
1153 aTxt = pEditEngine->CalcFieldValue( rField, nPara, nPos, rpTxtColor, rpFldColor ); in CalcFieldValue()
1154 return aTxt; in CalcFieldValue()