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

#include <PageHeaderPanel.hxx>

Inheritance diagram for sw::sidebar::PageHeaderPanel:
[legend]
Collaboration diagram for sw::sidebar::PageHeaderPanel:
[legend]

Public Member Functions

virtual void NotifyItemUpdate (const sal_uInt16 nSId, const SfxItemState eState, const SfxPoolItem *pState) override
 
SfxBindingsGetBindings () const
 
 PageHeaderPanel (vcl::Window *pParent, const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > &rxFrame, SfxBindings *pBindings)
 
virtual ~PageHeaderPanel () 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, bool bInterimBuilder=false)
 
virtual ~PanelLayout () override
 
virtual Size GetOptimalSize () const override
 
virtual void setPosSizePixel (long nX, long nY, long nWidth, 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 UpdateHeaderCheck ()
 
void UpdateMarginControl ()
 
void UpdateSpacingControl ()
 
void UpdateLayoutControl ()
 
 DECL_LINK (HeaderToggleHdl, Button *, void)
 
 DECL_LINK (HeaderLRMarginHdl, ListBox &, void)
 
 DECL_LINK (HeaderSpacingHdl, ListBox &, void)
 
 DECL_LINK (HeaderLayoutHdl, ListBox &, void)
 

Private Attributes

SfxBindingsmpBindings
 
::sfx2::sidebar::ControllerItem maHFToggleController
 
::sfx2::sidebar::ControllerItem maHeaderLRMarginController
 
::sfx2::sidebar::ControllerItem maHeaderSpacingController
 
::sfx2::sidebar::ControllerItem maHeaderLayoutController
 
VclPtr< CheckBoxmpHeaderToggle
 
VclPtr< SpacingListBoxmpHeaderSpacingLB
 
VclPtr< SpacingListBoxmpHeaderMarginPresetLB
 
VclPtr< SameContentListBoxmpHeaderLayoutLB
 
VclPtr< FixedTextmpCustomEntry
 
OUString aCustomEntry
 
::std::unique_ptr< SfxBoolItemmpHeaderItem
 
::std::unique_ptr< SvxLongLRSpaceItemmpHeaderLRMarginItem
 
::std::unique_ptr< SvxLongULSpaceItemmpHeaderSpacingItem
 
::std::unique_ptr< SfxInt16ItemmpHeaderLayoutItem
 

Additional Inherited Members

- Protected Attributes inherited from PanelLayout
std::unique_ptr< weld::Builderm_xBuilder
 
std::unique_ptr< weld::Containerm_xContainer
 

Detailed Description

Definition at line 42 of file PageHeaderPanel.hxx.

Constructor & Destructor Documentation

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

Definition at line 86 of file PageHeaderPanel.cxx.

Member Function Documentation

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

Definition at line 42 of file PageHeaderPanel.cxx.

References VclPtr< reference_type >::Create().

sw::sidebar::PageHeaderPanel::DECL_LINK ( HeaderToggleHdl  ,
Button ,
void   
)
private
sw::sidebar::PageHeaderPanel::DECL_LINK ( HeaderLRMarginHdl  ,
ListBox ,
void   
)
private
sw::sidebar::PageHeaderPanel::DECL_LINK ( HeaderSpacingHdl  ,
ListBox ,
void   
)
private
sw::sidebar::PageHeaderPanel::DECL_LINK ( HeaderLayoutHdl  ,
ListBox ,
void   
)
private
void sw::sidebar::PageHeaderPanel::dispose ( void  )
overridevirtual
SfxBindings* sw::sidebar::PageHeaderPanel::GetBindings ( ) const
inline

Definition at line 57 of file PageHeaderPanel.hxx.

References mpBindings.

void sw::sidebar::PageHeaderPanel::Initialize ( )
private
void sw::sidebar::PageHeaderPanel::NotifyItemUpdate ( const sal_uInt16  nSId,
const SfxItemState  eState,
const SfxPoolItem pState 
)
overridevirtual
void sw::sidebar::PageHeaderPanel::UpdateHeaderCheck ( )
private
void sw::sidebar::PageHeaderPanel::UpdateLayoutControl ( )
private

Definition at line 170 of file PageHeaderPanel.cxx.

References mpHeaderLayoutItem, and mpHeaderLayoutLB.

Referenced by NotifyItemUpdate().

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

Definition at line 132 of file PageHeaderPanel.cxx.

References aCustomEntry, i, mpHeaderLRMarginItem, and mpHeaderMarginPresetLB.

Referenced by NotifyItemUpdate().

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

Definition at line 153 of file PageHeaderPanel.cxx.

References aCustomEntry, i, mpHeaderSpacingItem, and mpHeaderSpacingLB.

Referenced by NotifyItemUpdate().

Member Data Documentation

OUString sw::sidebar::PageHeaderPanel::aCustomEntry
private

Definition at line 79 of file PageHeaderPanel.hxx.

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

::sfx2::sidebar::ControllerItem sw::sidebar::PageHeaderPanel::maHeaderLayoutController
private

Definition at line 72 of file PageHeaderPanel.hxx.

::sfx2::sidebar::ControllerItem sw::sidebar::PageHeaderPanel::maHeaderLRMarginController
private

Definition at line 70 of file PageHeaderPanel.hxx.

::sfx2::sidebar::ControllerItem sw::sidebar::PageHeaderPanel::maHeaderSpacingController
private

Definition at line 71 of file PageHeaderPanel.hxx.

::sfx2::sidebar::ControllerItem sw::sidebar::PageHeaderPanel::maHFToggleController
private

Definition at line 69 of file PageHeaderPanel.hxx.

SfxBindings* sw::sidebar::PageHeaderPanel::mpBindings
private

Definition at line 67 of file PageHeaderPanel.hxx.

Referenced by GetBindings(), and Initialize().

VclPtr<FixedText> sw::sidebar::PageHeaderPanel::mpCustomEntry
private

Definition at line 78 of file PageHeaderPanel.hxx.

Referenced by dispose(), Initialize(), and PageHeaderPanel().

::std::unique_ptr<SfxBoolItem> sw::sidebar::PageHeaderPanel::mpHeaderItem
private

Definition at line 87 of file PageHeaderPanel.hxx.

Referenced by NotifyItemUpdate().

::std::unique_ptr<SfxInt16Item> sw::sidebar::PageHeaderPanel::mpHeaderLayoutItem
private

Definition at line 90 of file PageHeaderPanel.hxx.

Referenced by NotifyItemUpdate(), and UpdateLayoutControl().

VclPtr<SameContentListBox> sw::sidebar::PageHeaderPanel::mpHeaderLayoutLB
private
::std::unique_ptr<SvxLongLRSpaceItem> sw::sidebar::PageHeaderPanel::mpHeaderLRMarginItem
private

Definition at line 88 of file PageHeaderPanel.hxx.

Referenced by NotifyItemUpdate(), and UpdateMarginControl().

VclPtr<SpacingListBox> sw::sidebar::PageHeaderPanel::mpHeaderMarginPresetLB
private
::std::unique_ptr<SvxLongULSpaceItem> sw::sidebar::PageHeaderPanel::mpHeaderSpacingItem
private

Definition at line 89 of file PageHeaderPanel.hxx.

Referenced by NotifyItemUpdate(), and UpdateSpacingControl().

VclPtr<SpacingListBox> sw::sidebar::PageHeaderPanel::mpHeaderSpacingLB
private
VclPtr<CheckBox> sw::sidebar::PageHeaderPanel::mpHeaderToggle
private

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