LibreOffice Module test (master) 1
Public Member Functions | Private Attributes | List of all members
test::AccessibleTestBase::Dialog Class Reference

#include <accessibletestbase.hxx>

Inheritance diagram for test::AccessibleTestBase::Dialog:
[legend]
Collaboration diagram for test::AccessibleTestBase::Dialog:
[legend]

Public Member Functions

 Dialog (css::uno::Reference< css::awt::XDialog2 > &xDialog2, bool bAutoClose=true)
 
virtual ~Dialog ()
 
void setAutoClose (bool bAutoClose)
 
css::uno::Reference< css::accessibility::XAccessible > getAccessible () const
 
void close (sal_Int32 result=VclResponseType::RET_CANCEL)
 
css::uno::Reference< css::accessibility::XAccessibleContext > tabTo (const sal_Int16 role, const std::u16string_view name)
 
bool tabTo (const css::uno::Reference< css::accessibility::XAccessibleContext > &xChild)
 
- Public Member Functions inherited from test::AccessibleEventPosterHelper
 AccessibleEventPosterHelper (void)
 
 AccessibleEventPosterHelper (const css::uno::Reference< css::accessibility::XAccessible > xAcc)
 
void setWindow (css::uno::Reference< css::accessibility::XAccessible > xAcc)
 Sets the window on which post events based on an accessible object inside it. More...
 
- Public Member Functions inherited from test::EventPosterHelper
 EventPosterHelper (void)
 
 EventPosterHelper (VclPtr< vcl::Window > xWindow)
 
 EventPosterHelper (vcl::Window *pWindow)
 
vcl::WindowgetWindow () const
 
void setWindow (VclPtr< vcl::Window > xWindow)
 
void setWindow (vcl::Window *pWindow)
 
 operator bool () const
 
bool operator! () const
 
virtual void postKeyEventAsync (int nType, int nCharCode, int nKeyCode) const override
 
virtual void postExtTextEventAsync (int nType, const OUString &rText) const override
 
virtual void postKeyEventAsync (int nType, int nCharCode, int nKeyCode) const=0
 
void postKeyEventAsync (int nCharCode, int nKeyCode) const
 Posts a full key down/up cycle. More...
 
virtual void postExtTextEventAsync (int nType, const OUString &rText) const=0
 
void postExtTextEventAsync (const OUString &rText) const
 Posts a full text input + commit sequence. More...
 
- Public Member Functions inherited from test::EventPosterHelperBase
virtual ~EventPosterHelperBase ()
 
virtual void postKeyEventAsync (int nType, int nCharCode, int nKeyCode) const =0
 
void postKeyEventAsync (int nCharCode, int nKeyCode) const
 Posts a full key down/up cycle. More...
 
virtual void postExtTextEventAsync (int nType, const OUString &rText) const =0
 
void postExtTextEventAsync (const OUString &rText) const
 Posts a full text input + commit sequence. More...
 

Private Attributes

bool mbAutoClose
 
css::uno::Reference< css::awt::XDialog2 > mxDialog2
 
css::uno::Reference< css::accessibility::XAccessible > mxAccessible
 

Additional Inherited Members

- Protected Attributes inherited from test::EventPosterHelper
VclPtr< vcl::WindowmxWindow
 

Detailed Description

Definition at line 186 of file accessibletestbase.hxx.

Constructor & Destructor Documentation

◆ Dialog()

test::AccessibleTestBase::Dialog::Dialog ( css::uno::Reference< css::awt::XDialog2 > &  xDialog2,
bool  bAutoClose = true 
)

◆ ~Dialog()

test::AccessibleTestBase::Dialog::~Dialog ( )
virtual

Definition at line 377 of file accessibletestbase.cxx.

References test::AccessibleTestBase::close().

Member Function Documentation

◆ close()

void test::AccessibleTestBase::Dialog::close ( sal_Int32  result = VclResponseType::RET_CANCEL)

Definition at line 383 of file accessibletestbase.cxx.

References result.

◆ getAccessible()

css::uno::Reference< css::accessibility::XAccessible > test::AccessibleTestBase::Dialog::getAccessible ( ) const
inline

Definition at line 199 of file accessibletestbase.hxx.

◆ setAutoClose()

void test::AccessibleTestBase::Dialog::setAutoClose ( bool  bAutoClose)
inline

Definition at line 197 of file accessibletestbase.hxx.

◆ tabTo() [1/2]

bool test::AccessibleTestBase::Dialog::tabTo ( const css::uno::Reference< css::accessibility::XAccessibleContext > &  xChild)
inline

Definition at line 212 of file accessibletestbase.hxx.

References test::AccessibleTestBase::tabTo().

◆ tabTo() [2/2]

css::uno::Reference< css::accessibility::XAccessibleContext > test::AccessibleTestBase::Dialog::tabTo ( const sal_Int16  role,
const std::u16string_view  name 
)
inline

Definition at line 207 of file accessibletestbase.hxx.

References name, and test::AccessibleTestBase::tabTo().

Member Data Documentation

◆ mbAutoClose

bool test::AccessibleTestBase::Dialog::mbAutoClose
private

Definition at line 189 of file accessibletestbase.hxx.

◆ mxAccessible

css::uno::Reference<css::accessibility::XAccessible> test::AccessibleTestBase::Dialog::mxAccessible
private

Definition at line 191 of file accessibletestbase.hxx.

Referenced by Dialog().

◆ mxDialog2

css::uno::Reference<css::awt::XDialog2> test::AccessibleTestBase::Dialog::mxDialog2
private

Definition at line 190 of file accessibletestbase.hxx.


The documentation for this class was generated from the following files: