LibreOffice Module svx (master) 1
|
This panel provides buttons for inserting shapes into a document. More...
#include <DefaultShapesPanel.hxx>
Public Member Functions | |
DefaultShapesPanel (weld::Widget *pParent, css::uno::Reference< css::frame::XFrame > xFrame) | |
virtual | ~DefaultShapesPanel () override |
Public Member Functions inherited from PanelLayout | |
PanelLayout (weld::Widget *pParent, const OUString &rID, const OUString &rUIXMLDescription) | |
void | SetPanel (sfx2::sidebar::Panel *pPanel) |
virtual | ~PanelLayout () |
Size | get_preferred_size () const |
void | queue_resize () |
Public Member Functions inherited from svx::sidebar::SvxShapeCommandsMap | |
SvxShapeCommandsMap () | |
Static Public Member Functions | |
static std::unique_ptr< PanelLayout > | Create (weld::Widget *pParent, const css::uno::Reference< css::frame::XFrame > &rxFrame) |
Private Member Functions | |
void | populateShapes () |
void | Initialize () |
DECL_LINK (ShapeSelectHdl, ValueSet *, void) | |
Additional Inherited Members | |
Public Attributes inherited from svx::sidebar::SvxShapeCommandsMap | |
std::map< sal_uInt16, OUString > | mpLineShapes |
std::map< sal_uInt16, OUString > | mpCurveShapes |
std::map< sal_uInt16, OUString > | mpConnectorShapes |
std::map< sal_uInt16, OUString > | mpBasicShapes |
std::map< sal_uInt16, OUString > | mpSymbolShapes |
std::map< sal_uInt16, OUString > | mpBlockArrowShapes |
std::map< sal_uInt16, OUString > | mpFlowchartShapes |
std::map< sal_uInt16, OUString > | mpCalloutShapes |
std::map< sal_uInt16, OUString > | mpStarShapes |
std::map< sal_uInt16, OUString > | mp3DShapes |
Protected Member Functions inherited from PanelLayout | |
virtual void | DataChanged (const DataChangedEvent &rEvent) |
virtual void | DumpAsPropertyTree (tools::JsonWriter &) |
virtual weld::Window * | GetFrameWeld () const |
Protected Attributes inherited from PanelLayout | |
std::unique_ptr< weld::Builder > | m_xBuilder |
std::unique_ptr< weld::Container > | m_xContainer |
sfx2::sidebar::Panel * | m_pPanel |
This panel provides buttons for inserting shapes into a document.
Definition at line 36 of file DefaultShapesPanel.hxx.
svx::sidebar::DefaultShapesPanel::DefaultShapesPanel | ( | weld::Widget * | pParent, |
css::uno::Reference< css::frame::XFrame > | xFrame | ||
) |
Definition at line 30 of file DefaultShapesPanel.cxx.
References weld::Widget::get_approximate_digit_width(), Initialize(), PanelLayout::m_xContainer, weld::Widget::set_size_request(), and xFrame.
|
overridevirtual |
Definition at line 95 of file DefaultShapesPanel.cxx.
References mpShapesSetMap, mx3DObjectSet, mx3DObjectSetWin, mxBasicShapeSet, mxBasicShapeSetWin, mxBlockArrowSet, mxBlockArrowSetWin, mxCalloutSet, mxCalloutSetWin, mxConnectorSet, mxConnectorSetWin, mxCurveSet, mxCurveSetWin, mxFlowchartSet, mxFlowchartSetWin, mxLineArrowSet, mxLineArrowSetWin, mxStarSet, mxStarSetWin, mxSymbolShapeSet, and mxSymbolShapeSetWin.
|
static |
Definition at line 61 of file DefaultShapesPanel.cxx.
|
private |
|
private |
Definition at line 73 of file DefaultShapesPanel.cxx.
References Application::GetSettings(), LINK, svx::sidebar::SvxShapeCommandsMap::mp3DShapes, svx::sidebar::SvxShapeCommandsMap::mpBasicShapes, svx::sidebar::SvxShapeCommandsMap::mpBlockArrowShapes, svx::sidebar::SvxShapeCommandsMap::mpCalloutShapes, svx::sidebar::SvxShapeCommandsMap::mpConnectorShapes, svx::sidebar::SvxShapeCommandsMap::mpCurveShapes, svx::sidebar::SvxShapeCommandsMap::mpFlowchartShapes, svx::sidebar::SvxShapeCommandsMap::mpLineShapes, mpShapesSetMap, svx::sidebar::SvxShapeCommandsMap::mpStarShapes, svx::sidebar::SvxShapeCommandsMap::mpSymbolShapes, mx3DObjectSet, mxBasicShapeSet, mxBlockArrowSet, mxCalloutSet, mxConnectorSet, mxCurveSet, mxFlowchartSet, mxLineArrowSet, mxStarSet, mxSymbolShapeSet, and populateShapes().
Referenced by DefaultShapesPanel().
|
private |
Definition at line 134 of file DefaultShapesPanel.cxx.
References aProperties, vcl::CommandInfoProvider::GetCommandProperties(), vcl::CommandInfoProvider::GetImageForCommand(), vcl::CommandInfoProvider::GetModuleIdentifier(), vcl::CommandInfoProvider::GetTooltipForCommand(), i, mpShapesSetMap, and mxFrame.
Referenced by Initialize().
|
private |
Definition at line 71 of file DefaultShapesPanel.hxx.
Referenced by Initialize(), populateShapes(), and ~DefaultShapesPanel().
|
private |
Definition at line 67 of file DefaultShapesPanel.hxx.
Referenced by Initialize(), and ~DefaultShapesPanel().
|
private |
Definition at line 68 of file DefaultShapesPanel.hxx.
Referenced by ~DefaultShapesPanel().
|
private |
Definition at line 55 of file DefaultShapesPanel.hxx.
Referenced by Initialize(), and ~DefaultShapesPanel().
|
private |
Definition at line 56 of file DefaultShapesPanel.hxx.
Referenced by ~DefaultShapesPanel().
|
private |
Definition at line 59 of file DefaultShapesPanel.hxx.
Referenced by Initialize(), and ~DefaultShapesPanel().
|
private |
Definition at line 60 of file DefaultShapesPanel.hxx.
Referenced by ~DefaultShapesPanel().
|
private |
Definition at line 63 of file DefaultShapesPanel.hxx.
Referenced by Initialize(), and ~DefaultShapesPanel().
|
private |
Definition at line 64 of file DefaultShapesPanel.hxx.
Referenced by ~DefaultShapesPanel().
|
private |
Definition at line 53 of file DefaultShapesPanel.hxx.
Referenced by Initialize(), and ~DefaultShapesPanel().
|
private |
Definition at line 54 of file DefaultShapesPanel.hxx.
Referenced by ~DefaultShapesPanel().
|
private |
Definition at line 51 of file DefaultShapesPanel.hxx.
Referenced by Initialize(), and ~DefaultShapesPanel().
|
private |
Definition at line 52 of file DefaultShapesPanel.hxx.
Referenced by ~DefaultShapesPanel().
|
private |
Definition at line 61 of file DefaultShapesPanel.hxx.
Referenced by Initialize(), and ~DefaultShapesPanel().
|
private |
Definition at line 62 of file DefaultShapesPanel.hxx.
Referenced by ~DefaultShapesPanel().
|
private |
Definition at line 70 of file DefaultShapesPanel.hxx.
Referenced by populateShapes().
|
private |
Definition at line 49 of file DefaultShapesPanel.hxx.
Referenced by Initialize(), and ~DefaultShapesPanel().
|
private |
Definition at line 50 of file DefaultShapesPanel.hxx.
Referenced by ~DefaultShapesPanel().
|
private |
Definition at line 65 of file DefaultShapesPanel.hxx.
Referenced by Initialize(), and ~DefaultShapesPanel().
|
private |
Definition at line 66 of file DefaultShapesPanel.hxx.
Referenced by ~DefaultShapesPanel().
|
private |
Definition at line 57 of file DefaultShapesPanel.hxx.
Referenced by Initialize(), and ~DefaultShapesPanel().
|
private |
Definition at line 58 of file DefaultShapesPanel.hxx.
Referenced by ~DefaultShapesPanel().