LibreOffice Module svx (master) 1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
svx::sidebar::DefaultShapesPanel Class Referencefinal

This panel provides buttons for inserting shapes into a document. More...

#include <DefaultShapesPanel.hxx>

Inheritance diagram for svx::sidebar::DefaultShapesPanel:
[legend]
Collaboration diagram for svx::sidebar::DefaultShapesPanel:
[legend]

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< PanelLayoutCreate (weld::Widget *pParent, const css::uno::Reference< css::frame::XFrame > &rxFrame)
 

Private Member Functions

void populateShapes ()
 
void Initialize ()
 
 DECL_LINK (ShapeSelectHdl, ValueSet *, void)
 

Private Attributes

std::unique_ptr< ValueSetmxLineArrowSet
 
std::unique_ptr< weld::CustomWeldmxLineArrowSetWin
 
std::unique_ptr< ValueSetmxCurveSet
 
std::unique_ptr< weld::CustomWeldmxCurveSetWin
 
std::unique_ptr< ValueSetmxConnectorSet
 
std::unique_ptr< weld::CustomWeldmxConnectorSetWin
 
std::unique_ptr< ValueSetmxBasicShapeSet
 
std::unique_ptr< weld::CustomWeldmxBasicShapeSetWin
 
std::unique_ptr< ValueSetmxSymbolShapeSet
 
std::unique_ptr< weld::CustomWeldmxSymbolShapeSetWin
 
std::unique_ptr< ValueSetmxBlockArrowSet
 
std::unique_ptr< weld::CustomWeldmxBlockArrowSetWin
 
std::unique_ptr< ValueSetmxFlowchartSet
 
std::unique_ptr< weld::CustomWeldmxFlowchartSetWin
 
std::unique_ptr< ValueSetmxCalloutSet
 
std::unique_ptr< weld::CustomWeldmxCalloutSetWin
 
std::unique_ptr< ValueSetmxStarSet
 
std::unique_ptr< weld::CustomWeldmxStarSetWin
 
std::unique_ptr< ValueSetmx3DObjectSet
 
std::unique_ptr< weld::CustomWeldmx3DObjectSetWin
 
Reference< XFrame > mxFrame
 
std::map< ValueSet *, std::map< sal_uInt16, OUString > > mpShapesSetMap
 

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::WindowGetFrameWeld () const
 
- Protected Attributes inherited from PanelLayout
std::unique_ptr< weld::Builderm_xBuilder
 
std::unique_ptr< weld::Containerm_xContainer
 
sfx2::sidebar::Panelm_pPanel
 

Detailed Description

This panel provides buttons for inserting shapes into a document.

Definition at line 36 of file DefaultShapesPanel.hxx.

Constructor & Destructor Documentation

◆ DefaultShapesPanel()

svx::sidebar::DefaultShapesPanel::DefaultShapesPanel ( weld::Widget pParent,
css::uno::Reference< css::frame::XFrame >  xFrame 
)

◆ ~DefaultShapesPanel()

svx::sidebar::DefaultShapesPanel::~DefaultShapesPanel ( )
overridevirtual

Member Function Documentation

◆ Create()

std::unique_ptr< PanelLayout > svx::sidebar::DefaultShapesPanel::Create ( weld::Widget pParent,
const css::uno::Reference< css::frame::XFrame > &  rxFrame 
)
static

Definition at line 61 of file DefaultShapesPanel.cxx.

◆ DECL_LINK()

svx::sidebar::DefaultShapesPanel::DECL_LINK ( ShapeSelectHdl  ,
ValueSet ,
void   
)
private

◆ Initialize()

void svx::sidebar::DefaultShapesPanel::Initialize ( )
private

◆ populateShapes()

void svx::sidebar::DefaultShapesPanel::populateShapes ( )
private

Member Data Documentation

◆ mpShapesSetMap

std::map<ValueSet*, std::map<sal_uInt16, OUString> > svx::sidebar::DefaultShapesPanel::mpShapesSetMap
private

Definition at line 71 of file DefaultShapesPanel.hxx.

Referenced by Initialize(), populateShapes(), and ~DefaultShapesPanel().

◆ mx3DObjectSet

std::unique_ptr<ValueSet> svx::sidebar::DefaultShapesPanel::mx3DObjectSet
private

Definition at line 67 of file DefaultShapesPanel.hxx.

Referenced by Initialize(), and ~DefaultShapesPanel().

◆ mx3DObjectSetWin

std::unique_ptr<weld::CustomWeld> svx::sidebar::DefaultShapesPanel::mx3DObjectSetWin
private

Definition at line 68 of file DefaultShapesPanel.hxx.

Referenced by ~DefaultShapesPanel().

◆ mxBasicShapeSet

std::unique_ptr<ValueSet> svx::sidebar::DefaultShapesPanel::mxBasicShapeSet
private

Definition at line 55 of file DefaultShapesPanel.hxx.

Referenced by Initialize(), and ~DefaultShapesPanel().

◆ mxBasicShapeSetWin

std::unique_ptr<weld::CustomWeld> svx::sidebar::DefaultShapesPanel::mxBasicShapeSetWin
private

Definition at line 56 of file DefaultShapesPanel.hxx.

Referenced by ~DefaultShapesPanel().

◆ mxBlockArrowSet

std::unique_ptr<ValueSet> svx::sidebar::DefaultShapesPanel::mxBlockArrowSet
private

Definition at line 59 of file DefaultShapesPanel.hxx.

Referenced by Initialize(), and ~DefaultShapesPanel().

◆ mxBlockArrowSetWin

std::unique_ptr<weld::CustomWeld> svx::sidebar::DefaultShapesPanel::mxBlockArrowSetWin
private

Definition at line 60 of file DefaultShapesPanel.hxx.

Referenced by ~DefaultShapesPanel().

◆ mxCalloutSet

std::unique_ptr<ValueSet> svx::sidebar::DefaultShapesPanel::mxCalloutSet
private

Definition at line 63 of file DefaultShapesPanel.hxx.

Referenced by Initialize(), and ~DefaultShapesPanel().

◆ mxCalloutSetWin

std::unique_ptr<weld::CustomWeld> svx::sidebar::DefaultShapesPanel::mxCalloutSetWin
private

Definition at line 64 of file DefaultShapesPanel.hxx.

Referenced by ~DefaultShapesPanel().

◆ mxConnectorSet

std::unique_ptr<ValueSet> svx::sidebar::DefaultShapesPanel::mxConnectorSet
private

Definition at line 53 of file DefaultShapesPanel.hxx.

Referenced by Initialize(), and ~DefaultShapesPanel().

◆ mxConnectorSetWin

std::unique_ptr<weld::CustomWeld> svx::sidebar::DefaultShapesPanel::mxConnectorSetWin
private

Definition at line 54 of file DefaultShapesPanel.hxx.

Referenced by ~DefaultShapesPanel().

◆ mxCurveSet

std::unique_ptr<ValueSet> svx::sidebar::DefaultShapesPanel::mxCurveSet
private

Definition at line 51 of file DefaultShapesPanel.hxx.

Referenced by Initialize(), and ~DefaultShapesPanel().

◆ mxCurveSetWin

std::unique_ptr<weld::CustomWeld> svx::sidebar::DefaultShapesPanel::mxCurveSetWin
private

Definition at line 52 of file DefaultShapesPanel.hxx.

Referenced by ~DefaultShapesPanel().

◆ mxFlowchartSet

std::unique_ptr<ValueSet> svx::sidebar::DefaultShapesPanel::mxFlowchartSet
private

Definition at line 61 of file DefaultShapesPanel.hxx.

Referenced by Initialize(), and ~DefaultShapesPanel().

◆ mxFlowchartSetWin

std::unique_ptr<weld::CustomWeld> svx::sidebar::DefaultShapesPanel::mxFlowchartSetWin
private

Definition at line 62 of file DefaultShapesPanel.hxx.

Referenced by ~DefaultShapesPanel().

◆ mxFrame

Reference< XFrame > svx::sidebar::DefaultShapesPanel::mxFrame
private

Definition at line 70 of file DefaultShapesPanel.hxx.

Referenced by populateShapes().

◆ mxLineArrowSet

std::unique_ptr<ValueSet> svx::sidebar::DefaultShapesPanel::mxLineArrowSet
private

Definition at line 49 of file DefaultShapesPanel.hxx.

Referenced by Initialize(), and ~DefaultShapesPanel().

◆ mxLineArrowSetWin

std::unique_ptr<weld::CustomWeld> svx::sidebar::DefaultShapesPanel::mxLineArrowSetWin
private

Definition at line 50 of file DefaultShapesPanel.hxx.

Referenced by ~DefaultShapesPanel().

◆ mxStarSet

std::unique_ptr<ValueSet> svx::sidebar::DefaultShapesPanel::mxStarSet
private

Definition at line 65 of file DefaultShapesPanel.hxx.

Referenced by Initialize(), and ~DefaultShapesPanel().

◆ mxStarSetWin

std::unique_ptr<weld::CustomWeld> svx::sidebar::DefaultShapesPanel::mxStarSetWin
private

Definition at line 66 of file DefaultShapesPanel.hxx.

Referenced by ~DefaultShapesPanel().

◆ mxSymbolShapeSet

std::unique_ptr<ValueSet> svx::sidebar::DefaultShapesPanel::mxSymbolShapeSet
private

Definition at line 57 of file DefaultShapesPanel.hxx.

Referenced by Initialize(), and ~DefaultShapesPanel().

◆ mxSymbolShapeSetWin

std::unique_ptr<weld::CustomWeld> svx::sidebar::DefaultShapesPanel::mxSymbolShapeSetWin
private

Definition at line 58 of file DefaultShapesPanel.hxx.

Referenced by ~DefaultShapesPanel().


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