LibreOffice Module winaccessibility (master) 1
Typedefs | Functions | Variables
MAccessible.cxx File Reference
#include <UAccCOM.h>
#include "MAccessible.h"
#include <algorithm>
#include <cstddef>
#include "AccAction.h"
#include "AccRelation.h"
#include "AccComponent.h"
#include "AccText.h"
#include "AccEditableText.h"
#include "AccImage.h"
#include "AccTable.h"
#include "AccTableCell.h"
#include "AccValue.h"
#include "AccHypertext.h"
#include "AccHyperLink.h"
#include <rtl/ustrbuf.hxx>
#include <sal/log.hxx>
#include <unotools/configmgr.hxx>
#include <vcl/svapp.hxx>
#include <o3tl/char16_t2wchar_t.hxx>
#include <comphelper/AccessibleImplementationHelper.hxx>
#include <com/sun/star/accessibility/XAccessibleText.hpp>
#include <com/sun/star/accessibility/XAccessibleEditableText.hpp>
#include <com/sun/star/accessibility/XAccessibleImage.hpp>
#include <com/sun/star/accessibility/XAccessibleTable.hpp>
#include <com/sun/star/accessibility/XAccessibleExtendedComponent.hpp>
#include <com/sun/star/accessibility/XAccessibleAction.hpp>
#include <com/sun/star/accessibility/XAccessibleKeyBinding.hpp>
#include <com/sun/star/accessibility/XAccessibleHypertext.hpp>
#include <com/sun/star/accessibility/XAccessibleHyperlink.hpp>
#include <com/sun/star/accessibility/XAccessibleRelationSet.hpp>
#include <com/sun/star/accessibility/AccessibleStateType.hpp>
#include <com/sun/star/accessibility/AccessibleRole.hpp>
#include <com/sun/star/accessibility/XAccessibleGroupPosition.hpp>
#include <com/sun/star/accessibility/XAccessibleValue.hpp>
#include <com/sun/star/accessibility/XAccessibleExtendedAttributes.hpp>
#include <com/sun/star/style/LineSpacing.hpp>
#include <com/sun/star/style/TabStop.hpp>
#include <com/sun/star/container/XIndexReplace.hpp>
Include dependency graph for MAccessible.cxx:

Go to the source code of this file.

Typedefs

typedef HRESULT() AggCreatorFunc(CMAccessible &, void **)
 

Functions

static bool GetMnemonicChar (const OUString &aStr, sal_Unicode *wStr)
 
static XAccessible * getTheParentOfMember (XAccessible *pXAcc)
 
template<typename T >
static HRESULT createAggInstance (CMAccessible &rOuter, void **ppvObject)
 

Variables

long const IA2_STATES []
 
sal_Int64 const UNO_STATES []
 
static AggMapEntry g_CMAccessible_AggMap []
 

Typedef Documentation

◆ AggCreatorFunc

typedef HRESULT() AggCreatorFunc(CMAccessible &, void **)

Definition at line 2360 of file MAccessible.cxx.

Function Documentation

◆ createAggInstance()

template<typename T >
static HRESULT createAggInstance ( CMAccessible rOuter,
void **  ppvObject 
)
static

Definition at line 2349 of file MAccessible.cxx.

◆ GetMnemonicChar()

static bool GetMnemonicChar ( const OUString &  aStr,
sal_Unicode wStr 
)
static

Definition at line 608 of file MAccessible.cxx.

References aStr, and i.

Referenced by CMAccessible::get_accKeyboardShortcut().

◆ getTheParentOfMember()

static XAccessible * getTheParentOfMember ( XAccessible *  pXAcc)
static

Definition at line 1789 of file MAccessible.cxx.

References i.

Referenced by CMAccessible::get_groupPosition().

Variable Documentation

◆ g_CMAccessible_AggMap

AggMapEntry g_CMAccessible_AggMap[]
static
Initial value:
= {
{ &IID_IAccessibleComponent, &createAggInstance<CAccComponent>, XInterfaceType::XI_COMPONENT },
{ &IID_IAccessibleText, &createAggInstance<CAccText>, XInterfaceType::XI_TEXT },
{ &IID_IAccessibleEditableText, &createAggInstance<CAccEditableText>, XInterfaceType::XI_EDITABLETEXT },
{ &IID_IAccessibleImage, &createAggInstance<CAccImage>, XInterfaceType::XI_IMAGE },
{ &IID_IAccessibleTable, &createAggInstance<CAccTable>, XInterfaceType::XI_TABLE },
{ &IID_IAccessibleTable2, &createAggInstance<CAccTable>, XInterfaceType::XI_TABLE },
{ &IID_IAccessibleTableCell, &createAggInstance<CAccTableCell>, XInterfaceType::XI_TABLECELL },
{ &IID_IAccessibleAction, &createAggInstance<CAccAction>, XInterfaceType::XI_ACTION },
{ &IID_IAccessibleValue, &createAggInstance<CAccValue>, XInterfaceType::XI_VALUE },
{ &IID_IAccessibleHypertext, &createAggInstance<CAccHypertext>, XInterfaceType::XI_HYPERTEXT },
{ &IID_IAccessibleHyperlink, &createAggInstance<CAccHyperLink>, XInterfaceType::XI_HYPERLINK }
}

Definition at line 2373 of file MAccessible.cxx.

Referenced by CMAccessible::SmartQI().

◆ IA2_STATES

long const IA2_STATES[]
Initial value:
=
{
}
@ IA2_STATE_STALE
Indicates that the accessible object is stale.
@ IA2_STATE_EDITABLE
An object with this state has a caret and implements the IAccessibleText interface.
@ IA2_STATE_DEFUNCT
Indicates the user interface object corresponding to this object no longer exists.
@ IA2_STATE_ICONIFIED
Indicates this object is minimized and is represented only by an icon.
@ IA2_STATE_MULTI_LINE
Indicates this text object can contain multiple lines of text.
@ IA2_STATE_OPAQUE
Indicates this object paints every pixel within its rectangular region.
@ IA2_STATE_MODAL
Indicates that an object is modal.
@ IA2_STATE_INVALID_ENTRY
Indicates an input validation failure.
@ IA2_STATE_HORIZONTAL
Indicates the orientation of this object is horizontal.
@ IA2_STATE_REQUIRED
Indicates that user interaction is required.
@ IA2_STATE_ARMED
Indicates that the object is armed.
@ IA2_STATE_SUPPORTS_AUTOCOMPLETION
Indicates that the object implements autocompletion.
@ IA2_STATE_VERTICAL
Indicates the orientation of this object is vertical.
@ IA2_STATE_ACTIVE
Indicates a window is currently the active window, or is an active subelement within a container or t...
@ IA2_STATE_MANAGES_DESCENDANTS
Indicates that this object manages its children.
@ IA2_STATE_SELECTABLE_TEXT
Indicates an object which supports text selection.
@ IA2_STATE_SINGLE_LINE
Indicates that this text object can contain only a single line of text.
@ IA2_STATE_TRANSIENT
Indicates this object is transient.

Definition at line 134 of file MAccessible.cxx.

Referenced by CMAccessible::get_states().

◆ UNO_STATES

sal_Int64 const UNO_STATES[]
Initial value:
=
{
ARMED,
DEFUNC,
HORIZONTAL,
ICONIFIED,
-1,
MANAGES_DESCENDANTS,
MODAL,
MULTI_LINE,
-1,
-1,
SINGLE_LINE,
STALE,
-1,
}
const int VERTICAL
#define OPAQUE

Definition at line 156 of file MAccessible.cxx.

Referenced by CMAccessible::get_states().