24#include <com/sun/star/uno/Reference.hxx>
25#include <com/sun/star/accessibility/XAccessibleText.hpp>
39 STDMETHOD(get_addSelection)(
long startOffset,
long endOffset);
42 STDMETHOD(get_attributes)
43 (
long offset,
long* startOffset,
long*
endOffset, BSTR* textAttributes);
46 STDMETHOD(get_caretOffset)(
long* offset);
49 STDMETHOD(get_characterCount)(
long* nCharacters);
53 STDMETHOD(get_characterExtents)
57 STDMETHOD(get_nSelections)(
long* nSelections);
63 STDMETHOD(get_selection)(
long selectionIndex,
long* startOffset,
long* endOffset);
67 STDMETHOD(get_text)(
long startOffset,
long endOffset, BSTR*
text);
70 STDMETHOD(get_textBeforeOffset)
74 STDMETHOD(get_textAfterOffset)
78 STDMETHOD(get_textAtOffset)
82 STDMETHOD(removeSelection)(
long selectionIndex);
85 STDMETHOD(setCaretOffset)(
long offset);
88 STDMETHOD(setSelection)(
long selectionIndex,
long startOffset,
long endOffset);
93 STDMETHOD(get_nCharacters)(
long* nCharacters);
100 STDMETHOD(scrollSubstringTo)(
long startIndex,
long endIndex,
enum IA2ScrollType scrollType);
101 STDMETHOD(scrollSubstringToPoint)
105 STDMETHOD(put_XInterface)(hyper pXInterface)
override;
108 css::uno::Reference<css::accessibility::XAccessibleText>
pRXText;
110 css::accessibility::XAccessibleText*
GetXInterface() {
return pRXText.get(); }
css::accessibility::XAccessibleText * GetXInterface()
long long long * endOffset
long IA2TextBoundaryType boundaryType
css::uno::Reference< css::accessibility::XAccessibleText > pRXText
long IA2CoordinateType coordType
CUNOXWrapper implements IUNOXWrapper interface.
IA2ScrollType
These constants control the scrolling of an object or substring into a window.
IA2CoordinateType
These constants define which coordinate system a point is located in.
IA2TextBoundaryType
This enum defines values which specify a text boundary type.
A structure containing a substring and the start and end offsets in the enclosing string.