LibreOffice Module sd (master) 1
|
Base class for the various document views of the Draw and Impress applications. More...
#include <AccessibleDocumentViewBase.hxx>
Public Member Functions | |
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. More... | |
virtual | ~AccessibleDocumentViewBase () override |
virtual void | Init () |
Initialize a new object. More... | |
DECL_LINK (WindowChildEventListener, VclWindowEvent &, void) | |
Define callback for listening to window child events of VCL. More... | |
virtual void | ViewForwarderChanged () override |
A view forwarder change is signalled for instance when any of the window events is received. More... | |
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL | getAccessibleParent () override |
virtual sal_Int64 SAL_CALL | getAccessibleChildCount () override |
This implementation returns either 1 or 0 depending on whether there is an active accessible OLE object or not. More... | |
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 is 0 or throws an exception. More... | |
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 boxes. More... | |
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 css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &rType) override |
virtual void SAL_CALL | acquire () noexcept override |
virtual void SAL_CALL | release () noexcept override |
virtual OUString SAL_CALL | getImplementationName () override |
Returns an identifier for the implementation of this object. More... | |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
virtual css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes () override |
virtual void SAL_CALL | disposing (const css::lang::EventObject &rEventObject) override |
virtual void SAL_CALL | propertyChange (const css::beans::PropertyChangeEvent &rEventObject) override |
virtual void SAL_CALL | windowResized (const css::awt::WindowEvent &e) override |
virtual void SAL_CALL | windowMoved (const css::awt::WindowEvent &e) override |
virtual void SAL_CALL | windowShown (const css::lang::EventObject &e) override |
virtual void SAL_CALL | windowHidden (const css::lang::EventObject &e) 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::Any SAL_CALL | getExtendedAttributes () override |
void | SwitchViewActivated () |
virtual sal_Int32 SAL_CALL | getForeground () override |
virtual sal_Int32 SAL_CALL | getBackground () override |
virtual void | impl_dispose () |
Public Member Functions inherited from accessibility::AccessibleContextBase | |
AccessibleContextBase (css::uno::Reference< css::accessibility::XAccessible > xParent, const sal_Int16 aRole) | |
virtual | ~AccessibleContextBase () override |
void | CommitChange (sal_Int16 aEventId, const css::uno::Any &rNewValue, const css::uno::Any &rOldValue, sal_Int32 nValueIndex) |
void | SetAccessibleDescription (const OUString &rsDescription, StringOrigin eDescriptionOrigin) |
void | SetAccessibleName (const OUString &rsName, StringOrigin eNameOrigin) |
virtual bool | SetState (sal_Int64 aState) |
virtual bool | ResetState (sal_Int64 aState) |
bool | GetState (sal_Int64 aState) |
void | SetRelationSet (const css::uno::Reference< css::accessibility::XAccessibleRelationSet > &rxRelationSet) |
virtual css::uno::Reference< css::accessibility::XAccessibleContext > SAL_CALL | getAccessibleContext () override |
virtual sal_Int64 SAL_CALL | getAccessibleChildCount () override |
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL | getAccessibleChild (sal_Int64 nIndex) override |
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL | getAccessibleParent () override |
virtual sal_Int64 SAL_CALL | getAccessibleIndexInParent () override |
virtual sal_Int16 SAL_CALL | getAccessibleRole () 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 void SAL_CALL | addAccessibleEventListener (const css::uno::Reference< css::accessibility::XAccessibleEventListener > &xListener) override |
virtual void SAL_CALL | removeAccessibleEventListener (const css::uno::Reference< css::accessibility::XAccessibleEventListener > &xListener) override |
virtual OUString SAL_CALL | getImplementationName () override |
virtual sal_Bool SAL_CALL | supportsService (const OUString &sServiceName) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
virtual css::uno::Sequence< sal_Int8 > SAL_CALL | getImplementationId () override |
bool | IsDisposed () const |
Public Member Functions inherited from accessibility::AccessibleComponentBase | |
AccessibleComponentBase () | |
virtual | ~AccessibleComponentBase () |
virtual sal_Bool SAL_CALL | containsPoint (const css::awt::Point &aPoint) override |
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL | getAccessibleAtPoint (const css::awt::Point &aPoint) 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 css::uno::Reference< css::awt::XFont > SAL_CALL | getFont () override |
virtual OUString SAL_CALL | getTitledBorderText () override |
virtual OUString SAL_CALL | getToolTipText () override |
virtual css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes () |
Public Member Functions inherited from accessibility::AccessibleSelectionBase | |
virtual void SAL_CALL | selectAccessibleChild (sal_Int64 nChildIndex) override |
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 nSelectedChildIndex) override |
AccessibleSelectionBase () | |
virtual | ~AccessibleSelectionBase () |
virtual void | ViewForwarderChanged ()=0 |
Public Attributes | |
::sd::ViewShell * | mpViewShell |
Public Attributes inherited from accessibility::AccessibleContextBase | |
ManuallySet | |
FromShape | |
AutomaticallyCreated | |
NotSet | |
Protected Member Functions | |
virtual void SAL_CALL | disposing () override |
virtual OUString | CreateAccessibleName () override |
Create a name string. More... | |
virtual void | Activated () |
This method is called when (after) the frame containing this document has been activated. More... | |
virtual void | Deactivated () |
This method is called when (before or after?) the frame containing this document has been deactivated. More... | |
void | SetAccessibleOLEObject (const css::uno::Reference< css::accessibility::XAccessible > &xOLEObject) |
Set or remove the currently active accessible OLE object. More... | |
Protected Member Functions inherited from accessibility::AccessibleContextBase | |
virtual void SAL_CALL | disposing () override |
virtual OUString | CreateAccessibleName () |
void | FireEvent (const css::accessibility::AccessibleEventObject &aEvent) |
void | ThrowIfDisposed () |
void | SetAccessibleRole (sal_Int16 _nRole) |
virtual ::osl::Mutex & | implGetMutex ()=0 |
Protected Member Functions inherited from accessibility::IAccessibleViewForwarderListener | |
~IAccessibleViewForwarderListener () | |
Protected Attributes | |
css::uno::Reference< css::awt::XWindow > | mxWindow |
The API window that is made accessible. More... | |
css::uno::Reference< css::frame::XController > | mxController |
The controller of the window in which this view is displayed. More... | |
css::uno::Reference< css::frame::XModel > | mxModel |
Model of the document. More... | |
AccessibleShapeTreeInfo | maShapeTreeInfo |
AccessibleViewForwarder | maViewForwarder |
The view forwarder passed to the children manager. More... | |
css::uno::Reference< css::accessibility::XAccessible > | mxAccessibleOLEObject |
Accessible OLE object. More... | |
Link< VclWindowEvent &, void > | maWindowLink |
Protected Attributes inherited from accessibility::AccessibleContextBase | |
sal_Int64 | mnStateSet |
css::uno::Reference< css::accessibility::XAccessibleRelationSet > | mxRelationSet |
Private Member Functions | |
virtual ::osl::Mutex & | implGetMutex () override |
virtual css::uno::Reference< css::accessibility::XAccessibleContext > | implGetAccessibleContext () override |
virtual bool | implIsSelected (sal_Int64 nAccessibleChildIndex) override |
virtual void | implSelect (sal_Int64 nAccessibleChildIndex, bool bSelect) override |
Additional Inherited Members | |
Public Types inherited from accessibility::AccessibleContextBase | |
enum | StringOrigin |
Base class for the various document views of the Draw and Impress applications.
The different view modes of the Draw and Impress applications are made accessible by derived classes. When the view mode is changed then the object representing the document view is disposed and replaced by a new instance of the then appropriate derived class.
This base class also manages an optionally active accessible OLE object. If you overwrite the <member>getAccessibleChildCount</member> and <member>getAccessibleChild</member> methods then make sure to first call the corresponding method of this class and adapt your child count and indices accordingly. Only one active OLE object is allowed at a time. This class does not listen for disposing calls at the moment because it does not use the accessible OLE object directly and trusts on getting informed through VCL window events.
This class implements three kinds of listeners:
Definition at line 81 of file AccessibleDocumentViewBase.hxx.
accessibility::AccessibleDocumentViewBase::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.
Note that the caller has to call the Init method directly after this constructor has finished.
pSdWindow | The window whose content is to be made accessible. |
pViewShell | The view shell associated with the given window. |
rxController | The controller from which to get the model. |
rxParent | The accessible parent of the new object. Note that this parent does not necessarily correspond with the parent of the given window. |
Definition at line 60 of file AccessibleDocumentViewBase.cxx.
References DOCUMENT, VCLUnoHelper::GetInterface(), sd::ViewShell::GetView(), Impress, maShapeTreeInfo, maViewForwarder, mpViewShell, mxController, mxModel, mxWindow, accessibility::AccessibleShapeTreeInfo::SetController(), accessibility::AccessibleShapeTreeInfo::SetModelBroadcaster(), accessibility::AccessibleShapeTreeInfo::SetSdrView(), accessibility::AccessibleShapeTreeInfo::SetViewForwarder(), accessibility::AccessibleShapeTreeInfo::SetWindow(), and xController.
|
overridevirtual |
Definition at line 90 of file AccessibleDocumentViewBase.cxx.
|
overridevirtualnoexcept |
Reimplemented in accessibility::AccessibleDrawDocumentView.
Definition at line 386 of file AccessibleDocumentViewBase.cxx.
Referenced by accessibility::AccessibleDrawDocumentView::acquire().
|
protectedvirtual |
This method is called when (after) the frame containing this document has been activated.
Can be used to send FOCUSED state changes for the currently selected element.
Note: Currently used as a substitute for FocusGained. Should be renamed in the future.
Reimplemented in accessibility::AccessibleDrawDocumentView, and accessibility::AccessibleOutlineView.
Definition at line 585 of file AccessibleDocumentViewBase.cxx.
Referenced by focusGained(), and SwitchViewActivated().
|
overrideprotectedvirtual |
Create a name string.
Create a name for this view.
The current name is not modified and, therefore, no events are sent. This method is usually called once by the <member>getAccessibleName</member> method of the base class.
Reimplemented from accessibility::AccessibleContextBase.
Reimplemented in accessibility::AccessibleDrawDocumentView, and accessibility::AccessibleOutlineView.
Definition at line 580 of file AccessibleDocumentViewBase.cxx.
|
protectedvirtual |
This method is called when (before or after?) the frame containing this document has been deactivated.
Can be used to send FOCUSED state changes for the currently selected element.
Note: Currently used as a substitute for FocusLost. Should be renamed in the future.
Reimplemented in accessibility::AccessibleDrawDocumentView, and accessibility::AccessibleOutlineView.
Definition at line 590 of file AccessibleDocumentViewBase.cxx.
Referenced by focusLost().
accessibility::AccessibleDocumentViewBase::DECL_LINK | ( | WindowChildEventListener | , |
VclWindowEvent & | , | ||
void | |||
) |
Define callback for listening to window child events of VCL.
Listen for creation or destruction of OLE objects.
|
overrideprotectedvirtual |
Reimplemented from accessibility::AccessibleContextBase.
Reimplemented in accessibility::AccessibleDrawDocumentView, accessibility::AccessibleOutlineView, and accessibility::AccessibleOutlineView.
Definition at line 571 of file AccessibleDocumentViewBase.cxx.
References accessibility::AccessibleContextBase::disposing(), and impl_dispose().
Referenced by accessibility::AccessibleDrawDocumentView::disposing().
|
overridevirtual |
Reimplemented in accessibility::AccessibleDrawDocumentView, and accessibility::AccessibleOutlineView.
|
overridevirtual |
Definition at line 554 of file AccessibleDocumentViewBase.cxx.
References Activated(), mxWindow, and accessibility::AccessibleContextBase::ThrowIfDisposed().
|
overridevirtual |
Definition at line 561 of file AccessibleDocumentViewBase.cxx.
References Deactivated(), mxWindow, and accessibility::AccessibleContextBase::ThrowIfDisposed().
|
overridevirtual |
Iterate over all children and test whether the specified point lies within one of their bounding boxes.
Return the first child for which this is true.
Reimplemented from accessibility::AccessibleComponentBase.
Definition at line 258 of file AccessibleDocumentViewBase.cxx.
References getAccessibleChild(), getAccessibleChildCount(), i, m_aMutex, and accessibility::AccessibleContextBase::ThrowIfDisposed().
|
overridevirtual |
This implementation either returns the active accessible OLE object if it exists and the given index is 0 or throws an exception.
Reimplemented from accessibility::AccessibleContextBase.
Reimplemented in accessibility::AccessibleDrawDocumentView, and accessibility::AccessibleOutlineView.
Definition at line 239 of file AccessibleDocumentViewBase.cxx.
References m_aMutex, mxAccessibleOLEObject, nIndex, and accessibility::AccessibleContextBase::ThrowIfDisposed().
Referenced by getAccessibleAtPoint(), and accessibility::AccessibleDrawDocumentView::getAccessibleChild().
|
overridevirtual |
This implementation returns either 1 or 0 depending on whether there is an active accessible OLE object or not.
Reimplemented from accessibility::AccessibleContextBase.
Reimplemented in accessibility::AccessibleDrawDocumentView, and accessibility::AccessibleOutlineView.
Definition at line 228 of file AccessibleDocumentViewBase.cxx.
References mxAccessibleOLEObject, and accessibility::AccessibleContextBase::ThrowIfDisposed().
Referenced by getAccessibleAtPoint(), accessibility::AccessibleDrawDocumentView::getAccessibleChild(), and accessibility::AccessibleDrawDocumentView::getAccessibleChildCount().
|
overridevirtual |
Reimplemented from accessibility::AccessibleContextBase.
Definition at line 220 of file AccessibleDocumentViewBase.cxx.
References accessibility::AccessibleContextBase::getAccessibleParent(), and accessibility::AccessibleContextBase::ThrowIfDisposed().
Referenced by getBounds().
|
overridevirtual |
Reimplemented from accessibility::AccessibleComponentBase.
Definition at line 768 of file AccessibleDocumentViewBase.cxx.
References SdrPaintView::getColorConfig(), svtools::ColorConfig::GetColorValue(), sd::ViewShell::GetView(), m_aMutex, mpViewShell, svtools::ColorConfigValue::nColor, and accessibility::AccessibleContextBase::ThrowIfDisposed().
|
overridevirtual |
Reimplemented from accessibility::AccessibleComponentBase.
Definition at line 295 of file AccessibleDocumentViewBase.cxx.
References tools::Rectangle::BottomRight(), getAccessibleParent(), accessibility::AccessibleShapeTreeInfo::GetViewForwarder(), accessibility::IAccessibleViewForwarder::GetVisibleArea(), accessibility::IAccessibleViewForwarder::LogicToPixel(), maShapeTreeInfo, accessibility::AccessibleContextBase::ThrowIfDisposed(), tools::Rectangle::TopLeft(), Point::X(), and Point::Y().
Referenced by getLocation().
|
overridevirtual |
Definition at line 650 of file AccessibleDocumentViewBase.cxx.
References sd::ViewShell::GetActualPage(), sd::ViewShell::GetDoc(), SdrLayerAdmin::GetLayer(), SdrModel::GetLayerAdmin(), SdPage::GetName(), SdrObject::GetOutlinerParaObject(), SdrPage::GetPageNum(), EditTextObject::GetParagraphCount(), SdPage::GetPresObj(), SdDrawDocument::GetSdPage(), SdDrawDocument::GetSdPageCount(), EditTextObject::GetText(), OutlinerParaObject::GetTextObject(), SdrLayer::GetTitle(), i, m_aMutex, mpViewShell, Notes, sDisplay, sName, and Standard.
|
overridevirtual |
Reimplemented from accessibility::AccessibleComponentBase.
Definition at line 763 of file AccessibleDocumentViewBase.cxx.
References COL_BLACK().
|
overridevirtual |
Returns an identifier for the implementation of this object.
Reimplemented from accessibility::AccessibleContextBase.
Reimplemented in accessibility::AccessibleDrawDocumentView, and accessibility::AccessibleOutlineView.
Definition at line 402 of file AccessibleDocumentViewBase.cxx.
|
overridevirtual |
Reimplemented from accessibility::AccessibleComponentBase.
Definition at line 330 of file AccessibleDocumentViewBase.cxx.
References getBounds(), and accessibility::AccessibleContextBase::ThrowIfDisposed().
|
overridevirtual |
Reimplemented from accessibility::AccessibleComponentBase.
Definition at line 338 of file AccessibleDocumentViewBase.cxx.
References accessibility::AccessibleShapeTreeInfo::GetViewForwarder(), accessibility::IAccessibleViewForwarder::GetVisibleArea(), accessibility::IAccessibleViewForwarder::LogicToPixel(), maShapeTreeInfo, accessibility::AccessibleContextBase::ThrowIfDisposed(), tools::Rectangle::TopLeft(), Point::X(), and Point::Y().
|
overridevirtual |
Reimplemented from accessibility::AccessibleComponentBase.
Definition at line 347 of file AccessibleDocumentViewBase.cxx.
References tools::Rectangle::BottomRight(), accessibility::AccessibleShapeTreeInfo::GetViewForwarder(), accessibility::IAccessibleViewForwarder::GetVisibleArea(), accessibility::IAccessibleViewForwarder::LogicToPixel(), maShapeTreeInfo, accessibility::AccessibleContextBase::ThrowIfDisposed(), tools::Rectangle::TopLeft(), Point::X(), and Point::Y().
|
overridevirtual |
Reimplemented from accessibility::AccessibleContextBase.
Reimplemented in accessibility::AccessibleDrawDocumentView.
Definition at line 408 of file AccessibleDocumentViewBase.cxx.
References accessibility::AccessibleContextBase::getSupportedServiceNames(), and accessibility::AccessibleContextBase::ThrowIfDisposed().
Referenced by accessibility::AccessibleDrawDocumentView::getSupportedServiceNames().
|
overridevirtual |
Reimplemented from accessibility::AccessibleComponentBase.
Definition at line 417 of file AccessibleDocumentViewBase.cxx.
References comphelper::concatSequences(), cppu::UnoType< typename T >::get(), accessibility::AccessibleComponentBase::getTypes(), and accessibility::AccessibleContextBase::ThrowIfDisposed().
|
virtual |
Reimplemented in accessibility::AccessibleDrawDocumentView.
Definition at line 435 of file AccessibleDocumentViewBase.cxx.
References DBG_ASSERT, accessibility::AccessibleShapeTreeInfo::dispose(), accessibility::AccessibleShapeTreeInfo::GetWindow(), Link< typename Arg, typename Ret >::IsSet(), maShapeTreeInfo, maWindowLink, mxAccessibleOLEObject, mxController, mxModel, mxWindow, vcl::Window::RemoveChildEventListener(), accessibility::AccessibleShapeTreeInfo::SetDocumentWindow(), and accessibility::AccessibleShapeTreeInfo::SetModelBroadcaster().
Referenced by disposing(), and accessibility::AccessibleDrawDocumentView::impl_dispose().
|
overrideprivatevirtual |
Definition at line 632 of file AccessibleDocumentViewBase.cxx.
|
overrideprivatevirtual |
Implements accessibility::AccessibleSelectionBase.
Definition at line 625 of file AccessibleDocumentViewBase.cxx.
References m_aMutex.
|
overrideprivatevirtual |
Reimplemented in accessibility::AccessibleDrawDocumentView.
Definition at line 639 of file AccessibleDocumentViewBase.cxx.
|
overrideprivatevirtual |
Reimplemented in accessibility::AccessibleDrawDocumentView.
Definition at line 646 of file AccessibleDocumentViewBase.cxx.
|
virtual |
Initialize a new object.
Call this method directly after creating a new object. It finished the initialization begun in the constructor but which needs a fully created object.
Reimplemented in accessibility::AccessibleDrawDocumentView, and accessibility::AccessibleOutlineView.
Definition at line 96 of file AccessibleDocumentViewBase.cxx.
References vcl::Window::AddChildEventListener(), vcl::Window::GetAccessible(), vcl::Window::GetAccessibleRole(), vcl::Window::GetChild(), vcl::Window::GetChildCount(), SfxViewFrame::GetObjectShell(), sd::ViewShell::GetViewFrame(), accessibility::AccessibleShapeTreeInfo::GetWindow(), i, SfxObjectShell::IsReadOnly(), LINK, maShapeTreeInfo, maWindowLink, mpViewShell, mxController, mxModel, mxWindow, nCount, SetAccessibleOLEObject(), accessibility::AccessibleShapeTreeInfo::SetDocumentWindow(), and accessibility::AccessibleContextBase::SetState().
Referenced by accessibility::AccessibleDrawDocumentView::Init().
|
overridevirtual |
Reimplemented in accessibility::AccessibleDrawDocumentView, and accessibility::AccessibleOutlineView.
Definition at line 509 of file AccessibleDocumentViewBase.cxx.
Referenced by accessibility::AccessibleDrawDocumentView::propertyChange().
|
overridevirtual |
Reimplemented in accessibility::AccessibleDrawDocumentView.
Definition at line 368 of file AccessibleDocumentViewBase.cxx.
References uno::Any::hasValue().
Referenced by accessibility::AccessibleDrawDocumentView::queryInterface().
|
overridevirtualnoexcept |
Reimplemented in accessibility::AccessibleDrawDocumentView.
Definition at line 393 of file AccessibleDocumentViewBase.cxx.
Referenced by accessibility::AccessibleDrawDocumentView::release().
|
protected |
Set or remove the currently active accessible OLE object.
xOLEObject | If this is a valid reference then a child event is send that informs the listeners of a new child. If there has already been an active accessible OLE object then this is removed first and appropriate events are sent. |
If this is an empty reference then the currently active accessible OLE object (if there is one) is removed.
Definition at line 595 of file AccessibleDocumentViewBase.cxx.
References accessibility::AccessibleContextBase::CommitChange(), m_aMutex, and mxAccessibleOLEObject.
Referenced by Init().
|
inline |
Definition at line 313 of file AccessibleDocumentViewBase.hxx.
References Activated().
Referenced by sd::ViewShell::SwitchViewFireFocus().
|
overridevirtual |
A view forwarder change is signalled for instance when any of the window events is received.
Thus, instead of overriding the four windowResized... methods it will be sufficient in most cases just to override this method.
Implements accessibility::IAccessibleViewForwarderListener.
Reimplemented in accessibility::AccessibleDrawDocumentView, and accessibility::AccessibleOutlineView.
Definition at line 212 of file AccessibleDocumentViewBase.cxx.
Referenced by accessibility::AccessibleDrawDocumentView::ViewForwarderChanged(), windowHidden(), windowMoved(), windowResized(), and windowShown().
|
overridevirtual |
Definition at line 544 of file AccessibleDocumentViewBase.cxx.
References accessibility::AccessibleContextBase::IsDisposed(), and ViewForwarderChanged().
|
overridevirtual |
Definition at line 526 of file AccessibleDocumentViewBase.cxx.
References accessibility::AccessibleContextBase::IsDisposed(), and ViewForwarderChanged().
|
overridevirtual |
Definition at line 517 of file AccessibleDocumentViewBase.cxx.
References accessibility::AccessibleContextBase::IsDisposed(), and ViewForwarderChanged().
|
overridevirtual |
Definition at line 535 of file AccessibleDocumentViewBase.cxx.
References accessibility::AccessibleContextBase::IsDisposed(), and ViewForwarderChanged().
|
protected |
Definition at line 255 of file AccessibleDocumentViewBase.hxx.
Referenced by AccessibleDocumentViewBase(), accessibility::AccessibleDrawDocumentView::CreateDrawPageShape(), accessibility::AccessibleDrawDocumentView::getAccessibleName(), getBounds(), getLocationOnScreen(), getSize(), impl_dispose(), Init(), and accessibility::AccessibleDrawDocumentView::Init().
|
protected |
The view forwarder passed to the children manager.
Definition at line 258 of file AccessibleDocumentViewBase.hxx.
Referenced by AccessibleDocumentViewBase().
|
protected |
Definition at line 266 of file AccessibleDocumentViewBase.hxx.
Referenced by impl_dispose(), and Init().
::sd::ViewShell* accessibility::AccessibleDocumentViewBase::mpViewShell |
Definition at line 222 of file AccessibleDocumentViewBase.hxx.
Referenced by AccessibleDocumentViewBase(), getBackground(), getExtendedAttributes(), and Init().
|
protected |
Accessible OLE object.
Set or removed by the <member>SetAccessibleOLEObject</member> method.
Definition at line 264 of file AccessibleDocumentViewBase.hxx.
Referenced by getAccessibleChild(), getAccessibleChildCount(), impl_dispose(), and SetAccessibleOLEObject().
|
protected |
The controller of the window in which this view is displayed.
Definition at line 248 of file AccessibleDocumentViewBase.hxx.
Referenced by AccessibleDocumentViewBase(), accessibility::AccessibleDrawDocumentView::CreateAccessibleName(), accessibility::AccessibleDrawDocumentView::CreateDrawPageShape(), impl_dispose(), accessibility::AccessibleDrawDocumentView::implIsSelected(), accessibility::AccessibleDrawDocumentView::implSelect(), Init(), accessibility::AccessibleDrawDocumentView::Init(), accessibility::AccessibleDrawDocumentView::propertyChange(), and accessibility::AccessibleDrawDocumentView::UpdateAccessibleName().
|
protected |
Model of the document.
Definition at line 252 of file AccessibleDocumentViewBase.hxx.
Referenced by AccessibleDocumentViewBase(), accessibility::AccessibleDrawDocumentView::CreateDrawPageShape(), impl_dispose(), Init(), and accessibility::AccessibleDrawDocumentView::UpdateAccessibleName().
|
protected |
The API window that is made accessible.
Definition at line 244 of file AccessibleDocumentViewBase.hxx.
Referenced by AccessibleDocumentViewBase(), focusGained(), focusLost(), impl_dispose(), and Init().