LibreOffice Module sc (master) 1
|
#include <AccessibleDocument.hxx>
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::AccessibleRelationSetHelper > | GetRelationSet (const ScAddress *pAddress) const |
======== internal ===================================================== More... | |
css::uno::Reference< css::accessibility::XAccessible > | GetAccessibleSpreadsheet () |
SCTAB | getVisibleTable () const |
ScDocument * | GetDocument () 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 |
SfxBroadcaster * | GetBroadcasterJOE (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 | |
IAccessibleViewForwarder & | operator= (IAccessibleViewForwarder const &)=default |
IAccessibleViewForwarder & | operator= (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 | |
ScTabViewShell * | mpViewShell |
ScSplitPos | meSplitPos |
rtl::Reference< ScAccessibleSpreadsheet > | mpAccessibleSpreadsheet |
std::unique_ptr< ScChildrenShapes > | mpChildrenShapes |
rtl::Reference< ScAccessibleEditObject > | mpTempAccEdit |
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 |
Definition at line 51 of file AccessibleDocument.hxx.
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.
|
overrideprotectedvirtual |
Definition at line 1366 of file AccessibleDocument.cxx.
References dispose(), ScAccessibleContextBase::IsDefunc(), and m_refCount.
|
overridevirtualnoexcept |
Definition at line 1613 of file AccessibleDocument.cxx.
|
private |
Definition at line 2131 of file AccessibleDocument.cxx.
References aEvent, ScAccessibleContextBase::CommitChange(), getAccessibleChildCount(), and mxTempAcc.
|
overridevirtual |
Definition at line 1850 of file AccessibleDocument.cxx.
References ScAccessibleContextBase::IsObjectValid(), and mpChildrenShapes.
|
overrideprotectedvirtual |
Return this object's description.
Reimplemented from ScAccessibleContextBase.
Definition at line 2041 of file AccessibleDocument.cxx.
References STR_ACC_DOC_DESCR.
|
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.
ScAccessibleDocument::DECL_LINK | ( | WindowChildEventListener | , |
VclWindowEvent & | , | ||
void | |||
) |
|
overridevirtual |
Definition at line 1922 of file AccessibleDocument.cxx.
References ScAccessibleContextBase::IsObjectValid(), IsTableSelected(), mpChildrenShapes, mpViewShell, mxTempAcc, nCount, ScTabView::SelectAll(), and ScTabView::Unmark().
|
overridevirtual |
Reimplemented from ScAccessibleContextBase.
Definition at line 1376 of file AccessibleDocument.cxx.
References ScAccessibleContextBase::disposing(), FreeAccessibleSpreadsheet(), ScTabView::GetWindowByPos(), LINK, meSplitPos, mpChildrenShapes, mpViewShell, ScTabViewShell::RemoveAccessibilityObject(), and vcl::Window::RemoveChildEventListener().
|
overridevirtual |
===== XAccessibleEventListener ========================================
Reimplemented from ScAccessibleContextBase.
|
private |
Definition at line 2101 of file AccessibleDocument.cxx.
References mpAccessibleSpreadsheet.
Referenced by disposing(), and Notify().
|
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().
|
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.
|
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().
|
overridevirtual |
Return the object's current name.
Reimplemented from ScAccessibleContextBase.
Definition at line 1754 of file AccessibleDocument.cxx.
References aName, GetDocument(), ScDocument::GetDocumentShell(), SfxObjectShell::GetMedium(), SfxMedium::GetName(), SfxObjectShell::GetTitle(), SfxObjectShell::IsReadOnly(), ScResId(), and SFX_TITLE_APINAME.
uno::Reference< XAccessible > ScAccessibleDocument::GetAccessibleSpreadsheet | ( | ) |
Definition at line 2090 of file AccessibleDocument.cxx.
References getVisibleTable(), IsTableSelected(), mbCompleteSheetSelected, meSplitPos, mpAccessibleSpreadsheet, and mpViewShell.
Referenced by getAccessibleAtPoint(), getAccessibleChild(), ScChildrenShapes::GetRelationSet(), and getSelectedAccessibleChild().
|
overridevirtual |
Return the set of current states.
Reimplemented from ScAccessibleContextBase.
Definition at line 1728 of file AccessibleDocument.cxx.
References ScAccessibleContextBase::getAccessibleParent(), ScAccessibleContextBase::IsDefunc(), ScAccessibleContextBase::isShowing(), and ScAccessibleContextBase::isVisible().
|
overridevirtual |
Reimplemented from ScAccessibleContextBase.
Definition at line 2219 of file AccessibleDocument.cxx.
References ScAccessibleContextBase::IsObjectValid(), and SC_MOD.
|
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().
|
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.
ScAddress ScAccessibleDocument::GetCurCellAddress | ( | ) | const |
Definition at line 2190 of file AccessibleDocument.cxx.
References ScViewData::GetCurPos(), ScTabView::GetViewData(), and mpViewShell.
Referenced by ScAccessibleEditObject::InitAcc().
|
staticprivate |
Definition at line 2180 of file AccessibleDocument.cxx.
Referenced by PreInit().
|
private |
Definition at line 2168 of file AccessibleDocument.cxx.
References ScAddress::Format(), ScViewData::GetCurPos(), ScTabView::GetViewData(), mpViewShell, ScResId(), sName, and VALID.
ScDocument * ScAccessibleDocument::GetDocument | ( | ) | const |
Definition at line 2185 of file AccessibleDocument.cxx.
References ScViewData::GetDocument(), ScTabView::GetViewData(), and mpViewShell.
Referenced by getAccessibleName(), getExtendedAttributes(), ScAccessibleEditObject::InitAcc(), and IsTableSelected().
|
overridevirtual |
Definition at line 2195 of file AccessibleDocument.cxx.
References GetDocument(), ScDocument::GetName(), and getVisibleTable().
|
overridevirtual |
Reimplemented from ScAccessibleContextBase.
Definition at line 2214 of file AccessibleDocument.cxx.
References COL_BLACK().
|
overridevirtual |
Returns an implementation id.
Reimplemented from cppu::ImplHelper3< class Ifc1, class Ifc2, class Ifc3 >.
Definition at line 1972 of file AccessibleDocument.cxx.
|
overridevirtual |
===== XServiceInfo ===================================================
Returns an identifier for the implementation of this object.
Reimplemented from ScAccessibleContextBase.
Definition at line 1952 of file AccessibleDocument.cxx.
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().
|
overridevirtual |
Definition at line 1895 of file AccessibleDocument.cxx.
References GetAccessibleSpreadsheet(), getSelectedAccessibleChildCount(), ScAccessibleContextBase::IsObjectValid(), IsTableSelected(), mpChildrenShapes, mxTempAcc, and nCount.
|
overridevirtual |
Definition at line 1876 of file AccessibleDocument.cxx.
References ScAccessibleContextBase::IsObjectValid(), IsTableSelected(), mpChildrenShapes, mxTempAcc, and nCount.
Referenced by getSelectedAccessibleChild().
|
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().
|
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().
|
overridevirtual |
===== IAccessibleViewForwarder ========================================
Returns the area of the underlying document that is visible in the corresponding window.
Implements accessibility::IAccessibleViewForwarder.
Definition at line 1998 of file AccessibleDocument.cxx.
References ScAccessibleContextBase::IsObjectValid(), and maVisArea.
|
private |
===== IAccessibleViewForwarder ========================================
Definition at line 1979 of file AccessibleDocument.cxx.
References GetBoundingBox(), ScGridWindow::GetDrawMapMode(), ScViewData::GetPixPos(), ScTabView::GetViewData(), ScTabView::GetWindowByPos(), Point::getX(), Point::getY(), meSplitPos, mpViewShell, vcl::Window::PixelToLogic(), tools::Rectangle::SetPos(), Point::setX(), and Point::setY().
Referenced by Notify(), and ScAccessibleDocument().
SCTAB ScAccessibleDocument::getVisibleTable | ( | ) | const |
Definition at line 2081 of file AccessibleDocument.cxx.
References ScViewData::GetTabNo(), ScTabView::GetViewData(), and mpViewShell.
Referenced by GetAccessibleSpreadsheet(), ScChildrenShapes::GetDrawPage(), getExtendedAttributes(), and IsTableSelected().
|
overridevirtual |
Reimplemented from ScAccessibleContextBase.
Definition at line 1657 of file AccessibleDocument.cxx.
References ScTabView::ActivatePart(), ScAccessibleContextBase::getAccessibleContext(), ScAccessibleContextBase::getAccessibleParent(), ScViewData::GetActivePart(), ScTabView::GetViewData(), ScTabView::GetWindowByPos(), ScAccessibleContextBase::IsObjectValid(), vcl::Window::IsVisible(), meSplitPos, and mpViewShell.
|
overridevirtual |
Reimplemented from ScAccessibleContextBase.
Definition at line 1360 of file AccessibleDocument.cxx.
References meSplitPos, mpChildrenShapes, and mpViewShell.
|
overridevirtual |
Definition at line 1818 of file AccessibleDocument.cxx.
References ScAccessibleContextBase::IsObjectValid(), IsTableSelected(), mpChildrenShapes, mxTempAcc, and nCount.
|
private |
Definition at line 2125 of file AccessibleDocument.cxx.
References ScAccessibleContextBase::getAccessibleParent(), ScAccessibleContextBase::IsDefunc(), and mpViewShell.
|
private |
Definition at line 2110 of file AccessibleDocument.cxx.
References GetDocument(), ScViewData::GetMarkData(), ScTabView::GetViewData(), getVisibleTable(), ScMarkData::IsAllMarked(), ScDocument::MaxCol(), ScDocument::MaxRow(), and mpViewShell.
Referenced by deselectAccessibleChild(), GetAccessibleSpreadsheet(), getSelectedAccessibleChild(), getSelectedAccessibleChildCount(), isAccessibleChildSelected(), Notify(), selectAccessibleChild(), and selectionChanged().
Transform the specified point from internal coordinates to an absolute screen position.
rPoint | Point in internal coordinates. |
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().
Transform the specified size from internal coordinates to a screen oriented pixel size.
rSize | Size in internal 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.
|
overridevirtual |
===== SfxListener =====================================================
Reimplemented from ScAccessibleContextBase.
Definition at line 1428 of file AccessibleDocument.cxx.
References AddChild(), aEvent, ScAccessibleEditObject::CellInEditMode, ScAccessibleContextBase::CommitChange(), ScAccessibleContextBase::CommitFocusGained(), ScAccessibleContextBase::CommitFocusLost(), FreeAccessibleSpreadsheet(), GetCurrentCellName(), ScViewData::GetEditActivePart(), ScViewData::GetEditView(), SfxHint::GetId(), tools::Rectangle::GetSize(), ScTabView::GetViewData(), GetVisibleArea_Impl(), ScTabView::GetWindowByPos(), ScTabViewShell::IsActive(), IsTableSelected(), EditEngine::IsUpdateLayout(), maVisArea, meSplitPos, mpAccessibleSpreadsheet, mpChildrenShapes, mpTempAccEdit, mpViewShell, mxTempAcc, ScAccessibleContextBase::Notify(), RemoveChild(), and ScResId().
void ScAccessibleDocument::PreInit | ( | ) |
Definition at line 1331 of file AccessibleDocument.cxx.
References ScTabViewShell::AddAccessibilityObject(), AddChild(), vcl::Window::AddChildEventListener(), ScAccessibleEditObject::CellInEditMode, vcl::Window::GetAccessible(), vcl::Window::GetAccessibleRole(), vcl::Window::GetChild(), vcl::Window::GetChildCount(), GetCurrentCellDescription(), GetCurrentCellName(), ScViewData::GetEditView(), ScTabView::GetViewData(), ScTabView::GetWindowByPos(), ScViewData::HasEditView(), i, LINK, meSplitPos, mpViewShell, and nCount.
|
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().
|
overridevirtualnoexcept |
Definition at line 1619 of file AccessibleDocument.cxx.
|
private |
Definition at line 2149 of file AccessibleDocument.cxx.
References aEvent, ScAccessibleContextBase::CommitChange(), and mxTempAcc.
Referenced by Notify().
|
overridevirtual |
===== XAccessibleSelection ===========================================
Definition at line 1789 of file AccessibleDocument.cxx.
References ScAccessibleContextBase::IsObjectValid(), IsTableSelected(), mpChildrenShapes, mpViewShell, mxTempAcc, nCount, and ScTabView::SelectAll().
|
overridevirtual |
Definition at line 1860 of file AccessibleDocument.cxx.
References ScAccessibleContextBase::IsObjectValid(), mpChildrenShapes, mpViewShell, and ScTabView::SelectAll().
|
overridevirtual |
===== XSelectionListener =============================================
Definition at line 1578 of file AccessibleDocument.cxx.
References aEvent, ScAccessibleContextBase::CommitChange(), IsTableSelected(), mbCompleteSheetSelected, mpAccessibleSpreadsheet, and mpChildrenShapes.
|
private |
Definition at line 232 of file AccessibleDocument.hxx.
Referenced by GetVisibleArea(), Notify(), and ScAccessibleDocument().
|
private |
Definition at line 233 of file AccessibleDocument.hxx.
Referenced by GetAccessibleSpreadsheet(), and selectionChanged().
|
private |
Definition at line 227 of file AccessibleDocument.hxx.
Referenced by createAccessibleName(), disposing(), GetAccessibleSpreadsheet(), GetBoundingBox(), GetBoundingBoxOnScreen(), GetVisibleArea_Impl(), grabFocus(), Init(), LogicToPixel(), Notify(), and PreInit().
|
private |
Definition at line 228 of file AccessibleDocument.hxx.
Referenced by FreeAccessibleSpreadsheet(), GetAccessibleSpreadsheet(), Notify(), and selectionChanged().
|
private |
Definition at line 229 of file AccessibleDocument.hxx.
Referenced by clearAccessibleSelection(), deselectAccessibleChild(), disposing(), getAccessibleAtPoint(), getAccessibleChild(), getAccessibleChildCount(), GetRelationSet(), getSelectedAccessibleChild(), getSelectedAccessibleChildCount(), Init(), isAccessibleChildSelected(), Notify(), selectAccessibleChild(), selectAllAccessibleChildren(), and selectionChanged().
|
private |
Definition at line 230 of file AccessibleDocument.hxx.
Referenced by Notify().
|
private |
Definition at line 226 of file AccessibleDocument.hxx.
Referenced by deselectAccessibleChild(), disposing(), GetAccessibleSpreadsheet(), GetBoundingBox(), GetBoundingBoxOnScreen(), GetCurCellAddress(), GetCurrentCellName(), GetDocument(), GetVisibleArea_Impl(), getVisibleTable(), grabFocus(), Init(), IsDefunc(), IsTableSelected(), LogicToPixel(), Notify(), PreInit(), selectAccessibleChild(), and selectAllAccessibleChildren().
|
private |
Definition at line 231 of file AccessibleDocument.hxx.
Referenced by AddChild(), deselectAccessibleChild(), getAccessibleAtPoint(), getAccessibleChild(), getAccessibleChildCount(), getSelectedAccessibleChild(), getSelectedAccessibleChildCount(), isAccessibleChildSelected(), Notify(), RemoveChild(), and selectAccessibleChild().