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

#include <PageStylesPanel.hxx>

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

Public Member Functions

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
 
SfxBindingsGetBindings () const
 
 PageStylesPanel (weld::Widget *pParent, SfxBindings *pBindings)
 
virtual ~PageStylesPanel () 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, SfxBindings *pBindings)
 

Private Member Functions

void Initialize ()
 
void Update ()
 
Color const & GetColorSetOrDefault ()
 
basegfx::BGradient const & GetGradientSetOrDefault ()
 
OUString const & GetHatchingSetOrDefault ()
 
OUString const & GetBitmapSetOrDefault ()
 
OUString const & GetPatternSetOrDefault ()
 
void ModifyFillColor ()
 
 DECL_LINK (ModifyColumnCountHdl, weld::ComboBox &, void)
 
 DECL_LINK (ModifyNumberingHdl, weld::ComboBox &, void)
 
 DECL_LINK (ModifyLayoutHdl, weld::ComboBox &, void)
 
 DECL_LINK (ModifyFillStyleHdl, weld::ComboBox &, void)
 
 DECL_LINK (ModifyFillColorHdl, weld::ComboBox &, void)
 
 DECL_LINK (ModifyFillColorListHdl, ColorListBox &, void)
 

Private Attributes

SfxBindingsmpBindings
 
::std::unique_ptr< SfxInt16ItemmpPageColumnItem
 
::std::unique_ptr< SvxPageItemmpPageItem
 
::std::unique_ptr< XFillColorItemmpBgColorItem
 
::std::unique_ptr< XFillGradientItemmpBgGradientItem
 
::std::unique_ptr< XFillHatchItemmpBgHatchItem
 
::std::unique_ptr< XFillBitmapItemmpBgBitmapItem
 
::sfx2::sidebar::ControllerItem maPageColumnControl
 
::sfx2::sidebar::ControllerItem maPageNumFormatControl
 
::sfx2::sidebar::ControllerItem maBgColorControl
 
::sfx2::sidebar::ControllerItem maBgHatchingControl
 
::sfx2::sidebar::ControllerItem maBgGradientControl
 
::sfx2::sidebar::ControllerItem maBgBitmapControl
 
::sfx2::sidebar::ControllerItem maBgFillStyleControl
 
std::unique_ptr< ColorListBoxmxBgColorLB
 
std::unique_ptr< weld::ComboBoxmxBgHatchingLB
 
std::unique_ptr< ColorListBoxmxBgGradientLB
 
std::unique_ptr< weld::ComboBoxmxBgBitmapLB
 
std::unique_ptr< weld::ComboBoxmxLayoutSelectLB
 
std::unique_ptr< weld::ComboBoxmxColumnCount
 
std::unique_ptr< SvxPageNumberListBoxmxNumberSelectLB
 
std::unique_ptr< weld::ComboBoxmxBgFillType
 
std::unique_ptr< weld::LabelmxCustomEntry
 
OUString m_aCustomEntry
 

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 39 of file PageStylesPanel.hxx.

Constructor & Destructor Documentation

◆ PageStylesPanel()

sw::sidebar::PageStylesPanel::PageStylesPanel ( weld::Widget pParent,
SfxBindings pBindings 
)

Definition at line 89 of file PageStylesPanel.cxx.

References PanelLayout::GetFrameWeld().

◆ ~PageStylesPanel()

sw::sidebar::PageStylesPanel::~PageStylesPanel ( )
overridevirtual

Member Function Documentation

◆ Create()

std::unique_ptr< PanelLayout > sw::sidebar::PageStylesPanel::Create ( weld::Widget pParent,
SfxBindings pBindings 
)
static

Definition at line 79 of file PageStylesPanel.cxx.

◆ DECL_LINK() [1/6]

sw::sidebar::PageStylesPanel::DECL_LINK ( ModifyColumnCountHdl  ,
weld::ComboBox ,
void   
)
private

◆ DECL_LINK() [2/6]

sw::sidebar::PageStylesPanel::DECL_LINK ( ModifyFillColorHdl  ,
weld::ComboBox ,
void   
)
private

◆ DECL_LINK() [3/6]

sw::sidebar::PageStylesPanel::DECL_LINK ( ModifyFillColorListHdl  ,
ColorListBox ,
void   
)
private

◆ DECL_LINK() [4/6]

sw::sidebar::PageStylesPanel::DECL_LINK ( ModifyFillStyleHdl  ,
weld::ComboBox ,
void   
)
private

◆ DECL_LINK() [5/6]

sw::sidebar::PageStylesPanel::DECL_LINK ( ModifyLayoutHdl  ,
weld::ComboBox ,
void   
)
private

◆ DECL_LINK() [6/6]

sw::sidebar::PageStylesPanel::DECL_LINK ( ModifyNumberingHdl  ,
weld::ComboBox ,
void   
)
private

◆ GetBindings()

SfxBindings * sw::sidebar::PageStylesPanel::GetBindings ( ) const
inline

Definition at line 57 of file PageStylesPanel.hxx.

References mpBindings.

Referenced by ModifyFillColor().

◆ GetBitmapSetOrDefault()

OUString const & sw::sidebar::PageStylesPanel::GetBitmapSetOrDefault ( )
private

◆ GetColorSetOrDefault()

Color const & sw::sidebar::PageStylesPanel::GetColorSetOrDefault ( )
private

Definition at line 251 of file PageStylesPanel.cxx.

References mpBgColorItem.

Referenced by Update().

◆ GetControlState()

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

◆ GetGradientSetOrDefault()

basegfx::BGradient const & sw::sidebar::PageStylesPanel::GetGradientSetOrDefault ( )
private

◆ GetHatchingSetOrDefault()

OUString const & sw::sidebar::PageStylesPanel::GetHatchingSetOrDefault ( )
private

Definition at line 277 of file PageStylesPanel.cxx.

References SfxObjectShell::Current(), SvxHatchListItem::GetHatchList(), and mpBgHatchItem.

Referenced by Update().

◆ GetPatternSetOrDefault()

OUString const & sw::sidebar::PageStylesPanel::GetPatternSetOrDefault ( )
private

◆ Initialize()

void sw::sidebar::PageStylesPanel::Initialize ( )
private

◆ ModifyFillColor()

void sw::sidebar::PageStylesPanel::ModifyFillColor ( )
private

◆ NotifyItemUpdate()

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

◆ Update()

void sw::sidebar::PageStylesPanel::Update ( )
private

Member Data Documentation

◆ m_aCustomEntry

OUString sw::sidebar::PageStylesPanel::m_aCustomEntry
private

Definition at line 91 of file PageStylesPanel.hxx.

Referenced by Initialize(), and NotifyItemUpdate().

◆ maBgBitmapControl

::sfx2::sidebar::ControllerItem sw::sidebar::PageStylesPanel::maBgBitmapControl
private

Definition at line 79 of file PageStylesPanel.hxx.

Referenced by ~PageStylesPanel().

◆ maBgColorControl

::sfx2::sidebar::ControllerItem sw::sidebar::PageStylesPanel::maBgColorControl
private

Definition at line 76 of file PageStylesPanel.hxx.

Referenced by ~PageStylesPanel().

◆ maBgFillStyleControl

::sfx2::sidebar::ControllerItem sw::sidebar::PageStylesPanel::maBgFillStyleControl
private

Definition at line 80 of file PageStylesPanel.hxx.

Referenced by ~PageStylesPanel().

◆ maBgGradientControl

::sfx2::sidebar::ControllerItem sw::sidebar::PageStylesPanel::maBgGradientControl
private

Definition at line 78 of file PageStylesPanel.hxx.

Referenced by ~PageStylesPanel().

◆ maBgHatchingControl

::sfx2::sidebar::ControllerItem sw::sidebar::PageStylesPanel::maBgHatchingControl
private

Definition at line 77 of file PageStylesPanel.hxx.

Referenced by ~PageStylesPanel().

◆ maPageColumnControl

::sfx2::sidebar::ControllerItem sw::sidebar::PageStylesPanel::maPageColumnControl
private

Definition at line 74 of file PageStylesPanel.hxx.

Referenced by ~PageStylesPanel().

◆ maPageNumFormatControl

::sfx2::sidebar::ControllerItem sw::sidebar::PageStylesPanel::maPageNumFormatControl
private

Definition at line 75 of file PageStylesPanel.hxx.

Referenced by ~PageStylesPanel().

◆ mpBgBitmapItem

::std::unique_ptr<XFillBitmapItem> sw::sidebar::PageStylesPanel::mpBgBitmapItem
private

◆ mpBgColorItem

::std::unique_ptr<XFillColorItem> sw::sidebar::PageStylesPanel::mpBgColorItem
private

Definition at line 69 of file PageStylesPanel.hxx.

Referenced by GetColorSetOrDefault(), and NotifyItemUpdate().

◆ mpBgGradientItem

::std::unique_ptr<XFillGradientItem> sw::sidebar::PageStylesPanel::mpBgGradientItem
private

Definition at line 70 of file PageStylesPanel.hxx.

Referenced by GetGradientSetOrDefault(), and NotifyItemUpdate().

◆ mpBgHatchItem

::std::unique_ptr<XFillHatchItem> sw::sidebar::PageStylesPanel::mpBgHatchItem
private

Definition at line 71 of file PageStylesPanel.hxx.

Referenced by GetHatchingSetOrDefault(), and NotifyItemUpdate().

◆ mpBindings

SfxBindings* sw::sidebar::PageStylesPanel::mpBindings
private

Definition at line 65 of file PageStylesPanel.hxx.

Referenced by GetBindings(), and Initialize().

◆ mpPageColumnItem

::std::unique_ptr<SfxInt16Item> sw::sidebar::PageStylesPanel::mpPageColumnItem
private

Definition at line 67 of file PageStylesPanel.hxx.

Referenced by NotifyItemUpdate().

◆ mpPageItem

::std::unique_ptr<SvxPageItem> sw::sidebar::PageStylesPanel::mpPageItem
private

Definition at line 68 of file PageStylesPanel.hxx.

Referenced by NotifyItemUpdate().

◆ mxBgBitmapLB

std::unique_ptr<weld::ComboBox> sw::sidebar::PageStylesPanel::mxBgBitmapLB
private

Definition at line 85 of file PageStylesPanel.hxx.

Referenced by Initialize(), ModifyFillColor(), Update(), and ~PageStylesPanel().

◆ mxBgColorLB

std::unique_ptr<ColorListBox> sw::sidebar::PageStylesPanel::mxBgColorLB
private

Definition at line 82 of file PageStylesPanel.hxx.

Referenced by Initialize(), ModifyFillColor(), Update(), and ~PageStylesPanel().

◆ mxBgFillType

std::unique_ptr<weld::ComboBox> sw::sidebar::PageStylesPanel::mxBgFillType
private

◆ mxBgGradientLB

std::unique_ptr<ColorListBox> sw::sidebar::PageStylesPanel::mxBgGradientLB
private

Definition at line 84 of file PageStylesPanel.hxx.

Referenced by Initialize(), ModifyFillColor(), Update(), and ~PageStylesPanel().

◆ mxBgHatchingLB

std::unique_ptr<weld::ComboBox> sw::sidebar::PageStylesPanel::mxBgHatchingLB
private

Definition at line 83 of file PageStylesPanel.hxx.

Referenced by Initialize(), ModifyFillColor(), Update(), and ~PageStylesPanel().

◆ mxColumnCount

std::unique_ptr<weld::ComboBox> sw::sidebar::PageStylesPanel::mxColumnCount
private

Definition at line 87 of file PageStylesPanel.hxx.

Referenced by Initialize(), NotifyItemUpdate(), and ~PageStylesPanel().

◆ mxCustomEntry

std::unique_ptr<weld::Label> sw::sidebar::PageStylesPanel::mxCustomEntry
private

Definition at line 90 of file PageStylesPanel.hxx.

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

◆ mxLayoutSelectLB

std::unique_ptr<weld::ComboBox> sw::sidebar::PageStylesPanel::mxLayoutSelectLB
private

Definition at line 86 of file PageStylesPanel.hxx.

Referenced by Initialize(), NotifyItemUpdate(), and ~PageStylesPanel().

◆ mxNumberSelectLB

std::unique_ptr<SvxPageNumberListBox> sw::sidebar::PageStylesPanel::mxNumberSelectLB
private

Definition at line 88 of file PageStylesPanel.hxx.

Referenced by Initialize(), NotifyItemUpdate(), and ~PageStylesPanel().


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