20#ifndef INCLUDED_SD_SOURCE_UI_INC_ACCESSIBLEDOCUMENTVIEWBASE_HXX
21#define INCLUDED_SD_SOURCE_UI_INC_ACCESSIBLEDOCUMENTVIEWBASE_HXX
30#include <com/sun/star/awt/XWindowListener.hpp>
31#include <com/sun/star/awt/XFocusListener.hpp>
32#include <com/sun/star/beans/XPropertyChangeListener.hpp>
35#include <com/sun/star/accessibility/XAccessibleExtendedAttributes.hpp>
86 public css::beans::XPropertyChangeListener,
87 public css::awt::XWindowListener,
88 public css::awt::XFocusListener,
89 public css::accessibility::XAccessibleExtendedAttributes
109 css::uno::Reference<css::frame::XController>
xController,
110 const css::uno::Reference<css::accessibility::XAccessible>& rxParent);
136 virtual css::uno::Reference<css::accessibility::XAccessible> SAL_CALL
142 virtual sal_Int64 SAL_CALL
148 virtual css::uno::Reference<css::accessibility::XAccessible> SAL_CALL
153 virtual css::uno::Reference<css::accessibility::XAccessible > SAL_CALL
156 virtual css::awt::Rectangle SAL_CALL
getBounds()
override;
158 virtual css::awt::Point SAL_CALL
getLocation()
override;
162 virtual css::awt::Size SAL_CALL
getSize()
override;
166 virtual css::uno::Any SAL_CALL
169 virtual void SAL_CALL
173 virtual
void SAL_CALL
181 virtual OUString SAL_CALL
184 virtual css::
uno::Sequence< OUString> SAL_CALL
189 virtual css::
uno::Sequence< css::
uno::
Type> SAL_CALL
194 virtual
void SAL_CALL
195 disposing (const css::lang::EventObject& rEventObject) override;
199 virtual
void SAL_CALL
200 propertyChange (const css::beans::PropertyChangeEvent& rEventObject) override;
204 virtual
void SAL_CALL
207 virtual
void SAL_CALL
208 windowMoved (const css::awt::WindowEvent& e) override;
210 virtual
void SAL_CALL
211 windowShown (const css::lang::EventObject& e) override;
213 virtual
void SAL_CALL
214 windowHidden (const css::lang::EventObject& e) override;
218 virtual
void SAL_CALL
focusGained (const css::awt::FocusEvent& e) override;
219 virtual
void SAL_CALL
focusLost (const css::awt::FocusEvent& e) override;
226 virtual ::
osl::Mutex&
239 implSelect( sal_Int64 nAccessibleChildIndex,
bool bSelect ) override;
243 css::
uno::Reference< css::awt::XWindow>
247 css::
uno::Reference< css::frame::XController>
251 css::
uno::Reference < css::frame::XModel>
270 virtual
void SAL_CALL
disposing() override;
Base class for the various document views of the Draw and Impress applications.
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleParent() override
virtual void SAL_CALL windowShown(const css::lang::EventObject &e) override
virtual sal_Int32 SAL_CALL getBackground() override
virtual void SAL_CALL release() noexcept override
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleChild(sal_Int64 nIndex) override
This implementation either returns the active accessible OLE object if it exists and the given index ...
virtual void SAL_CALL focusLost(const css::awt::FocusEvent &e) override
virtual void SAL_CALL windowHidden(const css::lang::EventObject &e) override
void SetAccessibleOLEObject(const css::uno::Reference< css::accessibility::XAccessible > &xOLEObject)
Set or remove the currently active accessible OLE object.
virtual css::awt::Rectangle SAL_CALL getBounds() override
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleAtPoint(const css::awt::Point &aPoint) override
Iterate over all children and test whether the specified point lies within one of their bounding boxe...
virtual css::awt::Size SAL_CALL getSize() override
virtual void SAL_CALL disposing() override
virtual sal_Int32 SAL_CALL getForeground() override
AccessibleDocumentViewBase(::sd::Window *pSdWindow, ::sd::ViewShell *pViewShell, css::uno::Reference< css::frame::XController > xController, const css::uno::Reference< css::accessibility::XAccessible > &rxParent)
Create a new object.
virtual css::awt::Point SAL_CALL getLocation() override
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override
virtual sal_Int64 SAL_CALL getAccessibleChildCount() override
This implementation returns either 1 or 0 depending on whether there is an active accessible OLE obje...
virtual void Deactivated()
This method is called when (before or after?) the frame containing this document has been deactivated...
virtual void Activated()
This method is called when (after) the frame containing this document has been activated.
virtual css::uno::Any SAL_CALL getExtendedAttributes() override
virtual bool implIsSelected(sal_Int64 nAccessibleChildIndex) override
virtual void ViewForwarderChanged() override
A view forwarder change is signalled for instance when any of the window events is received.
virtual void SAL_CALL propertyChange(const css::beans::PropertyChangeEvent &rEventObject) override
virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type &rType) override
virtual css::uno::Reference< css::accessibility::XAccessibleContext > implGetAccessibleContext() override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
void SwitchViewActivated()
virtual void implSelect(sal_Int64 nAccessibleChildIndex, bool bSelect) override
::sd::ViewShell * mpViewShell
virtual void Init()
Initialize a new object.
css::uno::Reference< css::awt::XWindow > mxWindow
The API window that is made accessible.
css::uno::Reference< css::frame::XModel > mxModel
Model of the document.
css::uno::Reference< css::frame::XController > mxController
The controller of the window in which this view is displayed.
virtual void SAL_CALL focusGained(const css::awt::FocusEvent &e) override
virtual ::osl::Mutex & implGetMutex() override
Link< VclWindowEvent &, void > maWindowLink
virtual void SAL_CALL windowMoved(const css::awt::WindowEvent &e) override
virtual void impl_dispose()
css::uno::Reference< css::accessibility::XAccessible > mxAccessibleOLEObject
Accessible OLE object.
AccessibleViewForwarder maViewForwarder
The view forwarder passed to the children manager.
virtual OUString SAL_CALL getImplementationName() override
Returns an identifier for the implementation of this object.
virtual css::awt::Point SAL_CALL getLocationOnScreen() override
virtual void SAL_CALL acquire() noexcept override
virtual OUString CreateAccessibleName() override
Create a name string.
virtual void SAL_CALL windowResized(const css::awt::WindowEvent &e) override
AccessibleShapeTreeInfo maShapeTreeInfo
virtual ~AccessibleDocumentViewBase() override
DECL_LINK(WindowChildEventListener, VclWindowEvent &, void)
Define callback for listening to window child events of VCL.
Base class of the stacked shell hierarchy.
An SdWindow contains the actual working area of ViewShell.
Reference< XController > xController