LibreOffice Module svx (master)
1
|
This panel provides buttons for inserting shapes into a document. More...
#include <DefaultShapesPanel.hxx>
Public Member Functions | |
DefaultShapesPanel (vcl::Window *pParent, const css::uno::Reference< css::frame::XFrame > &rxFrame) | |
virtual | ~DefaultShapesPanel () override |
virtual void | dispose () override |
![]() | |
PanelLayout (vcl::Window *pParent, const OString &rID, const OUString &rUIXMLDescription, const css::uno::Reference< css::frame::XFrame > &rFrame) | |
virtual | ~PanelLayout () override |
virtual Size | GetOptimalSize () const override |
virtual void | GetFocus () override |
virtual void | setPosSizePixel (tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight, PosSizeFlags nFlags=PosSizeFlags::All) override |
virtual void | queue_resize (StateChangedType eReason=StateChangedType::Layout) override |
virtual bool | EventNotify (NotifyEvent &rNEvt) override |
![]() | |
SvxShapeCommandsMap () | |
Static Public Member Functions | |
static VclPtr< vcl::Window > | Create (vcl::Window *pParent, const css::uno::Reference< css::frame::XFrame > &rxFrame) |
Private Member Functions | |
void | populateShapes () |
void | Initialize () |
DECL_LINK (ShapeSelectHdl, ValueSet *, void) | |
Additional Inherited Members | |
![]() | |
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 |
![]() | |
std::unique_ptr< weld::Builder > | m_xBuilder |
VclPtr< vcl::Window > | m_xVclContentArea |
std::unique_ptr< weld::Container > | m_xContainer |
weld::Widget * | m_pInitialFocusWidget |
This panel provides buttons for inserting shapes into a document.
Definition at line 36 of file DefaultShapesPanel.hxx.
svx::sidebar::DefaultShapesPanel::DefaultShapesPanel | ( | vcl::Window * | pParent, |
const css::uno::Reference< css::frame::XFrame > & | rxFrame | ||
) |
Definition at line 28 of file DefaultShapesPanel.cxx.
References Initialize(), PanelLayout::m_pInitialFocusWidget, and mxLineArrowSet.
|
overridevirtual |
Definition at line 74 of file DefaultShapesPanel.cxx.
|
static |
Definition at line 60 of file DefaultShapesPanel.cxx.
References VclPtr< reference_type >::Create().
Reimplemented from PanelLayout.
Definition at line 101 of file DefaultShapesPanel.cxx.
References PanelLayout::dispose(), mpShapesSetMap, mx3DObjectSet, mx3DObjectSetWin, mxBasicShapeSet, mxBasicShapeSetWin, mxBlockArrowSet, mxBlockArrowSetWin, mxCalloutSet, mxCalloutSetWin, mxConnectorSet, mxConnectorSetWin, mxCurveSet, mxCurveSetWin, mxFlowchartSet, mxFlowchartSetWin, mxLineArrowSet, mxLineArrowSetWin, mxStarSet, mxStarSetWin, mxSymbolShapeSet, and mxSymbolShapeSetWin.
|
private |
Definition at line 79 of file DefaultShapesPanel.cxx.
References 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 141 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 72 of file DefaultShapesPanel.hxx.
Referenced by dispose(), Initialize(), and populateShapes().
|
private |
Definition at line 68 of file DefaultShapesPanel.hxx.
Referenced by dispose(), and Initialize().
|
private |
Definition at line 69 of file DefaultShapesPanel.hxx.
Referenced by dispose().
|
private |
Definition at line 56 of file DefaultShapesPanel.hxx.
Referenced by dispose(), and Initialize().
|
private |
Definition at line 57 of file DefaultShapesPanel.hxx.
Referenced by dispose().
|
private |
Definition at line 60 of file DefaultShapesPanel.hxx.
Referenced by dispose(), and Initialize().
|
private |
Definition at line 61 of file DefaultShapesPanel.hxx.
Referenced by dispose().
|
private |
Definition at line 64 of file DefaultShapesPanel.hxx.
Referenced by dispose(), and Initialize().
|
private |
Definition at line 65 of file DefaultShapesPanel.hxx.
Referenced by dispose().
|
private |
Definition at line 54 of file DefaultShapesPanel.hxx.
Referenced by dispose(), and Initialize().
|
private |
Definition at line 55 of file DefaultShapesPanel.hxx.
Referenced by dispose().
|
private |
Definition at line 52 of file DefaultShapesPanel.hxx.
Referenced by dispose(), and Initialize().
|
private |
Definition at line 53 of file DefaultShapesPanel.hxx.
Referenced by dispose().
|
private |
Definition at line 62 of file DefaultShapesPanel.hxx.
Referenced by dispose(), and Initialize().
|
private |
Definition at line 63 of file DefaultShapesPanel.hxx.
Referenced by dispose().
|
private |
Definition at line 71 of file DefaultShapesPanel.hxx.
Referenced by populateShapes().
|
private |
Definition at line 50 of file DefaultShapesPanel.hxx.
Referenced by DefaultShapesPanel(), dispose(), and Initialize().
|
private |
Definition at line 51 of file DefaultShapesPanel.hxx.
Referenced by dispose().
|
private |
Definition at line 66 of file DefaultShapesPanel.hxx.
Referenced by dispose(), and Initialize().
|
private |
Definition at line 67 of file DefaultShapesPanel.hxx.
Referenced by dispose().
|
private |
Definition at line 58 of file DefaultShapesPanel.hxx.
Referenced by dispose(), and Initialize().
|
private |
Definition at line 59 of file DefaultShapesPanel.hxx.
Referenced by dispose().