LibreOffice Module svx (master) 1
|
#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 |
Definition at line 27 of file formtoolbars.hxx.
svxform::FormToolboxes::FormToolboxes | ( | const css::uno::Reference< css::frame::XFrame > & | _rxFrame | ) |
constructs an instance
_rxFrame | the frame to analyze |
Definition at line 37 of file formtoolbars.cxx.
References m_xLayouter.
|
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().
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.
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.
|
private |
Definition at line 30 of file formtoolbars.hxx.
Referenced by FormToolboxes(), isToolboxVisible(), and toggleToolbox().