14#include <com/sun/star/accessibility/XAccessible.hpp>
15#include <com/sun/star/accessibility/XAccessibleContext.hpp>
16#include <com/sun/star/uno/Reference.hxx>
18#include <LibreOfficeKit/LibreOfficeKitEnums.h>
19#include <rtl/ustring.hxx>
45 postKeyEventAsync(LOK_KEYEVENT_KEYINPUT, nCharCode, nKeyCode);
46 postKeyEventAsync(LOK_KEYEVENT_KEYUP, nCharCode, nKeyCode);
55 postExtTextEventAsync(LOK_EXT_TEXTINPUT, rText);
56 postExtTextEventAsync(LOK_EXT_TEXTINPUT_END, rText);
90 explicit operator bool()
const {
return mxWindow && !mxWindow->isDisposed(); }
97 virtual void postKeyEventAsync(
int nType,
int nCharCode,
int nKeyCode)
const override;
99 virtual void postExtTextEventAsync(
int nType,
const OUString& rText)
const override;
128 void setWindow(css::uno::Reference<css::accessibility::XAccessible> xAcc);
Accessibility-specialized helper to send events to a window.
AccessibleEventPosterHelper(const css::uno::Reference< css::accessibility::XAccessible > xAcc)
AccessibleEventPosterHelper(void)
Base helper class to send events to a window.
virtual ~EventPosterHelperBase()
void postExtTextEventAsync(const OUString &rText) const
Posts a full text input + commit sequence.
virtual void postExtTextEventAsync(int nType, const OUString &rText) const =0
void postKeyEventAsync(int nCharCode, int nKeyCode) const
Posts a full key down/up cycle.
virtual void postKeyEventAsync(int nType, int nCharCode, int nKeyCode) const =0
Helper to send events to a window.
VclPtr< vcl::Window > mxWindow
EventPosterHelper(vcl::Window *pWindow)
EventPosterHelper(VclPtr< vcl::Window > xWindow)
void setWindow(vcl::Window *pWindow)
void setWindow(VclPtr< vcl::Window > xWindow)
vcl::Window * getWindow() const
#define OOO_DLLPUBLIC_TEST