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 (vcl::Window *pParent, const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > &rxFrame, SfxBindings *pBindings)
 
virtual ~PageFooterPanel () override
 
virtual void dispose () override
 
- Public Member Functions inherited from PanelLayout
 PanelLayout (vcl::Window *pParent, const OString &rID, const OUString &rUIXMLDescription, const css::uno::Reference< css::frame::XFrame > &rFrame)
 
virtual ~PanelLayout () override
 
virtual Size GetOptimalSize () const override
 
virtual void setPosSizePixel (tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight, PosSizeFlags nFlags=PosSizeFlags::All) override
 
virtual void queue_resize (StateChangedType eReason=StateChangedType::Layout) override
 
virtual bool EventNotify (NotifyEvent &rNEvt) override
 
- Public Member Functions inherited from sfx2::sidebar::ControllerItem::ItemUpdateReceiverInterface
virtual ~ItemUpdateReceiverInterface ()
 

Static Public Member Functions

static VclPtr< vcl::WindowCreate (vcl::Window *pParent, const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > &rxFrame, SfxBindings *pBindings)
 

Private Member Functions

void Initialize ()
 
void SetMarginsAndSpacingFieldUnit ()
 
void UpdateFooterCheck ()
 
void UpdateMarginControl ()
 
void UpdateSpacingControl ()
 
void UpdateLayoutControl ()
 
 DECL_LINK (FooterToggleHdl, weld::ToggleButton &, 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 Attributes inherited from PanelLayout
std::unique_ptr< weld::Builderm_xBuilder
 
VclPtr< vcl::Windowm_xVclContentArea
 
std::unique_ptr< weld::Containerm_xContainer
 

Detailed Description

Definition at line 39 of file PageFooterPanel.hxx.

Constructor & Destructor Documentation

sw::sidebar::PageFooterPanel::PageFooterPanel ( vcl::Window pParent,
const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > &  rxFrame,
SfxBindings pBindings 
)

Definition at line 53 of file PageFooterPanel.cxx.

References GetModuleFieldUnit(), and Initialize().

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

Definition at line 79 of file PageFooterPanel.cxx.

Member Function Documentation

VclPtr< vcl::Window > sw::sidebar::PageFooterPanel::Create ( vcl::Window pParent,
const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > &  rxFrame,
SfxBindings pBindings 
)
static

Definition at line 34 of file PageFooterPanel.cxx.

References VclPtr< reference_type >::Create().

sw::sidebar::PageFooterPanel::DECL_LINK ( FooterToggleHdl  ,
weld::ToggleButton ,
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
void sw::sidebar::PageFooterPanel::dispose ( void  )
overridevirtual
SfxBindings* sw::sidebar::PageFooterPanel::GetBindings ( ) const
inline

Definition at line 58 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 96 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 185 of file PageFooterPanel.cxx.

References mpFooterLayoutItem, and mxFooterLayoutLB.

Referenced by NotifyItemUpdate().

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

Definition at line 143 of file PageFooterPanel.cxx.

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

Referenced by NotifyItemUpdate().

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

Definition at line 166 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 78 of file PageFooterPanel.hxx.

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

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

Definition at line 74 of file PageFooterPanel.hxx.

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

Definition at line 72 of file PageFooterPanel.hxx.

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

Definition at line 73 of file PageFooterPanel.hxx.

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

Definition at line 70 of file PageFooterPanel.hxx.

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

Definition at line 71 of file PageFooterPanel.hxx.

Referenced by dispose().

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

Definition at line 76 of file PageFooterPanel.hxx.

Referenced by NotifyItemUpdate(), and SetMarginsAndSpacingFieldUnit().

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

Definition at line 68 of file PageFooterPanel.hxx.

Referenced by GetBindings(), and Initialize().

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

Definition at line 87 of file PageFooterPanel.hxx.

Referenced by NotifyItemUpdate().

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

Definition at line 90 of file PageFooterPanel.hxx.

Referenced by NotifyItemUpdate(), and UpdateLayoutControl().

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

Definition at line 88 of file PageFooterPanel.hxx.

Referenced by NotifyItemUpdate(), and UpdateMarginControl().

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

Definition at line 89 of file PageFooterPanel.hxx.

Referenced by NotifyItemUpdate(), and UpdateSpacingControl().

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

Definition at line 96 of file PageFooterPanel.hxx.

Referenced by dispose(), and Initialize().

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

Definition at line 95 of file PageFooterPanel.hxx.

Referenced by dispose(), Initialize(), UpdateFooterCheck(), and UpdateLayoutControl().

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

Definition at line 92 of file PageFooterPanel.hxx.

Referenced by dispose(), Initialize(), NotifyItemUpdate(), and UpdateFooterCheck().


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