LibreOffice Module svx (master) 1
|
This class bundles all information that is passed down the tree of accessible shapes so that each shape has access to that info. More...
#include <AccessibleShapeTreeInfo.hxx>
Public Member Functions | |
AccessibleShapeTreeInfo () | |
Use this constructor to create an empty object that is filled later with more meaningful data. More... | |
AccessibleShapeTreeInfo (const AccessibleShapeTreeInfo &rInfo) | |
Create a copy of the given shape info. More... | |
~AccessibleShapeTreeInfo () | |
AccessibleShapeTreeInfo & | operator= (const AccessibleShapeTreeInfo &rInfo) |
void | dispose () |
void | SetDocumentWindow (const css::uno::Reference< css::accessibility::XAccessibleComponent > &rxViewWindow) |
Deprecated. More... | |
const css::uno::Reference< css::accessibility::XAccessibleComponent > & | GetDocumentWindow () const |
Deprecated. More... | |
void | SetModelBroadcaster (const css::uno::Reference< css::document::XShapeEventBroadcaster > &rxModelBroadcaster) |
Set a new broadcaster that sends events indicating shape changes. More... | |
const css::uno::Reference< css::document::XShapeEventBroadcaster > & | GetModelBroadcaster () const |
Return the current model broadcaster. More... | |
void | SetSdrView (SdrView *pView) |
Set the view that will be used to construct SvxTextEditSources which in turn are used to create accessible edit engines. More... | |
SdrView * | GetSdrView () const |
Return the current SdrView. More... | |
void | SetController (const css::uno::Reference< css::frame::XController > &rxController) |
Set a new controller. More... | |
const css::uno::Reference< css::frame::XController > & | GetController () const |
Return the currently set controller. More... | |
void | SetWindow (vcl::Window *pWindow) |
Set the window that is used to construct SvxTextEditSources which in turn is used to create accessible edit engines. More... | |
vcl::Window * | GetWindow () const |
Return the current Window. More... | |
void | SetViewForwarder (const IAccessibleViewForwarder *pViewForwarder) |
The view forwarder allows the transformation between internal and pixel coordinates and can be asked for the visible area. More... | |
const IAccessibleViewForwarder * | GetViewForwarder () const |
Return the current view forwarder. More... | |
Private Attributes | |
css::uno::Reference< css::accessibility::XAccessibleComponent > | mxDocumentWindow |
Deprecated. More... | |
css::uno::Reference< css::document::XShapeEventBroadcaster > | mxModelBroadcaster |
this broadcaster sends events indicating shape changes. More... | |
SdrView * | mpView |
This view is necessary to construct an SvxTextEditSource which in turn is used to create an accessible edit engine. More... | |
css::uno::Reference< css::frame::XController > | mxController |
The controller is used e.g. More... | |
VclPtr< vcl::Window > | mpWindow |
This window is necessary to construct an SvxTextEditSource which in turn is used to create an accessible edit engine. More... | |
const IAccessibleViewForwarder * | mpViewForwarder |
The view forwarder allows the transformation between internal and pixel coordinates and can be asked for the visible area. More... | |
This class bundles all information that is passed down the tree of accessible shapes so that each shape has access to that info.
There are basically four members that can be set and queried:
Definition at line 55 of file AccessibleShapeTreeInfo.hxx.
accessibility::AccessibleShapeTreeInfo::AccessibleShapeTreeInfo | ( | ) |
Use this constructor to create an empty object that is filled later with more meaningful data.
Definition at line 31 of file AccessibleShapeTreeInfo.cxx.
accessibility::AccessibleShapeTreeInfo::AccessibleShapeTreeInfo | ( | const AccessibleShapeTreeInfo & | rInfo | ) |
Create a copy of the given shape info.
rInfo | The shape tree info object to copy. |
Definition at line 40 of file AccessibleShapeTreeInfo.cxx.
accessibility::AccessibleShapeTreeInfo::~AccessibleShapeTreeInfo | ( | ) |
Definition at line 75 of file AccessibleShapeTreeInfo.cxx.
References mpWindow, and VclPtr< class reference_type >::reset().
void accessibility::AccessibleShapeTreeInfo::dispose | ( | void | ) |
Definition at line 51 of file AccessibleShapeTreeInfo.cxx.
References mpView, mpViewForwarder, mpWindow, mxController, mxDocumentWindow, mxModelBroadcaster, and VclPtr< class reference_type >::reset().
Referenced by accessibility::AccessibleShape::disposing(), and accessibility::AccessibleCell::disposing().
|
inline |
Return the currently set controller.
Definition at line 133 of file AccessibleShapeTreeInfo.hxx.
|
inline |
Deprecated.
Don't use this method.
Definition at line 84 of file AccessibleShapeTreeInfo.hxx.
Referenced by accessibility::AccessibleShape::getObjectLink().
|
inline |
Return the current model broadcaster.
Definition at line 102 of file AccessibleShapeTreeInfo.hxx.
Referenced by accessibility::AccessibleShape::disposing(), accessibility::AccessibleShape::Init(), and accessibility::ChildrenManagerImpl::SetInfo().
|
inline |
Return the current SdrView.
Definition at line 116 of file AccessibleShapeTreeInfo.hxx.
References mpView.
Referenced by accessibility::AccessibleShape::Init(), accessibility::AccessibleCell::Init(), accessibility::AccessibleControlShape::Init(), and accessibility::AccessibleShape::UpdateStates().
|
inline |
Return the current view forwarder.
Definition at line 160 of file AccessibleShapeTreeInfo.hxx.
Referenced by accessibility::AccessibleShape::getBounds(), and accessibility::AccessibleCell::getBounds().
|
inline |
Return the current Window.
Definition at line 144 of file AccessibleShapeTreeInfo.hxx.
References VclPtr< class reference_type >::get(), and mpWindow.
Referenced by accessibility::AccessibleShape::Init(), accessibility::AccessibleCell::Init(), and accessibility::AccessibleControlShape::Init().
AccessibleShapeTreeInfo & accessibility::AccessibleShapeTreeInfo::operator= | ( | const AccessibleShapeTreeInfo & | rInfo | ) |
Definition at line 61 of file AccessibleShapeTreeInfo.cxx.
References mpView, mpViewForwarder, mpWindow, mxController, mxDocumentWindow, and mxModelBroadcaster.
void accessibility::AccessibleShapeTreeInfo::SetController | ( | const css::uno::Reference< css::frame::XController > & | rxController | ) |
Set a new controller.
This will usually but not necessarily correspond to the SdrView.
rxController | The new controller that replaces the current one. An empty reference may be passed to unset the controller. |
Definition at line 102 of file AccessibleShapeTreeInfo.cxx.
References mxController.
void accessibility::AccessibleShapeTreeInfo::SetDocumentWindow | ( | const css::uno::Reference< css::accessibility::XAccessibleComponent > & | rxViewWindow | ) |
Deprecated.
Don't use this method.
Definition at line 84 of file AccessibleShapeTreeInfo.cxx.
References mxDocumentWindow.
void accessibility::AccessibleShapeTreeInfo::SetModelBroadcaster | ( | const css::uno::Reference< css::document::XShapeEventBroadcaster > & | rxModelBroadcaster | ) |
Set a new broadcaster that sends events indicating shape changes.
The broadcaster usually is or belongs to a document model.
rxModelBroadcaster | The new broadcaster. It replaces the current one. An empty reference may be passed to unset the broadcaster |
Definition at line 91 of file AccessibleShapeTreeInfo.cxx.
References mxModelBroadcaster.
void accessibility::AccessibleShapeTreeInfo::SetSdrView | ( | SdrView * | pView | ) |
Set the view that will be used to construct SvxTextEditSources which in turn are used to create accessible edit engines.
pView | The new SdrView that replaces the current one. A NULL pointer may be passed to unset the view. |
Definition at line 97 of file AccessibleShapeTreeInfo.cxx.
References mpView.
Referenced by SvxGraphCtrlAccessibleContext::setModelAndView(), and SvxGraphCtrlAccessibleContext::SvxGraphCtrlAccessibleContext().
void accessibility::AccessibleShapeTreeInfo::SetViewForwarder | ( | const IAccessibleViewForwarder * | pViewForwarder | ) |
The view forwarder allows the transformation between internal and pixel coordinates and can be asked for the visible area.
pViewForwarder | This view forwarder replaces the current one. |
Definition at line 113 of file AccessibleShapeTreeInfo.cxx.
References mpViewForwarder.
Referenced by SvxGraphCtrlAccessibleContext::SvxGraphCtrlAccessibleContext().
void accessibility::AccessibleShapeTreeInfo::SetWindow | ( | vcl::Window * | pWindow | ) |
Set the window that is used to construct SvxTextEditSources which in turn is used to create accessible edit engines.
Definition at line 108 of file AccessibleShapeTreeInfo.cxx.
References mpWindow.
Referenced by SvxGraphCtrlAccessibleContext::SvxGraphCtrlAccessibleContext().
|
private |
This view is necessary to construct an SvxTextEditSource which in turn is used to create an accessible edit engine.
Definition at line 179 of file AccessibleShapeTreeInfo.hxx.
Referenced by dispose(), operator=(), and SetSdrView().
|
private |
The view forwarder allows the transformation between internal and pixel coordinates and can be asked for the visible area.
Definition at line 194 of file AccessibleShapeTreeInfo.hxx.
Referenced by dispose(), operator=(), and SetViewForwarder().
|
private |
This window is necessary to construct an SvxTextEditSource which in turn is used to create an accessible edit engine.
Definition at line 189 of file AccessibleShapeTreeInfo.hxx.
Referenced by dispose(), operator=(), SetWindow(), and ~AccessibleShapeTreeInfo().
|
private |
The controller is used e.g.
for obtaining the selected shapes.
Definition at line 184 of file AccessibleShapeTreeInfo.hxx.
Referenced by dispose(), operator=(), and SetController().
|
private |
Deprecated.
Definition at line 166 of file AccessibleShapeTreeInfo.hxx.
Referenced by dispose(), operator=(), and SetDocumentWindow().
|
private |
this broadcaster sends events indicating shape changes.
The broadcaster usually is or belongs to a document model.
This once was named mxControllerBroadcaster.
Definition at line 174 of file AccessibleShapeTreeInfo.hxx.
Referenced by dispose(), operator=(), and SetModelBroadcaster().