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 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 sfx2::sidebar::ControllerItem::ItemUpdateReceiverInterface
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 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

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

Definition at line 51 of file PageFooterPanel.cxx.

References GetModuleFieldUnit(), and Initialize().

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

Member Function Documentation

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

Definition at line 36 of file PageFooterPanel.cxx.

sw::sidebar::PageFooterPanel::DECL_LINK ( FooterToggleHdl  ,
weld::Toggleable ,
void   
)
private
sw::sidebar::PageFooterPanel::DECL_LINK ( FooterLRMarginHdl  ,
weld::ComboBox ,
void   
)
private
sw::sidebar::PageFooterPanel::DECL_LINK ( FooterSpacingHdl  ,
weld::ComboBox ,
void   
)
private
sw::sidebar::PageFooterPanel::DECL_LINK ( FooterLayoutHdl  ,
weld::ComboBox ,
void   
)
private
SfxBindings* sw::sidebar::PageFooterPanel::GetBindings ( ) const
inline

Definition at line 51 of file PageFooterPanel.hxx.

References mpBindings.

virtual void sw::sidebar::PageFooterPanel::GetControlState ( const sal_uInt16  ,
boost::property_tree::ptree &   
)
inlineoverridevirtual
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().

void sw::sidebar::PageFooterPanel::Initialize ( )
private
void sw::sidebar::PageFooterPanel::NotifyItemUpdate ( const sal_uInt16  nSId,
const SfxItemState  eState,
const SfxPoolItem pState 
)
overridevirtual
void sw::sidebar::PageFooterPanel::SetMarginsAndSpacingFieldUnit ( )
private
void sw::sidebar::PageFooterPanel::UpdateFooterCheck ( )
private
void sw::sidebar::PageFooterPanel::UpdateLayoutControl ( )
private

Definition at line 174 of file PageFooterPanel.cxx.

References mpFooterLayoutItem, and mxFooterLayoutLB.

Referenced by NotifyItemUpdate().

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

Definition at line 132 of file PageFooterPanel.cxx.

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

Referenced by NotifyItemUpdate().

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

Definition at line 155 of file PageFooterPanel.cxx.

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

Referenced by NotifyItemUpdate().

Member Data Documentation

OUString sw::sidebar::PageFooterPanel::aCustomEntry
private

Definition at line 69 of file PageFooterPanel.hxx.

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

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

Definition at line 65 of file PageFooterPanel.hxx.

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

Definition at line 63 of file PageFooterPanel.hxx.

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

Definition at line 64 of file PageFooterPanel.hxx.

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

Definition at line 61 of file PageFooterPanel.hxx.

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

Definition at line 62 of file PageFooterPanel.hxx.

Referenced by ~PageFooterPanel().

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

Definition at line 67 of file PageFooterPanel.hxx.

Referenced by NotifyItemUpdate(), and SetMarginsAndSpacingFieldUnit().

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

Definition at line 59 of file PageFooterPanel.hxx.

Referenced by GetBindings(), and Initialize().

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

Definition at line 78 of file PageFooterPanel.hxx.

Referenced by NotifyItemUpdate().

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

Definition at line 81 of file PageFooterPanel.hxx.

Referenced by NotifyItemUpdate(), and UpdateLayoutControl().

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

Definition at line 79 of file PageFooterPanel.hxx.

Referenced by NotifyItemUpdate(), and UpdateMarginControl().

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

Definition at line 80 of file PageFooterPanel.hxx.

Referenced by NotifyItemUpdate(), and UpdateSpacingControl().

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

Definition at line 87 of file PageFooterPanel.hxx.

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

std::unique_ptr<weld::ComboBox> sw::sidebar::PageFooterPanel::mxFooterLayoutLB
private
std::unique_ptr<weld::ComboBox> sw::sidebar::PageFooterPanel::mxFooterMarginPresetLB
private
std::unique_ptr<weld::ComboBox> sw::sidebar::PageFooterPanel::mxFooterSpacingLB
private
std::unique_ptr<weld::CheckButton> sw::sidebar::PageFooterPanel::mxFooterToggle
private

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