LibreOffice Module svx (master) 1
Public Member Functions | Private Attributes | List of all members
accessibility::AccessibleShapeTreeInfo Class Reference

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>

Collaboration diagram for accessibility::AccessibleShapeTreeInfo:
[legend]

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 ()
 
AccessibleShapeTreeInfooperator= (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...
 
SdrViewGetSdrView () 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::WindowGetWindow () 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 IAccessibleViewForwarderGetViewForwarder () 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...
 
SdrViewmpView
 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::WindowmpWindow
 This window is necessary to construct an SvxTextEditSource which in turn is used to create an accessible edit engine. More...
 
const IAccessibleViewForwardermpViewForwarder
 The view forwarder allows the transformation between internal and pixel coordinates and can be asked for the visible area. More...
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ AccessibleShapeTreeInfo() [1/2]

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.

References mpView, and mpWindow.

◆ AccessibleShapeTreeInfo() [2/2]

accessibility::AccessibleShapeTreeInfo::AccessibleShapeTreeInfo ( const AccessibleShapeTreeInfo rInfo)

Create a copy of the given shape info.

Parameters
rInfoThe shape tree info object to copy.

Definition at line 40 of file AccessibleShapeTreeInfo.cxx.

References mpView, and mpWindow.

◆ ~AccessibleShapeTreeInfo()

accessibility::AccessibleShapeTreeInfo::~AccessibleShapeTreeInfo ( )

Member Function Documentation

◆ dispose()

void accessibility::AccessibleShapeTreeInfo::dispose ( void  )

◆ GetController()

const css::uno::Reference< css::frame::XController > & accessibility::AccessibleShapeTreeInfo::GetController ( ) const
inline

Return the currently set controller.

Returns
The reference to the currently set controller may be empty.

Definition at line 133 of file AccessibleShapeTreeInfo.hxx.

◆ GetDocumentWindow()

const css::uno::Reference< css::accessibility::XAccessibleComponent > & accessibility::AccessibleShapeTreeInfo::GetDocumentWindow ( ) const
inline

Deprecated.

Don't use this method.

Definition at line 84 of file AccessibleShapeTreeInfo.hxx.

Referenced by accessibility::AccessibleShape::getObjectLink().

◆ GetModelBroadcaster()

const css::uno::Reference< css::document::XShapeEventBroadcaster > & accessibility::AccessibleShapeTreeInfo::GetModelBroadcaster ( ) const
inline

Return the current model broadcaster.

Returns
The returned reference may be empty if the broadcaster has not been set or has been set to an empty reference.

Definition at line 102 of file AccessibleShapeTreeInfo.hxx.

Referenced by accessibility::AccessibleShape::disposing(), accessibility::AccessibleShape::Init(), and accessibility::ChildrenManagerImpl::SetInfo().

◆ GetSdrView()

SdrView * accessibility::AccessibleShapeTreeInfo::GetSdrView ( ) const
inline

◆ GetViewForwarder()

const IAccessibleViewForwarder * accessibility::AccessibleShapeTreeInfo::GetViewForwarder ( ) const
inline

Return the current view forwarder.

Returns
The returned pointer may be NULL.

Definition at line 160 of file AccessibleShapeTreeInfo.hxx.

Referenced by accessibility::AccessibleShape::getBounds(), and accessibility::AccessibleCell::getBounds().

◆ GetWindow()

vcl::Window * accessibility::AccessibleShapeTreeInfo::GetWindow ( ) const
inline

Return the current Window.

Returns
The returned value may be NULL.

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().

◆ operator=()

AccessibleShapeTreeInfo & accessibility::AccessibleShapeTreeInfo::operator= ( const AccessibleShapeTreeInfo rInfo)

◆ SetController()

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.

Parameters
rxControllerThe 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.

◆ SetDocumentWindow()

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.

◆ SetModelBroadcaster()

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.

Parameters
rxModelBroadcasterThe 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.

◆ SetSdrView()

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.

Parameters
pViewThe 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().

◆ SetViewForwarder()

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.

Parameters
pViewForwarderThis view forwarder replaces the current one.

Definition at line 113 of file AccessibleShapeTreeInfo.cxx.

References mpViewForwarder.

Referenced by SvxGraphCtrlAccessibleContext::SvxGraphCtrlAccessibleContext().

◆ SetWindow()

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().

Member Data Documentation

◆ mpView

SdrView* accessibility::AccessibleShapeTreeInfo::mpView
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().

◆ mpViewForwarder

const IAccessibleViewForwarder* accessibility::AccessibleShapeTreeInfo::mpViewForwarder
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().

◆ mpWindow

VclPtr<vcl::Window> accessibility::AccessibleShapeTreeInfo::mpWindow
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().

◆ mxController

css::uno::Reference< css::frame::XController> accessibility::AccessibleShapeTreeInfo::mxController
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().

◆ mxDocumentWindow

css::uno::Reference< css::accessibility::XAccessibleComponent> accessibility::AccessibleShapeTreeInfo::mxDocumentWindow
private

Deprecated.

Definition at line 166 of file AccessibleShapeTreeInfo.hxx.

Referenced by dispose(), operator=(), and SetDocumentWindow().

◆ mxModelBroadcaster

css::uno::Reference< css::document::XShapeEventBroadcaster> accessibility::AccessibleShapeTreeInfo::mxModelBroadcaster
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().


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