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, const css::uno::Reference< css::frame::XFrame > &rxFrame)
 
virtual ~DefaultShapesPanel () override
 
- Public Member Functions inherited from PanelLayout
 PanelLayout (weld::Widget *pParent, const OString &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

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

Definition at line 29 of file DefaultShapesPanel.cxx.

References Initialize().

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

Member Function Documentation

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

Definition at line 58 of file DefaultShapesPanel.cxx.

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

Member Data Documentation

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().

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

Definition at line 67 of file DefaultShapesPanel.hxx.

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

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

Definition at line 68 of file DefaultShapesPanel.hxx.

Referenced by ~DefaultShapesPanel().

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

Definition at line 55 of file DefaultShapesPanel.hxx.

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

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

Definition at line 56 of file DefaultShapesPanel.hxx.

Referenced by ~DefaultShapesPanel().

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

Definition at line 59 of file DefaultShapesPanel.hxx.

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

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

Definition at line 60 of file DefaultShapesPanel.hxx.

Referenced by ~DefaultShapesPanel().

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

Definition at line 63 of file DefaultShapesPanel.hxx.

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

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

Definition at line 64 of file DefaultShapesPanel.hxx.

Referenced by ~DefaultShapesPanel().

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

Definition at line 53 of file DefaultShapesPanel.hxx.

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

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

Definition at line 54 of file DefaultShapesPanel.hxx.

Referenced by ~DefaultShapesPanel().

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

Definition at line 51 of file DefaultShapesPanel.hxx.

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

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

Definition at line 52 of file DefaultShapesPanel.hxx.

Referenced by ~DefaultShapesPanel().

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

Definition at line 61 of file DefaultShapesPanel.hxx.

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

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

Definition at line 62 of file DefaultShapesPanel.hxx.

Referenced by ~DefaultShapesPanel().

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

Definition at line 70 of file DefaultShapesPanel.hxx.

Referenced by populateShapes().

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

Definition at line 49 of file DefaultShapesPanel.hxx.

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

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

Definition at line 50 of file DefaultShapesPanel.hxx.

Referenced by ~DefaultShapesPanel().

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

Definition at line 65 of file DefaultShapesPanel.hxx.

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

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

Definition at line 66 of file DefaultShapesPanel.hxx.

Referenced by ~DefaultShapesPanel().

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

Definition at line 57 of file DefaultShapesPanel.hxx.

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

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: