LibreOffice Module accessibility (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
accessibility::AccessibleBrowseBoxTableCell Class Referencefinal

#include <AccessibleBrowseBoxTableCell.hxx>

Inheritance diagram for accessibility::AccessibleBrowseBoxTableCell:
[legend]
Collaboration diagram for accessibility::AccessibleBrowseBoxTableCell:
[legend]

Public Member Functions

 AccessibleBrowseBoxTableCell (const css::uno::Reference< css::accessibility::XAccessible > &_rxParent, ::vcl::IAccessibleTableProvider &_rBrowseBox, const css::uno::Reference< css::awt::XWindow > &_xFocusWindow, sal_Int32 _nRowId, sal_uInt16 _nColId, sal_Int32 _nOffset)
 
css::uno::Any SAL_CALL queryInterface (const css::uno::Type &rType) override
 Queries for a new interface. More...
 
virtual void SAL_CALL acquire () noexcept override
 Acquires the object (calls acquire() on base class). More...
 
virtual void SAL_CALL release () noexcept override
 Releases the object (calls release() on base class). More...
 
virtual void SAL_CALL disposing (const css::lang::EventObject &Source) override
 
virtual sal_Int64 SAL_CALL getAccessibleIndexInParent () override
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual sal_Int64 SAL_CALL getAccessibleChildCount () override
 
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleChild (sal_Int64 nChildIndex) override
 
sal_Int64 implCreateStateSet () override
 Return a bitset of states of the current object. More...
 
virtual css::uno::Reference< css::accessibility::XAccessibleContext > SAL_CALL getAccessibleContext () override
 
virtual sal_Int32 SAL_CALL getCaretPosition () override
 
virtual sal_Bool SAL_CALL setCaretPosition (sal_Int32 nIndex) override
 
virtual sal_Unicode SAL_CALL getCharacter (sal_Int32 nIndex) override
 
virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getCharacterAttributes (sal_Int32 nIndex, const css::uno::Sequence< OUString > &aRequestedAttributes) override
 
virtual css::awt::Rectangle SAL_CALL getCharacterBounds (sal_Int32 nIndex) override
 
virtual sal_Int32 SAL_CALL getCharacterCount () override
 
virtual sal_Int32 SAL_CALL getIndexAtPoint (const css::awt::Point &aPoint) override
 
virtual OUString SAL_CALL getSelectedText () override
 
virtual sal_Int32 SAL_CALL getSelectionStart () override
 
virtual sal_Int32 SAL_CALL getSelectionEnd () override
 
virtual sal_Bool SAL_CALL setSelection (sal_Int32 nStartIndex, sal_Int32 nEndIndex) override
 
virtual OUString SAL_CALL getText () final override
 
virtual OUString SAL_CALL getTextRange (sal_Int32 nStartIndex, sal_Int32 nEndIndex) override
 
virtual css::accessibility::TextSegment SAL_CALL getTextAtIndex (sal_Int32 nIndex, sal_Int16 aTextType) override
 
virtual css::accessibility::TextSegment SAL_CALL getTextBeforeIndex (sal_Int32 nIndex, sal_Int16 aTextType) override
 
virtual css::accessibility::TextSegment SAL_CALL getTextBehindIndex (sal_Int32 nIndex, sal_Int16 aTextType) override
 
virtual sal_Bool SAL_CALL copyText (sal_Int32 nStartIndex, sal_Int32 nEndIndex) override
 
virtual sal_Bool SAL_CALL scrollSubstringTo (sal_Int32 nStartIndex, sal_Int32 nEndIndex, css::accessibility::AccessibleScrollType aScrollType) override
 
virtual void SAL_CALL disposing () override
 Commits DeFunc event to listeners and cleans up members. More...
 
virtual void SAL_CALL disposing (const css::lang::EventObject &Source) override
 
- Public Member Functions inherited from accessibility::AccessibleBrowseBoxBase
 AccessibleBrowseBoxBase (css::uno::Reference< css::accessibility::XAccessible > xParent, ::vcl::IAccessibleTableProvider &rBrowseBox, css::uno::Reference< css::awt::XWindow > _xFocusWindow, AccessibleBrowseBoxObjType eObjType)
 Constructor sets specified name and description. More...
 
 AccessibleBrowseBoxBase (css::uno::Reference< css::accessibility::XAccessible > xParent, ::vcl::IAccessibleTableProvider &rBrowseBox, css::uno::Reference< css::awt::XWindow > _xFocusWindow, AccessibleBrowseBoxObjType eObjType, OUString rName, OUString rDescription)
 Constructor sets specified name and description. More...
 
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleParent () override
 
virtual sal_Int64 SAL_CALL getAccessibleIndexInParent () override
 
virtual OUString SAL_CALL getAccessibleDescription () override
 
virtual OUString SAL_CALL getAccessibleName () override
 
virtual css::uno::Reference< css::accessibility::XAccessibleRelationSet > SAL_CALL getAccessibleRelationSet () override
 
virtual sal_Int64 SAL_CALL getAccessibleStateSet () override
 
virtual css::lang::Locale SAL_CALL getLocale () override
 
virtual sal_Int16 SAL_CALL getAccessibleRole () override
 
virtual sal_Bool SAL_CALL containsPoint (const css::awt::Point &rPoint) override
 
virtual css::awt::Rectangle SAL_CALL getBounds () override
 
virtual css::awt::Point SAL_CALL getLocation () override
 
virtual css::awt::Point SAL_CALL getLocationOnScreen () override
 
virtual css::awt::Size SAL_CALL getSize () override
 
virtual sal_Int32 SAL_CALL getForeground () override
 
virtual sal_Int32 SAL_CALL getBackground () override
 
virtual void SAL_CALL disposing (const css::lang::EventObject &Source) override
 
virtual void SAL_CALL focusGained (const css::awt::FocusEvent &e) override
 
virtual void SAL_CALL focusLost (const css::awt::FocusEvent &e) override
 
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleAtPoint (const css::awt::Point &rPoint) override
 
virtual void SAL_CALL addAccessibleEventListener (const css::uno::Reference< css::accessibility::XAccessibleEventListener > &rxListener) override
 Adds a new event listener. More...
 
virtual void SAL_CALL removeAccessibleEventListener (const css::uno::Reference< css::accessibility::XAccessibleEventListener > &rxListener) override
 Removes an event listener. More...
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &rServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
AccessibleBrowseBoxObjType getType () const
 
void setAccessibleName (const OUString &rName)
 Changes the name of the object and notifies listeners. More...
 
void setAccessibleDescription (const OUString &rDescription)
 Changes the description of the object and notifies listeners. More...
 
void commitEvent (sal_Int16 nEventId, const css::uno::Any &rNewValue, const css::uno::Any &rOldValue)
 Commits an event to all listeners. More...
 
bool isAlive () const
 
::osl::Mutex & getMutex ()
 
void ensureIsAlive () const
 
- Public Member Functions inherited from cppu::ImplHelper2< class Ifc1, class Ifc2 >
virtual css::uno::Any SAL_CALL queryInterface (css::uno::Type const &rType) SAL_OVERRIDE
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () SAL_OVERRIDE
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () SAL_OVERRIDE
 

Private Member Functions

virtual OUString implGetText () final override
 
virtual css::lang::Locale implGetLocale () override
 
virtual void implGetSelection (sal_Int32 &nStartIndex, sal_Int32 &nEndIndex) override
 

Private Attributes

sal_Int32 m_nOffset
 

Additional Inherited Members

- Static Public Member Functions inherited from comphelper::OCommonAccessibleText
static bool implInitTextChangedEvent (std::u16string_view rOldString, std::u16string_view rNewString, css::uno::Any &rDeleted, css::uno::Any &rInserted)
 
- Protected Member Functions inherited from accessibility::AccessibleBrowseBoxCell
sal_Int32 getRowPos () const
 
sal_Int32 getColumnPos () const
 
virtual tools::Rectangle implGetBoundingBox () override
 Derived classes return the bounding box relative to the parent window. More...
 
virtual tools::Rectangle implGetBoundingBoxOnScreen () override
 Derived classes return the bounding box in screen coordinates. More...
 
virtual void SAL_CALL grabFocus () override
 
 AccessibleBrowseBoxCell (const css::uno::Reference< css::accessibility::XAccessible > &_rxParent, ::vcl::IAccessibleTableProvider &_rBrowseBox, const css::uno::Reference< css::awt::XWindow > &_xFocusWindow, sal_Int32 _nRowPos, sal_uInt16 _nColPos, AccessibleBrowseBoxObjType _eType=AccessibleBrowseBoxObjType::TableCell)
 
virtual ~AccessibleBrowseBoxCell () override
 
- Protected Member Functions inherited from accessibility::AccessibleBrowseBoxBase
virtual ~AccessibleBrowseBoxBase () override
 
virtual void SAL_CALL disposing () override
 Commits DeFunc event to listeners and cleans up members. More...
 
bool implIsShowing ()
 Determines whether the BrowseBox control is really showing inside of its parent accessible window. More...
 
virtual tools::Rectangle implGetBoundingBox ()=0
 Derived classes return the bounding box relative to the parent window. More...
 
virtual tools::Rectangle implGetBoundingBoxOnScreen ()=0
 Derived classes return the bounding box in screen coordinates. More...
 
virtual sal_Int64 implCreateStateSet ()
 Creates a bitset of states of the current object. More...
 
void implSetName (const OUString &rName)
 Changes the name of the object (flat assignment, no notify). More...
 
tools::Rectangle getBoundingBox ()
 Locks all mutex's and calculates the bounding box relative to the parent window. More...
 
tools::Rectangle getBoundingBoxOnScreen ()
 Locks all mutex's and calculates the bounding box in screen coordinates. More...
 
::comphelper::AccessibleEventNotifier::TClientId getClientId () const
 
void setClientId (::comphelper::AccessibleEventNotifier::TClientId _aNewClientId)
 
- Protected Member Functions inherited from cppu::ImplHelper2< class Ifc1, class Ifc2 >
 ~ImplHelper2 () SAL_NOEXCEPT
 
- Protected Member Functions inherited from comphelper::OCommonAccessibleText
 OCommonAccessibleText ()
 
virtual ~OCommonAccessibleText ()
 
css::uno::Reference< css::i18n::XBreakIterator > const & implGetBreakIterator ()
 
css::uno::Reference< css::i18n::XCharacterClassification > const & implGetCharacterClassification ()
 
virtual OUString implGetText ()=0
 
virtual css::lang::Locale implGetLocale ()=0
 
virtual void implGetSelection (sal_Int32 &nStartIndex, sal_Int32 &nEndIndex)=0
 
void implGetGlyphBoundary (const OUString &rText, css::i18n::Boundary &rBoundary, sal_Int32 nIndex)
 
bool implGetWordBoundary (const OUString &rText, css::i18n::Boundary &rBoundary, sal_Int32 nIndex)
 
void implGetSentenceBoundary (const OUString &rText, css::i18n::Boundary &rBoundary, sal_Int32 nIndex)
 
virtual void implGetParagraphBoundary (const OUString &rText, css::i18n::Boundary &rBoundary, sal_Int32 nIndex)
 
virtual void implGetLineBoundary (const OUString &rText, css::i18n::Boundary &rBoundary, sal_Int32 nIndex)
 
OUString getSelectedText ()
 
sal_Int32 getSelectionStart ()
 
sal_Int32 getSelectionEnd ()
 
css::accessibility::TextSegment getTextAtIndex (sal_Int32 nIndex, sal_Int16 aTextType)
 
css::accessibility::TextSegment getTextBeforeIndex (sal_Int32 nIndex, sal_Int16 aTextType)
 
css::accessibility::TextSegment getTextBehindIndex (sal_Int32 nIndex, sal_Int16 aTextType)
 
- Static Protected Member Functions inherited from comphelper::OCommonAccessibleText
static bool implIsValidBoundary (css::i18n::Boundary const &rBoundary, sal_Int32 nLength)
 
static bool implIsValidIndex (sal_Int32 nIndex, sal_Int32 nLength)
 
static bool implIsValidRange (sal_Int32 nStartIndex, sal_Int32 nEndIndex, sal_Int32 nLength)
 
static sal_Unicode implGetCharacter (std::u16string_view rText, sal_Int32 nIndex)
 
static OUString implGetTextRange (std::u16string_view rText, sal_Int32 nStartIndex, sal_Int32 nEndIndex)
 
- Protected Attributes inherited from accessibility::AccessibleBrowseBoxBase
css::uno::Reference< css::accessibility::XAccessible > mxParent
 The parent accessible object. More...
 
::vcl::IAccessibleTableProvidermpBrowseBox
 The VCL BrowseBox control. More...
 
css::uno::Reference< css::awt::XWindow > m_xFocusWindow
 This is the window which get all the nice focus events. More...
 
- Protected Attributes inherited from cppu::BaseMutex
mutable::osl::Mutex m_aMutex
 

Detailed Description

Definition at line 33 of file AccessibleBrowseBoxTableCell.hxx.

Constructor & Destructor Documentation

◆ AccessibleBrowseBoxTableCell()

accessibility::AccessibleBrowseBoxTableCell::AccessibleBrowseBoxTableCell ( const css::uno::Reference< css::accessibility::XAccessible > &  _rxParent,
::vcl::IAccessibleTableProvider _rBrowseBox,
const css::uno::Reference< css::awt::XWindow > &  _xFocusWindow,
sal_Int32  _nRowId,
sal_uInt16  _nColId,
sal_Int32  _nOffset 
)

Member Function Documentation

◆ acquire()

void SAL_CALL accessibility::AccessibleBrowseBoxTableCell::acquire ( )
overridevirtualnoexcept

Acquires the object (calls acquire() on base class).

Definition at line 97 of file AccessibleBrowseBoxTableCell.cxx.

◆ copyText()

sal_Bool SAL_CALL accessibility::AccessibleBrowseBoxTableCell::copyText ( sal_Int32  nStartIndex,
sal_Int32  nEndIndex 
)
overridevirtual

!! don't know how to put a string into the clipboard

Definition at line 308 of file AccessibleBrowseBoxTableCell.cxx.

References accessibility::AccessibleBrowseBoxBase::ensureIsAlive(), accessibility::AccessibleBrowseBoxBase::getMutex(), and implGetText().

◆ disposing() [1/3]

void SAL_CALL accessibility::AccessibleBrowseBoxBase::disposing ( )
overridevirtual

Commits DeFunc event to listeners and cleans up members.

Reimplemented from accessibility::AccessibleBrowseBoxBase.

Definition at line 102 of file AccessibleBrowseBoxBase.cxx.

◆ disposing() [2/3]

void SAL_CALL accessibility::AccessibleBrowseBoxBase::disposing ( const css::lang::EventObject &  Source)
overridevirtual

Reimplemented from accessibility::AccessibleBrowseBoxBase.

Definition at line 170 of file AccessibleBrowseBoxBase.cxx.

◆ disposing() [3/3]

void accessibility::AccessibleBrowseBoxTableCell::disposing ( const css::lang::EventObject &  Source)
overridevirtual

◆ getAccessibleChild()

css::uno::Reference< css::accessibility::XAccessible > SAL_CALL accessibility::AccessibleBrowseBoxTableCell::getAccessibleChild ( sal_Int64  nChildIndex)
overridevirtual
Returns
The XAccessible interface of the specified child.

Definition at line 152 of file AccessibleBrowseBoxTableCell.cxx.

◆ getAccessibleChildCount()

sal_Int64 SAL_CALL accessibility::AccessibleBrowseBoxTableCell::getAccessibleChildCount ( )
overridevirtual
Returns
The count of visible children.

Definition at line 145 of file AccessibleBrowseBoxTableCell.cxx.

◆ getAccessibleContext()

Reference< XAccessibleContext > SAL_CALL accessibility::AccessibleBrowseBoxTableCell::getAccessibleContext ( )
overridevirtual
Returns
The XAccessibleContext interface of this object.

Definition at line 183 of file AccessibleBrowseBoxTableCell.cxx.

References accessibility::AccessibleBrowseBoxBase::ensureIsAlive(), and accessibility::AccessibleBrowseBoxBase::getMutex().

◆ getAccessibleIndexInParent()

sal_Int64 SAL_CALL accessibility::AccessibleBrowseBoxTableCell::getAccessibleIndexInParent ( )
overridevirtual

◆ getCaretPosition()

sal_Int32 SAL_CALL accessibility::AccessibleBrowseBoxTableCell::getCaretPosition ( )
overridevirtual

Definition at line 200 of file AccessibleBrowseBoxTableCell.cxx.

◆ getCharacter()

sal_Unicode SAL_CALL accessibility::AccessibleBrowseBoxTableCell::getCharacter ( sal_Int32  nIndex)
overridevirtual

◆ getCharacterAttributes()

css::uno::Sequence< css::beans::PropertyValue > SAL_CALL accessibility::AccessibleBrowseBoxTableCell::getCharacterAttributes ( sal_Int32  nIndex,
const css::uno::Sequence< OUString > &  aRequestedAttributes 
)
overridevirtual

◆ getCharacterBounds()

css::awt::Rectangle SAL_CALL accessibility::AccessibleBrowseBoxTableCell::getCharacterBounds ( sal_Int32  nIndex)
overridevirtual

◆ getCharacterCount()

sal_Int32 SAL_CALL accessibility::AccessibleBrowseBoxTableCell::getCharacterCount ( )
overridevirtual

◆ getImplementationName()

OUString SAL_CALL accessibility::AccessibleBrowseBoxTableCell::getImplementationName ( )
overridevirtual
Returns
The name of this class.

Definition at line 139 of file AccessibleBrowseBoxTableCell.cxx.

◆ getIndexAtPoint()

sal_Int32 SAL_CALL accessibility::AccessibleBrowseBoxTableCell::getIndexAtPoint ( const css::awt::Point &  aPoint)
overridevirtual

◆ getSelectedText()

OUString SAL_CALL accessibility::AccessibleBrowseBoxTableCell::getSelectedText ( )
overridevirtual

◆ getSelectionEnd()

sal_Int32 SAL_CALL accessibility::AccessibleBrowseBoxTableCell::getSelectionEnd ( )
overridevirtual

◆ getSelectionStart()

sal_Int32 SAL_CALL accessibility::AccessibleBrowseBoxTableCell::getSelectionStart ( )
overridevirtual

◆ getText()

OUString SAL_CALL accessibility::AccessibleBrowseBoxTableCell::getText ( )
finaloverridevirtual

◆ getTextAtIndex()

css::accessibility::TextSegment SAL_CALL accessibility::AccessibleBrowseBoxTableCell::getTextAtIndex ( sal_Int32  nIndex,
sal_Int16  aTextType 
)
overridevirtual

◆ getTextBeforeIndex()

css::accessibility::TextSegment SAL_CALL accessibility::AccessibleBrowseBoxTableCell::getTextBeforeIndex ( sal_Int32  nIndex,
sal_Int16  aTextType 
)
overridevirtual

◆ getTextBehindIndex()

css::accessibility::TextSegment SAL_CALL accessibility::AccessibleBrowseBoxTableCell::getTextBehindIndex ( sal_Int32  nIndex,
sal_Int16  aTextType 
)
overridevirtual

◆ getTextRange()

OUString SAL_CALL accessibility::AccessibleBrowseBoxTableCell::getTextRange ( sal_Int32  nStartIndex,
sal_Int32  nEndIndex 
)
overridevirtual

◆ implCreateStateSet()

sal_Int64 accessibility::AccessibleBrowseBoxTableCell::implCreateStateSet ( )
overridevirtual

◆ implGetLocale()

css::lang::Locale accessibility::AccessibleBrowseBoxTableCell::implGetLocale ( )
overrideprivatevirtual

◆ implGetSelection()

void accessibility::AccessibleBrowseBoxTableCell::implGetSelection ( sal_Int32 &  nStartIndex,
sal_Int32 &  nEndIndex 
)
overrideprivatevirtual

◆ implGetText()

OUString accessibility::AccessibleBrowseBoxTableCell::implGetText ( )
finaloverrideprivatevirtual

◆ queryInterface()

css::uno::Any SAL_CALL accessibility::AccessibleBrowseBoxTableCell::queryInterface ( const css::uno::Type &  rType)
overridevirtual

Queries for a new interface.

Reimplemented from cppu::ImplHelper2< class Ifc1, class Ifc2 >.

Definition at line 88 of file AccessibleBrowseBoxTableCell.cxx.

References Any, and cppu::ImplHelper2< class Ifc1, class Ifc2 >::queryInterface().

◆ release()

void SAL_CALL accessibility::AccessibleBrowseBoxTableCell::release ( )
overridevirtualnoexcept

Releases the object (calls release() on base class).

Definition at line 103 of file AccessibleBrowseBoxTableCell.cxx.

◆ scrollSubstringTo()

sal_Bool SAL_CALL accessibility::AccessibleBrowseBoxTableCell::scrollSubstringTo ( sal_Int32  nStartIndex,
sal_Int32  nEndIndex,
css::accessibility::AccessibleScrollType  aScrollType 
)
overridevirtual

Definition at line 320 of file AccessibleBrowseBoxTableCell.cxx.

◆ setCaretPosition()

sal_Bool SAL_CALL accessibility::AccessibleBrowseBoxTableCell::setCaretPosition ( sal_Int32  nIndex)
overridevirtual

◆ setSelection()

sal_Bool SAL_CALL accessibility::AccessibleBrowseBoxTableCell::setSelection ( sal_Int32  nStartIndex,
sal_Int32  nEndIndex 
)
overridevirtual

Member Data Documentation

◆ m_nOffset

sal_Int32 accessibility::AccessibleBrowseBoxTableCell::m_nOffset
private

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