LibreOffice Module sc (master) 1
Public Member Functions | Protected Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
ScAccessibleDocument Class Reference

#include <AccessibleDocument.hxx>

Inheritance diagram for ScAccessibleDocument:
[legend]
Collaboration diagram for ScAccessibleDocument:
[legend]

Public Member Functions

 ScAccessibleDocument (const css::uno::Reference< css::accessibility::XAccessible > &rxParent, ScTabViewShell *pViewShell, ScSplitPos eSplitPos)
 
void PreInit ()
 
virtual void Init () override
 
 DECL_LINK (WindowChildEventListener, VclWindowEvent &, void)
 
virtual void SAL_CALL disposing () override
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override
 ===== SfxListener ===================================================== More...
 
virtual css::uno::Any SAL_CALL queryInterface (css::uno::Type const &rType) override
 ===== XInterface ===================================================== More...
 
virtual void SAL_CALL acquire () noexcept override
 
virtual void SAL_CALL release () noexcept override
 
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleAtPoint (const css::awt::Point &rPoint) override
 ===== XAccessibleComponent ============================================ More...
 
virtual void SAL_CALL grabFocus () override
 
virtual sal_Int64 SAL_CALL getAccessibleChildCount () override
 ===== XAccessibleContext ============================================== More...
 
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleChild (sal_Int64 nIndex) override
 Return the specified child or NULL if index is invalid. More...
 
virtual sal_Int64 SAL_CALL getAccessibleStateSet () override
 Return the set of current states. More...
 
virtual OUString SAL_CALL getAccessibleName () override
 Return the object's current name. More...
 
virtual css::uno::Any SAL_CALL getExtendedAttributes () override
 
virtual void SAL_CALL selectAccessibleChild (sal_Int64 nChildIndex) override
 ===== XAccessibleSelection =========================================== More...
 
virtual sal_Bool SAL_CALL isAccessibleChildSelected (sal_Int64 nChildIndex) override
 
virtual void SAL_CALL clearAccessibleSelection () override
 
virtual void SAL_CALL selectAllAccessibleChildren () override
 
virtual sal_Int64 SAL_CALL getSelectedAccessibleChildCount () override
 
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getSelectedAccessibleChild (sal_Int64 nSelectedChildIndex) override
 
virtual void SAL_CALL deselectAccessibleChild (sal_Int64 nChildIndex) override
 
virtual void SAL_CALL selectionChanged (const css::lang::EventObject &aEvent) override
 ===== XSelectionListener ============================================= More...
 
virtual void SAL_CALL disposing (const css::lang::EventObject &Source) override
 ===== XAccessibleEventListener ======================================== More...
 
virtual OUString SAL_CALL getImplementationName () override
 ===== XServiceInfo =================================================== More...
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 Returns a list of all supported services. More...
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () override
 ===== XTypeProvider =================================================== More...
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () override
 Returns an implementation id. More...
 
virtual tools::Rectangle GetVisibleArea () const override
 ===== IAccessibleViewForwarder ======================================== More...
 
virtual Point LogicToPixel (const Point &rPoint) const override
 Transform the specified point from internal coordinates to an absolute screen position. More...
 
virtual Size LogicToPixel (const Size &rSize) const override
 Transform the specified size from internal coordinates to a screen oriented pixel size. More...
 
rtl::Reference< utl::AccessibleRelationSetHelperGetRelationSet (const ScAddress *pAddress) const
 ======== internal ===================================================== More...
 
css::uno::Reference< css::accessibility::XAccessible > GetAccessibleSpreadsheet ()
 
SCTAB getVisibleTable () const
 
ScDocumentGetDocument () const
 
ScAddress GetCurCellAddress () const
 
virtual sal_Int32 SAL_CALL getForeground () override
 
virtual sal_Int32 SAL_CALL getBackground () override
 
- Public Member Functions inherited from ScAccessibleDocumentBase
 ScAccessibleDocumentBase (const css::uno::Reference< css::accessibility::XAccessible > &rxParent)
 
- Public Member Functions inherited from ScAccessibleContextBase
 ScAccessibleContextBase (css::uno::Reference< css::accessibility::XAccessible > xParent, const sal_Int16 aRole)
 
virtual void Init ()
 
virtual void SAL_CALL disposing () override
 
bool isShowing ()
 
virtual bool isVisible ()
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override
 ===== SfxListener ===================================================== More...
 
virtual css::uno::Reference< css::accessibility::XAccessibleContext > SAL_CALL getAccessibleContext () override
 ===== XAccessible ===================================================== More...
 
virtual sal_Bool SAL_CALL containsPoint (const css::awt::Point &rPoint) override
 ===== XAccessibleComponent ============================================ More...
 
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleAtPoint (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 void SAL_CALL grabFocus () override
 
virtual sal_Int32 SAL_CALL getForeground () override
 
virtual sal_Int32 SAL_CALL getBackground () override
 
virtual sal_Int64 SAL_CALL getAccessibleChildCount () override
 ===== XAccessibleContext ============================================== More...
 
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleChild (sal_Int64 nIndex) override
 Return the specified child or NULL if index is invalid. More...
 
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleParent () override
 Return a reference to the parent. More...
 
virtual sal_Int64 SAL_CALL getAccessibleIndexInParent () override
 Return this objects index among the parents children. More...
 
virtual sal_Int16 SAL_CALL getAccessibleRole () override
 Return this object's role. More...
 
virtual OUString SAL_CALL getAccessibleDescription () override
 Return this object's description. More...
 
virtual OUString SAL_CALL getAccessibleName () override
 Return the object's current name. More...
 
virtual css::uno::Reference< css::accessibility::XAccessibleRelationSet > SAL_CALL getAccessibleRelationSet () override
 Return NULL to indicate that an empty relation set. More...
 
virtual sal_Int64 SAL_CALL getAccessibleStateSet () override
 Return the set of current states. More...
 
virtual css::lang::Locale SAL_CALL getLocale () override
 Return the parents locale or throw exception if this object has no parent yet/anymore. More...
 
virtual void SAL_CALL addAccessibleEventListener (const css::uno::Reference< css::accessibility::XAccessibleEventListener > &xListener) override
 ===== XAccessibleEventBroadcaster ===================================== More...
 
virtual void SAL_CALL removeAccessibleEventListener (const css::uno::Reference< css::accessibility::XAccessibleEventListener > &xListener) override
 
virtual void SAL_CALL disposing (const css::lang::EventObject &Source) override
 ===== XAccessibleEventListener ======================================== More...
 
virtual void SAL_CALL notifyEvent (const css::accessibility::AccessibleEventObject &aEvent) override
 
virtual OUString SAL_CALL getImplementationName () override
 ===== XServiceInfo ==================================================== More...
 
virtual sal_Bool SAL_CALL supportsService (const OUString &sServiceName) override
 Return whether the specified service is supported by this class. More...
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 Returns a list of all supported services. More...
 
void CommitChange (const css::accessibility::AccessibleEventObject &rEvent) const
 Calls all Listener to tell they the change. More...
 
void SetName (const OUString &rName)
 Use this method to set initial Name without notification. More...
 
void SetDescription (const OUString &rDesc)
 Use this method to set initial Description without notification. More...
 
void SetParent (const css::uno::Reference< css::accessibility::XAccessible > &rParent)
 
- Public Member Functions inherited from SfxListener
 SfxListener ()
 
 SfxListener (const SfxListener &rCopy)
 
virtual ~SfxListener () COVERITY_NOEXCEPT_FALSE
 
void StartListening (SfxBroadcaster &rBroadcaster, DuplicateHandling eDuplicateHanding=DuplicateHandling::Unexpected)
 
void EndListening (SfxBroadcaster &rBroadcaster, bool bRemoveAllDuplicates=false)
 
void EndListeningAll ()
 
bool IsListening (SfxBroadcaster &rBroadcaster) const
 
sal_uInt16 GetBroadcasterCount () const
 
SfxBroadcasterGetBroadcasterJOE (sal_uInt16 nNo) const
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint)
 
void RemoveBroadcaster_Impl (SfxBroadcaster &rBC)
 
virtual bool IsSdrView () const
 
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
 
- Public Member Functions inherited from accessibility::IAccessibleViewForwarder
 IAccessibleViewForwarder ()=default
 
 IAccessibleViewForwarder (IAccessibleViewForwarder const &)=default
 
 IAccessibleViewForwarder (IAccessibleViewForwarder &&)=default
 
IAccessibleViewForwarderoperator= (IAccessibleViewForwarder const &)=default
 
IAccessibleViewForwarderoperator= (IAccessibleViewForwarder &&)=default
 
virtual ~IAccessibleViewForwarder ()
 
virtual tools::Rectangle GetVisibleArea () const=0
 
virtual Point LogicToPixel (const Point &rPoint) const=0
 
virtual Size LogicToPixel (const Size &rSize) const=0
 

Protected Member Functions

virtual ~ScAccessibleDocument () override
 
virtual OUString createAccessibleDescription () override
 Return this object's description. More...
 
virtual OUString createAccessibleName () override
 Return the object's current name. More...
 
virtual tools::Rectangle GetBoundingBoxOnScreen () const override
 Return the object's current bounding box relative to the desktop. More...
 
virtual tools::Rectangle GetBoundingBox () const override
 Return the object's current bounding box relative to the parent object. More...
 
- Protected Member Functions inherited from ScAccessibleDocumentBase
virtual ~ScAccessibleDocumentBase () override
 
- Protected Member Functions inherited from ScAccessibleContextBase
virtual ~ScAccessibleContextBase () override
 
virtual OUString createAccessibleDescription ()
 Return this object's description. More...
 
virtual OUString createAccessibleName ()
 Return the object's current name. More...
 
virtual tools::Rectangle GetBoundingBoxOnScreen () const
 Return the object's current bounding box relative to the desktop. More...
 
virtual tools::Rectangle GetBoundingBox () const
 Return the object's current bounding box relative to the parent object. More...
 
void CommitFocusGained () const
 Calls all FocusListener to tell they that the focus is gained. More...
 
void CommitFocusLost () const
 Calls all FocusListener to tell they that the focus is lost. More...
 
bool IsDefunc () const
 
void IsObjectValid () const
 
- Protected Member Functions inherited from cppu::ImplHelper3< class Ifc1, class Ifc2, class Ifc3 >
 ~ImplHelper3 () SAL_NOEXCEPT
 

Private Member Functions

void FreeAccessibleSpreadsheet ()
 
bool IsTableSelected () const
 
bool IsDefunc (sal_Int64 nParentStates)
 
void AddChild (const css::uno::Reference< css::accessibility::XAccessible > &xAcc, bool bFireEvent)
 
void RemoveChild (const css::uno::Reference< css::accessibility::XAccessible > &xAcc, bool bFireEvent)
 
OUString GetCurrentCellName () const
 
tools::Rectangle GetVisibleArea_Impl () const
 ===== IAccessibleViewForwarder ======================================== More...
 

Static Private Member Functions

static OUString GetCurrentCellDescription ()
 

Private Attributes

ScTabViewShellmpViewShell
 
ScSplitPos meSplitPos
 
rtl::Reference< ScAccessibleSpreadsheetmpAccessibleSpreadsheet
 
std::unique_ptr< ScChildrenShapesmpChildrenShapes
 
rtl::Reference< ScAccessibleEditObjectmpTempAccEdit
 
css::uno::Reference< css::accessibility::XAccessible > mxTempAcc
 
tools::Rectangle maVisArea
 
bool mbCompleteSheetSelected
 

Additional Inherited Members

- Protected Attributes inherited from ScAccessibleContextBase
css::uno::Reference< css::accessibility::XAccessible > mxParent
 Reference to the parent object. More...
 
- Protected Attributes inherited from cppu::BaseMutex
mutable::osl::Mutex m_aMutex
 

Detailed Description

Definition at line 51 of file AccessibleDocument.hxx.

Constructor & Destructor Documentation

◆ ScAccessibleDocument()

ScAccessibleDocument::ScAccessibleDocument ( const css::uno::Reference< css::accessibility::XAccessible > &  rxParent,
ScTabViewShell pViewShell,
ScSplitPos  eSplitPos 
)

Definition at line 1319 of file AccessibleDocument.cxx.

References GetVisibleArea_Impl(), and maVisArea.

◆ ~ScAccessibleDocument()

ScAccessibleDocument::~ScAccessibleDocument ( )
overrideprotectedvirtual

Member Function Documentation

◆ acquire()

void SAL_CALL ScAccessibleDocument::acquire ( )
overridevirtualnoexcept

Definition at line 1613 of file AccessibleDocument.cxx.

◆ AddChild()

void ScAccessibleDocument::AddChild ( const css::uno::Reference< css::accessibility::XAccessible > &  xAcc,
bool  bFireEvent 
)
private

◆ clearAccessibleSelection()

void SAL_CALL ScAccessibleDocument::clearAccessibleSelection ( )
overridevirtual

◆ createAccessibleDescription()

OUString ScAccessibleDocument::createAccessibleDescription ( )
overrideprotectedvirtual

Return this object's description.

Reimplemented from ScAccessibleContextBase.

Definition at line 2041 of file AccessibleDocument.cxx.

References STR_ACC_DOC_DESCR.

◆ createAccessibleName()

OUString ScAccessibleDocument::createAccessibleName ( )
overrideprotectedvirtual

Return the object's current name.

Reimplemented from ScAccessibleContextBase.

Definition at line 2047 of file AccessibleDocument.cxx.

References ScAccessibleContextBase::IsObjectValid(), meSplitPos, ScResId(), and sName.

◆ DECL_LINK()

ScAccessibleDocument::DECL_LINK ( WindowChildEventListener  ,
VclWindowEvent ,
void   
)

◆ deselectAccessibleChild()

void SAL_CALL ScAccessibleDocument::deselectAccessibleChild ( sal_Int64  nChildIndex)
overridevirtual

◆ disposing() [1/2]

void SAL_CALL ScAccessibleDocument::disposing ( )
overridevirtual

◆ disposing() [2/2]

virtual void SAL_CALL ScAccessibleDocument::disposing ( const css::lang::EventObject &  Source)
overridevirtual

===== XAccessibleEventListener ========================================

Reimplemented from ScAccessibleContextBase.

◆ FreeAccessibleSpreadsheet()

void ScAccessibleDocument::FreeAccessibleSpreadsheet ( )
private

Definition at line 2101 of file AccessibleDocument.cxx.

References mpAccessibleSpreadsheet.

Referenced by disposing(), and Notify().

◆ getAccessibleAtPoint()

uno::Reference< XAccessible > SAL_CALL ScAccessibleDocument::getAccessibleAtPoint ( const css::awt::Point &  rPoint)
overridevirtual

===== XAccessibleComponent ============================================

Reimplemented from ScAccessibleContextBase.

Definition at line 1627 of file AccessibleDocument.cxx.

References tools::Rectangle::Contains(), ScAccessibleContextBase::containsPoint(), GetAccessibleSpreadsheet(), ScAccessibleContextBase::IsObjectValid(), mpChildrenShapes, mxTempAcc, VCLPoint(), and VCLRectangle().

◆ getAccessibleChild()

uno::Reference< XAccessible > SAL_CALL ScAccessibleDocument::getAccessibleChild ( sal_Int64  nIndex)
overridevirtual

Return the specified child or NULL if index is invalid.

Reimplemented from ScAccessibleContextBase.

Definition at line 1698 of file AccessibleDocument.cxx.

References GetAccessibleSpreadsheet(), ScAccessibleContextBase::IsObjectValid(), mpChildrenShapes, mxTempAcc, nCount, and nIndex.

◆ getAccessibleChildCount()

sal_Int64 SAL_CALL ScAccessibleDocument::getAccessibleChildCount ( )
overridevirtual

===== XAccessibleContext ==============================================

Return the number of currently visible children.

Reimplemented from ScAccessibleContextBase.

Definition at line 1682 of file AccessibleDocument.cxx.

References ScAccessibleContextBase::IsObjectValid(), mpChildrenShapes, mxTempAcc, and nCount.

Referenced by AddChild().

◆ getAccessibleName()

OUString SAL_CALL ScAccessibleDocument::getAccessibleName ( )
overridevirtual

◆ GetAccessibleSpreadsheet()

uno::Reference< XAccessible > ScAccessibleDocument::GetAccessibleSpreadsheet ( )

◆ getAccessibleStateSet()

sal_Int64 SAL_CALL ScAccessibleDocument::getAccessibleStateSet ( )
overridevirtual

◆ getBackground()

sal_Int32 SAL_CALL ScAccessibleDocument::getBackground ( )
overridevirtual

Reimplemented from ScAccessibleContextBase.

Definition at line 2219 of file AccessibleDocument.cxx.

References ScAccessibleContextBase::IsObjectValid(), and SC_MOD.

◆ GetBoundingBox()

tools::Rectangle ScAccessibleDocument::GetBoundingBox ( ) const
overrideprotectedvirtual

Return the object's current bounding box relative to the parent object.

Reimplemented from ScAccessibleContextBase.

Definition at line 2069 of file AccessibleDocument.cxx.

References vcl::Window::GetAccessibleParentWindow(), ScTabView::GetWindowByPos(), vcl::Window::GetWindowExtentsRelative(), meSplitPos, and mpViewShell.

Referenced by GetVisibleArea_Impl().

◆ GetBoundingBoxOnScreen()

tools::Rectangle ScAccessibleDocument::GetBoundingBoxOnScreen ( ) const
overrideprotectedvirtual

Return the object's current bounding box relative to the desktop.

Reimplemented from ScAccessibleContextBase.

Definition at line 2057 of file AccessibleDocument.cxx.

References ScTabView::GetWindowByPos(), vcl::Window::GetWindowExtentsAbsolute(), meSplitPos, and mpViewShell.

◆ GetCurCellAddress()

ScAddress ScAccessibleDocument::GetCurCellAddress ( ) const

◆ GetCurrentCellDescription()

OUString ScAccessibleDocument::GetCurrentCellDescription ( )
staticprivate

Definition at line 2180 of file AccessibleDocument.cxx.

Referenced by PreInit().

◆ GetCurrentCellName()

OUString ScAccessibleDocument::GetCurrentCellName ( ) const
private

◆ GetDocument()

ScDocument * ScAccessibleDocument::GetDocument ( ) const

◆ getExtendedAttributes()

uno::Any SAL_CALL ScAccessibleDocument::getExtendedAttributes ( )
overridevirtual

Definition at line 2195 of file AccessibleDocument.cxx.

References GetDocument(), ScDocument::GetName(), and getVisibleTable().

◆ getForeground()

sal_Int32 SAL_CALL ScAccessibleDocument::getForeground ( )
overridevirtual

Reimplemented from ScAccessibleContextBase.

Definition at line 2214 of file AccessibleDocument.cxx.

References COL_BLACK().

◆ getImplementationId()

uno::Sequence< sal_Int8 > SAL_CALL ScAccessibleDocument::getImplementationId ( )
overridevirtual

Returns an implementation id.

Reimplemented from cppu::ImplHelper3< class Ifc1, class Ifc2, class Ifc3 >.

Definition at line 1972 of file AccessibleDocument.cxx.

◆ getImplementationName()

OUString SAL_CALL ScAccessibleDocument::getImplementationName ( )
overridevirtual

===== XServiceInfo ===================================================

Returns an identifier for the implementation of this object.

Reimplemented from ScAccessibleContextBase.

Definition at line 1952 of file AccessibleDocument.cxx.

◆ GetRelationSet()

rtl::Reference< utl::AccessibleRelationSetHelper > ScAccessibleDocument::GetRelationSet ( const ScAddress pAddress) const

======== internal =====================================================

Definition at line 2032 of file AccessibleDocument.cxx.

References mpChildrenShapes.

Referenced by ScAccessibleCell::getAccessibleRelationSet(), and ScAccessibleSpreadsheet::getAccessibleRelationSet().

◆ getSelectedAccessibleChild()

uno::Reference< XAccessible > SAL_CALL ScAccessibleDocument::getSelectedAccessibleChild ( sal_Int64  nSelectedChildIndex)
overridevirtual

◆ getSelectedAccessibleChildCount()

sal_Int64 SAL_CALL ScAccessibleDocument::getSelectedAccessibleChildCount ( )
overridevirtual

◆ getSupportedServiceNames()

uno::Sequence< OUString > SAL_CALL ScAccessibleDocument::getSupportedServiceNames ( )
overridevirtual

Returns a list of all supported services.

Reimplemented from ScAccessibleContextBase.

Definition at line 1958 of file AccessibleDocument.cxx.

References comphelper::concatSequences(), and ScAccessibleContextBase::getSupportedServiceNames().

◆ getTypes()

uno::Sequence< uno::Type > SAL_CALL ScAccessibleDocument::getTypes ( )
overridevirtual

===== XTypeProvider ===================================================

returns the possible types

Reimplemented from cppu::ImplHelper3< class Ifc1, class Ifc2, class Ifc3 >.

Definition at line 1966 of file AccessibleDocument.cxx.

References comphelper::concatSequences(), and cppu::ImplHelper3< class Ifc1, class Ifc2, class Ifc3 >::getTypes().

◆ GetVisibleArea()

tools::Rectangle ScAccessibleDocument::GetVisibleArea ( ) const
overridevirtual

===== IAccessibleViewForwarder ========================================

Returns the area of the underlying document that is visible in the corresponding window.

Returns
The rectangle of the visible part of the document. The values are, contrary to the base class, in internal coordinates.

Implements accessibility::IAccessibleViewForwarder.

Definition at line 1998 of file AccessibleDocument.cxx.

References ScAccessibleContextBase::IsObjectValid(), and maVisArea.

◆ GetVisibleArea_Impl()

tools::Rectangle ScAccessibleDocument::GetVisibleArea_Impl ( ) const
private

◆ getVisibleTable()

SCTAB ScAccessibleDocument::getVisibleTable ( ) const

◆ grabFocus()

void SAL_CALL ScAccessibleDocument::grabFocus ( )
overridevirtual

◆ Init()

void ScAccessibleDocument::Init ( void  )
overridevirtual

Reimplemented from ScAccessibleContextBase.

Definition at line 1360 of file AccessibleDocument.cxx.

References meSplitPos, mpChildrenShapes, and mpViewShell.

◆ isAccessibleChildSelected()

sal_Bool SAL_CALL ScAccessibleDocument::isAccessibleChildSelected ( sal_Int64  nChildIndex)
overridevirtual

◆ IsDefunc()

bool ScAccessibleDocument::IsDefunc ( sal_Int64  nParentStates)
private

◆ IsTableSelected()

bool ScAccessibleDocument::IsTableSelected ( ) const
private

◆ LogicToPixel() [1/2]

Point ScAccessibleDocument::LogicToPixel ( const Point rPoint) const
overridevirtual

Transform the specified point from internal coordinates to an absolute screen position.

Parameters
rPointPoint in internal coordinates.
Returns
The same point but in screen coordinates relative to the upper left corner of the (current) screen.

Implements accessibility::IAccessibleViewForwarder.

Definition at line 2005 of file AccessibleDocument.cxx.

References ScGridWindow::GetDrawMapMode(), ScTabView::GetWindowByPos(), vcl::Window::GetWindowExtentsAbsolute(), ScAccessibleContextBase::IsObjectValid(), vcl::Window::LogicToPixel(), meSplitPos, mpViewShell, and tools::Rectangle::TopLeft().

◆ LogicToPixel() [2/2]

Size ScAccessibleDocument::LogicToPixel ( const Size rSize) const
overridevirtual

Transform the specified size from internal coordinates to a screen oriented pixel size.

Parameters
rSizeSize in internal coordinates.
Returns
The same size but in screen coordinates.

Implements accessibility::IAccessibleViewForwarder.

Definition at line 2019 of file AccessibleDocument.cxx.

References ScGridWindow::GetDrawMapMode(), ScTabView::GetWindowByPos(), ScAccessibleContextBase::IsObjectValid(), vcl::Window::LogicToPixel(), meSplitPos, and mpViewShell.

◆ Notify()

void ScAccessibleDocument::Notify ( SfxBroadcaster rBC,
const SfxHint rHint 
)
overridevirtual

◆ PreInit()

void ScAccessibleDocument::PreInit ( )

◆ queryInterface()

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

===== XInterface =====================================================

Reimplemented from cppu::ImplHelper3< class Ifc1, class Ifc2, class Ifc3 >.

Definition at line 1607 of file AccessibleDocument.cxx.

References uno::Any::hasValue(), and cppu::ImplHelper3< class Ifc1, class Ifc2, class Ifc3 >::queryInterface().

◆ release()

void SAL_CALL ScAccessibleDocument::release ( )
overridevirtualnoexcept

Definition at line 1619 of file AccessibleDocument.cxx.

◆ RemoveChild()

void ScAccessibleDocument::RemoveChild ( const css::uno::Reference< css::accessibility::XAccessible > &  xAcc,
bool  bFireEvent 
)
private

Definition at line 2149 of file AccessibleDocument.cxx.

References aEvent, ScAccessibleContextBase::CommitChange(), and mxTempAcc.

Referenced by Notify().

◆ selectAccessibleChild()

void SAL_CALL ScAccessibleDocument::selectAccessibleChild ( sal_Int64  nChildIndex)
overridevirtual

===== XAccessibleSelection ===========================================

Definition at line 1789 of file AccessibleDocument.cxx.

References ScAccessibleContextBase::IsObjectValid(), IsTableSelected(), mpChildrenShapes, mpViewShell, mxTempAcc, nCount, and ScTabView::SelectAll().

◆ selectAllAccessibleChildren()

void SAL_CALL ScAccessibleDocument::selectAllAccessibleChildren ( )
overridevirtual

◆ selectionChanged()

void SAL_CALL ScAccessibleDocument::selectionChanged ( const css::lang::EventObject &  aEvent)
overridevirtual

===== XSelectionListener =============================================

Definition at line 1578 of file AccessibleDocument.cxx.

References aEvent, ScAccessibleContextBase::CommitChange(), IsTableSelected(), mbCompleteSheetSelected, mpAccessibleSpreadsheet, and mpChildrenShapes.

Member Data Documentation

◆ maVisArea

tools::Rectangle ScAccessibleDocument::maVisArea
private

Definition at line 232 of file AccessibleDocument.hxx.

Referenced by GetVisibleArea(), Notify(), and ScAccessibleDocument().

◆ mbCompleteSheetSelected

bool ScAccessibleDocument::mbCompleteSheetSelected
private

Definition at line 233 of file AccessibleDocument.hxx.

Referenced by GetAccessibleSpreadsheet(), and selectionChanged().

◆ meSplitPos

ScSplitPos ScAccessibleDocument::meSplitPos
private

◆ mpAccessibleSpreadsheet

rtl::Reference<ScAccessibleSpreadsheet> ScAccessibleDocument::mpAccessibleSpreadsheet
private

◆ mpChildrenShapes

std::unique_ptr<ScChildrenShapes> ScAccessibleDocument::mpChildrenShapes
private

◆ mpTempAccEdit

rtl::Reference<ScAccessibleEditObject> ScAccessibleDocument::mpTempAccEdit
private

Definition at line 230 of file AccessibleDocument.hxx.

Referenced by Notify().

◆ mpViewShell

ScTabViewShell* ScAccessibleDocument::mpViewShell
private

◆ mxTempAcc

css::uno::Reference<css::accessibility::XAccessible> ScAccessibleDocument::mxTempAcc
private

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