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

#include <PageFooterPanel.hxx>

Inheritance diagram for sw::sidebar::PageFooterPanel:
[legend]
Collaboration diagram for sw::sidebar::PageFooterPanel:
[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
 
 PageFooterPanel (weld::Widget *pParent, SfxBindings *pBindings)
 
virtual ~PageFooterPanel () 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 SetMarginsAndSpacingFieldUnit ()
 
void UpdateFooterCheck ()
 
void UpdateMarginControl ()
 
void UpdateSpacingControl ()
 
void UpdateLayoutControl ()
 
 DECL_LINK (FooterToggleHdl, weld::Toggleable &, void)
 
 DECL_LINK (FooterLRMarginHdl, weld::ComboBox &, void)
 
 DECL_LINK (FooterSpacingHdl, weld::ComboBox &, void)
 
 DECL_LINK (FooterLayoutHdl, weld::ComboBox &, void)
 

Static Private Member Functions

static FieldUnit GetCurrentUnit (SfxItemState eState, const SfxPoolItem *pState)
 

Private Attributes

SfxBindingsmpBindings
 
::sfx2::sidebar::ControllerItem maHFToggleController
 
::sfx2::sidebar::ControllerItem maMetricController
 
::sfx2::sidebar::ControllerItem maFooterLRMarginController
 
::sfx2::sidebar::ControllerItem maFooterSpacingController
 
::sfx2::sidebar::ControllerItem maFooterLayoutController
 
FieldUnit meFUnit
 
OUString m_aCustomEntry
 
::std::unique_ptr< SfxBoolItemmpFooterItem
 
::std::unique_ptr< SvxLongLRSpaceItemmpFooterLRMarginItem
 
::std::unique_ptr< SvxLongULSpaceItemmpFooterSpacingItem
 
::std::unique_ptr< SfxInt16ItemmpFooterLayoutItem
 
std::unique_ptr< weld::CheckButtonmxFooterToggle
 
std::unique_ptr< weld::ComboBoxmxFooterSpacingLB
 
std::unique_ptr< weld::ComboBoxmxFooterMarginPresetLB
 
std::unique_ptr< weld::ComboBoxmxFooterLayoutLB
 
std::unique_ptr< weld::LabelmxCustomEntry
 

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 33 of file PageFooterPanel.hxx.

Constructor & Destructor Documentation

◆ PageFooterPanel()

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

Definition at line 51 of file PageFooterPanel.cxx.

References GetModuleFieldUnit(), and Initialize().

◆ ~PageFooterPanel()

sw::sidebar::PageFooterPanel::~PageFooterPanel ( )
overridevirtual

Member Function Documentation

◆ Create()

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

Definition at line 36 of file PageFooterPanel.cxx.

◆ DECL_LINK() [1/4]

sw::sidebar::PageFooterPanel::DECL_LINK ( FooterLayoutHdl  ,
weld::ComboBox ,
void   
)
private

◆ DECL_LINK() [2/4]

sw::sidebar::PageFooterPanel::DECL_LINK ( FooterLRMarginHdl  ,
weld::ComboBox ,
void   
)
private

◆ DECL_LINK() [3/4]

sw::sidebar::PageFooterPanel::DECL_LINK ( FooterSpacingHdl  ,
weld::ComboBox ,
void   
)
private

◆ DECL_LINK() [4/4]

sw::sidebar::PageFooterPanel::DECL_LINK ( FooterToggleHdl  ,
weld::Toggleable ,
void   
)
private

◆ GetBindings()

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

Definition at line 51 of file PageFooterPanel.hxx.

References mpBindings.

◆ GetControlState()

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

◆ GetCurrentUnit()

FieldUnit sw::sidebar::PageFooterPanel::GetCurrentUnit ( SfxItemState  eState,
const SfxPoolItem pState 
)
staticprivate

Definition at line 85 of file PageFooterPanel.cxx.

References GetModuleFieldUnit(), and GetValue.

Referenced by NotifyItemUpdate().

◆ Initialize()

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

◆ NotifyItemUpdate()

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

◆ SetMarginsAndSpacingFieldUnit()

void sw::sidebar::PageFooterPanel::SetMarginsAndSpacingFieldUnit ( )
private

◆ UpdateFooterCheck()

void sw::sidebar::PageFooterPanel::UpdateFooterCheck ( )
private

◆ UpdateLayoutControl()

void sw::sidebar::PageFooterPanel::UpdateLayoutControl ( )
private

Definition at line 174 of file PageFooterPanel.cxx.

References mpFooterLayoutItem, and mxFooterLayoutLB.

Referenced by NotifyItemUpdate().

◆ UpdateMarginControl()

void sw::sidebar::PageFooterPanel::UpdateMarginControl ( )
private

Definition at line 132 of file PageFooterPanel.cxx.

References i, m_aCustomEntry, mpFooterLRMarginItem, mxFooterMarginPresetLB, and nCount.

Referenced by NotifyItemUpdate().

◆ UpdateSpacingControl()

void sw::sidebar::PageFooterPanel::UpdateSpacingControl ( )
private

Definition at line 155 of file PageFooterPanel.cxx.

References i, m_aCustomEntry, mpFooterSpacingItem, mxFooterSpacingLB, and nCount.

Referenced by NotifyItemUpdate().

Member Data Documentation

◆ m_aCustomEntry

OUString sw::sidebar::PageFooterPanel::m_aCustomEntry
private

Definition at line 69 of file PageFooterPanel.hxx.

Referenced by Initialize(), UpdateMarginControl(), and UpdateSpacingControl().

◆ maFooterLayoutController

::sfx2::sidebar::ControllerItem sw::sidebar::PageFooterPanel::maFooterLayoutController
private

Definition at line 65 of file PageFooterPanel.hxx.

◆ maFooterLRMarginController

::sfx2::sidebar::ControllerItem sw::sidebar::PageFooterPanel::maFooterLRMarginController
private

Definition at line 63 of file PageFooterPanel.hxx.

◆ maFooterSpacingController

::sfx2::sidebar::ControllerItem sw::sidebar::PageFooterPanel::maFooterSpacingController
private

Definition at line 64 of file PageFooterPanel.hxx.

◆ maHFToggleController

::sfx2::sidebar::ControllerItem sw::sidebar::PageFooterPanel::maHFToggleController
private

Definition at line 61 of file PageFooterPanel.hxx.

◆ maMetricController

::sfx2::sidebar::ControllerItem sw::sidebar::PageFooterPanel::maMetricController
private

Definition at line 62 of file PageFooterPanel.hxx.

Referenced by ~PageFooterPanel().

◆ meFUnit

FieldUnit sw::sidebar::PageFooterPanel::meFUnit
private

Definition at line 67 of file PageFooterPanel.hxx.

Referenced by NotifyItemUpdate(), and SetMarginsAndSpacingFieldUnit().

◆ mpBindings

SfxBindings* sw::sidebar::PageFooterPanel::mpBindings
private

Definition at line 59 of file PageFooterPanel.hxx.

Referenced by GetBindings(), and Initialize().

◆ mpFooterItem

::std::unique_ptr<SfxBoolItem> sw::sidebar::PageFooterPanel::mpFooterItem
private

Definition at line 78 of file PageFooterPanel.hxx.

Referenced by NotifyItemUpdate().

◆ mpFooterLayoutItem

::std::unique_ptr<SfxInt16Item> sw::sidebar::PageFooterPanel::mpFooterLayoutItem
private

Definition at line 81 of file PageFooterPanel.hxx.

Referenced by NotifyItemUpdate(), and UpdateLayoutControl().

◆ mpFooterLRMarginItem

::std::unique_ptr<SvxLongLRSpaceItem> sw::sidebar::PageFooterPanel::mpFooterLRMarginItem
private

Definition at line 79 of file PageFooterPanel.hxx.

Referenced by NotifyItemUpdate(), and UpdateMarginControl().

◆ mpFooterSpacingItem

::std::unique_ptr<SvxLongULSpaceItem> sw::sidebar::PageFooterPanel::mpFooterSpacingItem
private

Definition at line 80 of file PageFooterPanel.hxx.

Referenced by NotifyItemUpdate(), and UpdateSpacingControl().

◆ mxCustomEntry

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

Definition at line 87 of file PageFooterPanel.hxx.

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

◆ mxFooterLayoutLB

std::unique_ptr<weld::ComboBox> sw::sidebar::PageFooterPanel::mxFooterLayoutLB
private

◆ mxFooterMarginPresetLB

std::unique_ptr<weld::ComboBox> sw::sidebar::PageFooterPanel::mxFooterMarginPresetLB
private

◆ mxFooterSpacingLB

std::unique_ptr<weld::ComboBox> sw::sidebar::PageFooterPanel::mxFooterSpacingLB
private

◆ mxFooterToggle

std::unique_ptr<weld::CheckButton> sw::sidebar::PageFooterPanel::mxFooterToggle
private

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