LibreOffice Module sw (master) 1
Classes | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
sw::sidebar::StylePresetsPanel Class Reference

#include <StylePresetsPanel.hxx>

Inheritance diagram for sw::sidebar::StylePresetsPanel:
[legend]
Collaboration diagram for sw::sidebar::StylePresetsPanel:
[legend]

Classes

struct  TemplateEntry
 

Public Member Functions

 StylePresetsPanel (weld::Widget *pParent)
 
virtual ~StylePresetsPanel () override
 
virtual void NotifyItemUpdate (const sal_uInt16 nSId, const SfxItemState eState, const SfxPoolItem *pState) override
 
virtual void GetControlState (const sal_uInt16, boost::property_tree::ptree &) 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 sfx2::sidebar::ControllerItem::ItemUpdateReceiverInterface
virtual void NotifyItemUpdate (const sal_uInt16 nSId, const SfxItemState eState, const SfxPoolItem *pState)=0
 
virtual void GetControlState (const sal_uInt16 nSId, boost::property_tree::ptree &rState)=0
 
virtual ~ItemUpdateReceiverInterface ()
 

Static Public Member Functions

static std::unique_ptr< PanelLayoutCreate (weld::Widget *pParent)
 

Private Member Functions

void RefreshList ()
 
 DECL_LINK (DoubleClickHdl, ValueSet *, void)
 

Private Attributes

std::unique_ptr< ValueSetmxValueSet
 
std::unique_ptr< weld::CustomWeldmxValueSetWin
 
std::vector< std::unique_ptr< TemplateEntry > > maTemplateEntries
 

Additional Inherited Members

- 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

Definition at line 22 of file StylePresetsPanel.hxx.

Constructor & Destructor Documentation

◆ StylePresetsPanel()

sw::sidebar::StylePresetsPanel::StylePresetsPanel ( weld::Widget pParent)

Definition at line 142 of file StylePresetsPanel.cxx.

References Application::GetSettings(), LINK, mxValueSet, and RefreshList().

◆ ~StylePresetsPanel()

sw::sidebar::StylePresetsPanel::~StylePresetsPanel ( )
overridevirtual

Definition at line 179 of file StylePresetsPanel.cxx.

Member Function Documentation

◆ Create()

std::unique_ptr< PanelLayout > sw::sidebar::StylePresetsPanel::Create ( weld::Widget pParent)
static

Definition at line 134 of file StylePresetsPanel.cxx.

◆ DECL_LINK()

sw::sidebar::StylePresetsPanel::DECL_LINK ( DoubleClickHdl  ,
ValueSet ,
void   
)
private

◆ GetControlState()

virtual void sw::sidebar::StylePresetsPanel::GetControlState ( const  sal_uInt16,
boost::property_tree::ptree &   
)
inlineoverridevirtual

◆ NotifyItemUpdate()

void sw::sidebar::StylePresetsPanel::NotifyItemUpdate ( const sal_uInt16  nSId,
const SfxItemState  eState,
const SfxPoolItem pState 
)
overridevirtual

◆ RefreshList()

void sw::sidebar::StylePresetsPanel::RefreshList ( )
private

Member Data Documentation

◆ maTemplateEntries

std::vector<std::unique_ptr<TemplateEntry> > sw::sidebar::StylePresetsPanel::maTemplateEntries
private

Definition at line 55 of file StylePresetsPanel.hxx.

Referenced by RefreshList().

◆ mxValueSet

std::unique_ptr<ValueSet> sw::sidebar::StylePresetsPanel::mxValueSet
private

Definition at line 52 of file StylePresetsPanel.hxx.

Referenced by RefreshList(), and StylePresetsPanel().

◆ mxValueSetWin

std::unique_ptr<weld::CustomWeld> sw::sidebar::StylePresetsPanel::mxValueSetWin
private

Definition at line 53 of file StylePresetsPanel.hxx.


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