Lines Matching refs:xText

61         XAccessibleText xText = (XAccessibleText) UnoRuntime.queryInterface (  in createHandler()  local
63 if (xText != null) in createHandler()
64 return new AccessibleTextHandler (xText); in createHandler()
73 public AccessibleTextHandler (XAccessibleText xText) in AccessibleTextHandler() argument
75 if (xText != null) in AccessibleTextHandler()
82 XAccessibleText xText = null; in createChild() local
84 xText = ((AccTreeNode)aParent).getText(); in createChild()
88 if( xText != null ) in createChild()
93 aChild = new StringNode (xText.getText(), aParent); in createChild()
96 aChild = new StringNode ("# chars: " + xText.getCharacterCount(), aParent); in createChild()
99 aChild = new StringNode (characters( xText ), aParent); in createChild()
103 + "[" + xText.getSelectionStart() in createChild()
104 + "," + xText.getSelectionEnd() in createChild()
105 + "] \"" + xText.getSelectedText() + "\"", in createChild()
109 … aChild = new StringNode ("getCaretPosition: " + xText.getCaretPosition(), aParent); in createChild()
116 textAtIndexNode( xText, "Character", in createChild()
120 textAtIndexNode( xText, "Word", in createChild()
124 textAtIndexNode( xText, "Sentence", in createChild()
128 textAtIndexNode( xText, "Paragraph", in createChild()
132 textAtIndexNode( xText, "Line", in createChild()
136 textAtIndexNode( xText, "Attribute", in createChild()
140 textAtIndexNode( xText, "Glyph", in createChild()
146 aChild = new StringNode (bounds( xText ), aParent); in createChild()
149 aChild = getAttributes( xText, aParent ); in createChild()
178 XAccessibleText xText, in textAtIndexNode() argument
188 int nLength = xText.getCharacterCount(); in textAtIndexNode()
196 TextSegment sWord = xText.getTextAtIndex(0, nTextType); in textAtIndexNode()
197 TextSegment sBefore = xText.getTextBeforeIndex(0, nTextType); in textAtIndexNode()
198 TextSegment sBehind = xText.getTextBehindIndex(0, nTextType); in textAtIndexNode()
202 TextSegment sTmp = xText.getTextAtIndex(i, nTextType); in textAtIndexNode()
203 TextSegment sTBef = xText.getTextBeforeIndex(i, nTextType); in textAtIndexNode()
204 TextSegment sTBeh = xText.getTextBehindIndex(i, nTextType); in textAtIndexNode()
244 private String characters(XAccessibleText xText) in characters() argument
247 int nChars = xText.getCharacterCount(); in characters()
258 aChars.append( xText.getCharacter(i) ); in characters()
263 if( nChars == xText.getCharacterCount() ) in characters()
282 private String bounds( XAccessibleText xText ) in bounds() argument
288 int nCount = xText.getCharacterCount(); in bounds()
292 Rectangle aRect = xText.getCharacterBounds( i ); in bounds()
299 int nIndex = xText.getIndexAtPoint( aMiddle ); in bounds()
302 if( (nIndex >= 0) && (nIndex < xText.getCharacter(i)) ) in bounds()
303 aBuffer.append( xText.getCharacter(nIndex) ); in bounds()
315 private AccessibleTreeNode getAttributes( XAccessibleText xText, in getAttributes() argument
342 int nLength = xText.getCharacterCount(); in getAttributes()
349 aPortion = xText.getTextAtIndex( in getAttributes()
358 PropertyValue[] aValues = xText.getCharacterAttributes(nIndex, aAttributeList); in getAttributes()