|
LibreOffice Module sw (master) 1
|
#include <PageFooterPanel.hxx>
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 |
| SfxBindings * | GetBindings () 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< PanelLayout > | Create (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 | |
| SfxBindings * | mpBindings |
| ::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< SfxBoolItem > | mpFooterItem |
| ::std::unique_ptr< SvxLongLRSpaceItem > | mpFooterLRMarginItem |
| ::std::unique_ptr< SvxLongULSpaceItem > | mpFooterSpacingItem |
| ::std::unique_ptr< SfxInt16Item > | mpFooterLayoutItem |
| std::unique_ptr< weld::CheckButton > | mxFooterToggle |
| std::unique_ptr< weld::ComboBox > | mxFooterSpacingLB |
| std::unique_ptr< weld::ComboBox > | mxFooterMarginPresetLB |
| std::unique_ptr< weld::ComboBox > | mxFooterLayoutLB |
| std::unique_ptr< weld::Label > | mxCustomEntry |
Additional Inherited Members | |
Protected Member Functions inherited from PanelLayout | |
| virtual void | DataChanged (const DataChangedEvent &rEvent) |
| virtual void | DumpAsPropertyTree (tools::JsonWriter &) |
| virtual weld::Window * | GetFrameWeld () const |
Protected Attributes inherited from PanelLayout | |
| std::unique_ptr< weld::Builder > | m_xBuilder |
| std::unique_ptr< weld::Container > | m_xContainer |
| sfx2::sidebar::Panel * | m_pPanel |
Definition at line 33 of file PageFooterPanel.hxx.
| sw::sidebar::PageFooterPanel::PageFooterPanel | ( | weld::Widget * | pParent, |
| SfxBindings * | pBindings | ||
| ) |
Definition at line 51 of file PageFooterPanel.cxx.
References GetModuleFieldUnit(), and Initialize().
|
overridevirtual |
Definition at line 75 of file PageFooterPanel.cxx.
References SfxControllerItem::dispose(), maMetricController, mxCustomEntry, mxFooterLayoutLB, mxFooterMarginPresetLB, mxFooterSpacingLB, and mxFooterToggle.
|
static |
Definition at line 36 of file PageFooterPanel.cxx.
|
private |
|
private |
|
private |
|
private |
|
inline |
Definition at line 51 of file PageFooterPanel.hxx.
References mpBindings.
|
inlineoverridevirtual |
Implements sfx2::sidebar::ControllerItem::ItemUpdateReceiverInterface.
Definition at line 47 of file PageFooterPanel.hxx.
|
staticprivate |
Definition at line 85 of file PageFooterPanel.cxx.
References GetModuleFieldUnit(), and GetValue.
Referenced by NotifyItemUpdate().
|
private |
Definition at line 97 of file PageFooterPanel.cxx.
References SameContentListBox::Fill(), SfxBindings::Invalidate(), LINK, m_aCustomEntry, mpBindings, mxCustomEntry, mxFooterLayoutLB, mxFooterMarginPresetLB, mxFooterSpacingLB, mxFooterToggle, SetMarginsAndSpacingFieldUnit(), SID_ATTR_PAGE_FOOTER, SID_ATTR_PAGE_FOOTER_LAYOUT, SID_ATTR_PAGE_FOOTER_LRMARGIN, and SID_ATTR_PAGE_FOOTER_SPACING.
Referenced by PageFooterPanel().
|
overridevirtual |
Implements sfx2::sidebar::ControllerItem::ItemUpdateReceiverInterface.
Definition at line 180 of file PageFooterPanel.cxx.
References SfxPoolItem::Clone(), GetCurrentUnit(), meFUnit, mpFooterItem, mpFooterLayoutItem, mpFooterLRMarginItem, mpFooterSpacingItem, mxFooterToggle, SetMarginsAndSpacingFieldUnit(), SID_ATTR_PAGE_FOOTER, SID_ATTR_PAGE_FOOTER_LAYOUT, SID_ATTR_PAGE_FOOTER_LRMARGIN, SID_ATTR_PAGE_FOOTER_SPACING, UpdateFooterCheck(), UpdateLayoutControl(), UpdateMarginControl(), and UpdateSpacingControl().
|
private |
Definition at line 45 of file PageFooterPanel.cxx.
References SpacingListBox::Fill(), IsInch(), meFUnit, mxFooterMarginPresetLB, and mxFooterSpacingLB.
Referenced by Initialize(), and NotifyItemUpdate().
|
private |
Definition at line 116 of file PageFooterPanel.cxx.
References mxFooterLayoutLB, mxFooterMarginPresetLB, mxFooterSpacingLB, and mxFooterToggle.
Referenced by NotifyItemUpdate().
|
private |
Definition at line 174 of file PageFooterPanel.cxx.
References mpFooterLayoutItem, and mxFooterLayoutLB.
Referenced by NotifyItemUpdate().
|
private |
Definition at line 132 of file PageFooterPanel.cxx.
References i, m_aCustomEntry, mpFooterLRMarginItem, mxFooterMarginPresetLB, and nCount.
Referenced by NotifyItemUpdate().
|
private |
Definition at line 155 of file PageFooterPanel.cxx.
References i, m_aCustomEntry, mpFooterSpacingItem, mxFooterSpacingLB, and nCount.
Referenced by NotifyItemUpdate().
|
private |
Definition at line 69 of file PageFooterPanel.hxx.
Referenced by Initialize(), UpdateMarginControl(), and UpdateSpacingControl().
|
private |
Definition at line 65 of file PageFooterPanel.hxx.
|
private |
Definition at line 63 of file PageFooterPanel.hxx.
|
private |
Definition at line 64 of file PageFooterPanel.hxx.
|
private |
Definition at line 61 of file PageFooterPanel.hxx.
|
private |
Definition at line 62 of file PageFooterPanel.hxx.
Referenced by ~PageFooterPanel().
|
private |
Definition at line 67 of file PageFooterPanel.hxx.
Referenced by NotifyItemUpdate(), and SetMarginsAndSpacingFieldUnit().
|
private |
Definition at line 59 of file PageFooterPanel.hxx.
Referenced by GetBindings(), and Initialize().
|
private |
Definition at line 78 of file PageFooterPanel.hxx.
Referenced by NotifyItemUpdate().
|
private |
Definition at line 81 of file PageFooterPanel.hxx.
Referenced by NotifyItemUpdate(), and UpdateLayoutControl().
|
private |
Definition at line 79 of file PageFooterPanel.hxx.
Referenced by NotifyItemUpdate(), and UpdateMarginControl().
|
private |
Definition at line 80 of file PageFooterPanel.hxx.
Referenced by NotifyItemUpdate(), and UpdateSpacingControl().
|
private |
Definition at line 87 of file PageFooterPanel.hxx.
Referenced by Initialize(), and ~PageFooterPanel().
|
private |
Definition at line 86 of file PageFooterPanel.hxx.
Referenced by Initialize(), UpdateFooterCheck(), UpdateLayoutControl(), and ~PageFooterPanel().
|
private |
Definition at line 85 of file PageFooterPanel.hxx.
Referenced by Initialize(), SetMarginsAndSpacingFieldUnit(), UpdateFooterCheck(), UpdateMarginControl(), and ~PageFooterPanel().
|
private |
Definition at line 84 of file PageFooterPanel.hxx.
Referenced by Initialize(), SetMarginsAndSpacingFieldUnit(), UpdateFooterCheck(), UpdateSpacingControl(), and ~PageFooterPanel().
|
private |
Definition at line 83 of file PageFooterPanel.hxx.
Referenced by Initialize(), NotifyItemUpdate(), UpdateFooterCheck(), and ~PageFooterPanel().