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

#include <formtoolbars.hxx>

Public Member Functions

SVX_DLLPUBLIC FormToolboxes (const css::uno::Reference< css::frame::XFrame > &_rxFrame)
 constructs an instance More...
 
SVX_DLLPUBLIC void toggleToolbox (sal_uInt16 _nSlotId) const
 toggles the toolbox associated with the given slot More...
 
SVX_DLLPUBLIC bool isToolboxVisible (sal_uInt16 _nSlotId) const
 determines whether the toolbox associated with the given slot is currently visible More...
 

Static Public Member Functions

static SVX_DLLPUBLIC OUString getToolboxResourceName (sal_uInt16 _nSlotId)
 retrieves the URI for the toolbox associated with the given slot, depending on the type of our document More...
 

Private Attributes

css::uno::Reference< css::frame::XLayoutManager > m_xLayouter
 

Detailed Description

Definition at line 29 of file formtoolbars.hxx.

Constructor & Destructor Documentation

svxform::FormToolboxes::FormToolboxes ( const css::uno::Reference< css::frame::XFrame > &  _rxFrame)

constructs an instance

Parameters
_rxFramethe frame to analyze

Definition at line 36 of file formtoolbars.cxx.

References m_xLayouter.

Member Function Documentation

OUString svxform::FormToolboxes::getToolboxResourceName ( sal_uInt16  _nSlotId)
static

retrieves the URI for the toolbox associated with the given slot, depending on the type of our document

Definition at line 80 of file formtoolbars.cxx.

Referenced by isToolboxVisible(), and toggleToolbox().

bool svxform::FormToolboxes::isToolboxVisible ( sal_uInt16  _nSlotId) const

determines whether the toolbox associated with the given slot is currently visible

Definition at line 73 of file formtoolbars.cxx.

References getToolboxResourceName(), and m_xLayouter.

void svxform::FormToolboxes::toggleToolbox ( sal_uInt16  _nSlotId) const

toggles the toolbox associated with the given slot

Definition at line 45 of file formtoolbars.cxx.

References Exception, getToolboxResourceName(), and m_xLayouter.

Member Data Documentation

css::uno::Reference< css::frame::XLayoutManager > svxform::FormToolboxes::m_xLayouter
private

Definition at line 32 of file formtoolbars.hxx.

Referenced by FormToolboxes(), isToolboxVisible(), and toggleToolbox().


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