|
LibreOffice Module sw (master) 1
|
#include <PageHeaderPanel.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 |
| PageHeaderPanel (weld::Widget *pParent, SfxBindings *pBindings) | |
| virtual | ~PageHeaderPanel () 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 | UpdateHeaderCheck () |
| void | UpdateMarginControl () |
| void | UpdateSpacingControl () |
| void | UpdateLayoutControl () |
| DECL_LINK (HeaderToggleHdl, weld::Toggleable &, void) | |
| DECL_LINK (HeaderLRMarginHdl, weld::ComboBox &, void) | |
| DECL_LINK (HeaderSpacingHdl, weld::ComboBox &, void) | |
| DECL_LINK (HeaderLayoutHdl, 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 | maHeaderLRMarginController |
| ::sfx2::sidebar::ControllerItem | maHeaderSpacingController |
| ::sfx2::sidebar::ControllerItem | maHeaderLayoutController |
| FieldUnit | meFUnit |
| OUString | m_aCustomEntry |
| ::std::unique_ptr< SfxBoolItem > | mpHeaderItem |
| ::std::unique_ptr< SvxLongLRSpaceItem > | mpHeaderLRMarginItem |
| ::std::unique_ptr< SvxLongULSpaceItem > | mpHeaderSpacingItem |
| ::std::unique_ptr< SfxInt16Item > | mpHeaderLayoutItem |
| std::unique_ptr< weld::CheckButton > | mxHeaderToggle |
| std::unique_ptr< weld::ComboBox > | mxHeaderSpacingLB |
| std::unique_ptr< weld::ComboBox > | mxHeaderMarginPresetLB |
| std::unique_ptr< weld::ComboBox > | mxHeaderLayoutLB |
| 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 32 of file PageHeaderPanel.hxx.
| sw::sidebar::PageHeaderPanel::PageHeaderPanel | ( | weld::Widget * | pParent, |
| SfxBindings * | pBindings | ||
| ) |
Definition at line 54 of file PageHeaderPanel.cxx.
References GetModuleFieldUnit(), and Initialize().
|
overridevirtual |
Definition at line 79 of file PageHeaderPanel.cxx.
References mxCustomEntry, mxHeaderLayoutLB, mxHeaderMarginPresetLB, mxHeaderSpacingLB, and mxHeaderToggle.
|
static |
Definition at line 36 of file PageHeaderPanel.cxx.
|
private |
|
private |
|
private |
|
private |
|
inline |
Definition at line 50 of file PageHeaderPanel.hxx.
References mpBindings.
|
inlineoverridevirtual |
Implements sfx2::sidebar::ControllerItem::ItemUpdateReceiverInterface.
Definition at line 46 of file PageHeaderPanel.hxx.
|
staticprivate |
Definition at line 88 of file PageHeaderPanel.cxx.
References GetModuleFieldUnit(), and GetValue.
Referenced by NotifyItemUpdate().
|
private |
Definition at line 100 of file PageHeaderPanel.cxx.
References SameContentListBox::Fill(), SfxBindings::Invalidate(), LINK, m_aCustomEntry, mpBindings, mxCustomEntry, mxHeaderLayoutLB, mxHeaderMarginPresetLB, mxHeaderSpacingLB, mxHeaderToggle, SetMarginsAndSpacingFieldUnit(), SID_ATTR_PAGE_HEADER, SID_ATTR_PAGE_HEADER_LAYOUT, SID_ATTR_PAGE_HEADER_LRMARGIN, and SID_ATTR_PAGE_HEADER_SPACING.
Referenced by PageHeaderPanel().
|
overridevirtual |
Implements sfx2::sidebar::ControllerItem::ItemUpdateReceiverInterface.
Definition at line 183 of file PageHeaderPanel.cxx.
References SfxPoolItem::Clone(), GetCurrentUnit(), meFUnit, mpHeaderItem, mpHeaderLayoutItem, mpHeaderLRMarginItem, mpHeaderSpacingItem, mxHeaderToggle, SetMarginsAndSpacingFieldUnit(), SID_ATTR_PAGE_HEADER, SID_ATTR_PAGE_HEADER_LAYOUT, SID_ATTR_PAGE_HEADER_LRMARGIN, SID_ATTR_PAGE_HEADER_SPACING, UpdateHeaderCheck(), UpdateLayoutControl(), UpdateMarginControl(), and UpdateSpacingControl().
|
private |
Definition at line 48 of file PageHeaderPanel.cxx.
References SpacingListBox::Fill(), IsInch(), meFUnit, mxHeaderMarginPresetLB, and mxHeaderSpacingLB.
Referenced by Initialize(), and NotifyItemUpdate().
|
private |
Definition at line 119 of file PageHeaderPanel.cxx.
References mxHeaderLayoutLB, mxHeaderMarginPresetLB, mxHeaderSpacingLB, and mxHeaderToggle.
Referenced by NotifyItemUpdate().
|
private |
Definition at line 177 of file PageHeaderPanel.cxx.
References mpHeaderLayoutItem, and mxHeaderLayoutLB.
Referenced by NotifyItemUpdate().
|
private |
Definition at line 135 of file PageHeaderPanel.cxx.
References i, m_aCustomEntry, mpHeaderLRMarginItem, mxHeaderMarginPresetLB, and nCount.
Referenced by NotifyItemUpdate().
|
private |
Definition at line 158 of file PageHeaderPanel.cxx.
References i, m_aCustomEntry, mpHeaderSpacingItem, mxHeaderSpacingLB, and nCount.
Referenced by NotifyItemUpdate().
|
private |
Definition at line 68 of file PageHeaderPanel.hxx.
Referenced by Initialize(), UpdateMarginControl(), and UpdateSpacingControl().
|
private |
Definition at line 64 of file PageHeaderPanel.hxx.
|
private |
Definition at line 62 of file PageHeaderPanel.hxx.
|
private |
Definition at line 63 of file PageHeaderPanel.hxx.
|
private |
Definition at line 60 of file PageHeaderPanel.hxx.
|
private |
Definition at line 61 of file PageHeaderPanel.hxx.
|
private |
Definition at line 66 of file PageHeaderPanel.hxx.
Referenced by NotifyItemUpdate(), and SetMarginsAndSpacingFieldUnit().
|
private |
Definition at line 58 of file PageHeaderPanel.hxx.
Referenced by GetBindings(), and Initialize().
|
private |
Definition at line 77 of file PageHeaderPanel.hxx.
Referenced by NotifyItemUpdate().
|
private |
Definition at line 80 of file PageHeaderPanel.hxx.
Referenced by NotifyItemUpdate(), and UpdateLayoutControl().
|
private |
Definition at line 78 of file PageHeaderPanel.hxx.
Referenced by NotifyItemUpdate(), and UpdateMarginControl().
|
private |
Definition at line 79 of file PageHeaderPanel.hxx.
Referenced by NotifyItemUpdate(), and UpdateSpacingControl().
|
private |
Definition at line 86 of file PageHeaderPanel.hxx.
Referenced by Initialize(), and ~PageHeaderPanel().
|
private |
Definition at line 85 of file PageHeaderPanel.hxx.
Referenced by Initialize(), UpdateHeaderCheck(), UpdateLayoutControl(), and ~PageHeaderPanel().
|
private |
Definition at line 84 of file PageHeaderPanel.hxx.
Referenced by Initialize(), SetMarginsAndSpacingFieldUnit(), UpdateHeaderCheck(), UpdateMarginControl(), and ~PageHeaderPanel().
|
private |
Definition at line 83 of file PageHeaderPanel.hxx.
Referenced by Initialize(), SetMarginsAndSpacingFieldUnit(), UpdateHeaderCheck(), UpdateSpacingControl(), and ~PageHeaderPanel().
|
private |
Definition at line 82 of file PageHeaderPanel.hxx.
Referenced by Initialize(), NotifyItemUpdate(), UpdateHeaderCheck(), and ~PageHeaderPanel().