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

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

Static Public Member Functions

static 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 27 of file formtoolbars.hxx.

Constructor & Destructor Documentation

◆ FormToolboxes()

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

constructs an instance

Parameters
_rxFramethe frame to analyze

Definition at line 37 of file formtoolbars.cxx.

References m_xLayouter.

Member Function Documentation

◆ getToolboxResourceName()

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 81 of file formtoolbars.cxx.

Referenced by isToolboxVisible(), and toggleToolbox().

◆ isToolboxVisible()

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

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

Definition at line 74 of file formtoolbars.cxx.

References getToolboxResourceName(), and m_xLayouter.

◆ toggleToolbox()

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

toggles the toolbox associated with the given slot

Definition at line 46 of file formtoolbars.cxx.

References Exception, getToolboxResourceName(), m_xLayouter, and TOOLS_WARN_EXCEPTION.

Member Data Documentation

◆ m_xLayouter

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

Definition at line 30 of file formtoolbars.hxx.

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


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