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

#include <PageFormatPanel.hxx>

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

Public Member Functions

virtual void NotifyItemUpdate (const sal_uInt16 nSId, const SfxItemState eState, const SfxPoolItem *pState) override
 
 PageFormatPanel (vcl::Window *pParent, const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > &rxFrame, SfxBindings *pBindings)
 
virtual ~PageFormatPanel () 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)
 
static FieldUnit GetCurrentUnit (SfxItemState eState, const SfxPoolItem *pState)
 

Private Member Functions

void Initialize ()
 
void UpdateMarginBox ()
 
void ExecuteMarginLRChange (const long nPageLeftMargin, const long nPageRightMargin)
 
void ExecuteMarginULChange (const long nPageTopMargin, const long nPageBottomMargin)
 
 DECL_LINK (PaperFormatModifyHdl, ListBox &, void)
 
 DECL_LINK (PaperSizeModifyHdl, Edit &, void)
 
 DECL_LINK (PaperModifyMarginHdl, ListBox &, void)
 

Private Attributes

SfxBindingsmpBindings
 
VclPtr< PaperSizeListBoxmpPaperSizeBox
 
VclPtr< SvxRelativeFieldmpPaperWidth
 
VclPtr< SvxRelativeFieldmpPaperHeight
 
VclPtr< ListBoxmpPaperOrientation
 
VclPtr< ListBoxmpMarginSelectBox
 
VclPtr< FixedTextmpCustomEntry
 
::sfx2::sidebar::ControllerItem maPaperSizeController
 
::sfx2::sidebar::ControllerItem maPaperOrientationController
 
::sfx2::sidebar::ControllerItem maMetricController
 
::sfx2::sidebar::ControllerItem maSwPageLRControl
 
::sfx2::sidebar::ControllerItem maSwPageULControl
 
std::unique_ptr< SvxPageItemmpPageItem
 
std::unique_ptr< SvxLongLRSpaceItemmpPageLRMarginItem
 
std::unique_ptr< SvxLongULSpaceItemmpPageULMarginItem
 
FieldUnit meFUnit
 
FieldUnit meLastFUnit
 
MapUnit meUnit
 
long mnPageLeftMargin
 
long mnPageRightMargin
 
long mnPageTopMargin
 
long mnPageBottomMargin
 
OUString aCustomEntry
 

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 PageFormatPanel.hxx.

Constructor & Destructor Documentation

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

Definition at line 100 of file PageFormatPanel.cxx.

Member Function Documentation

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

Definition at line 48 of file PageFormatPanel.cxx.

References VclPtr< reference_type >::Create().

sw::sidebar::PageFormatPanel::DECL_LINK ( PaperFormatModifyHdl  ,
ListBox ,
void   
)
private
sw::sidebar::PageFormatPanel::DECL_LINK ( PaperSizeModifyHdl  ,
Edit ,
void   
)
private
sw::sidebar::PageFormatPanel::DECL_LINK ( PaperModifyMarginHdl  ,
ListBox ,
void   
)
private
void sw::sidebar::PageFormatPanel::dispose ( void  )
overridevirtual
void sw::sidebar::PageFormatPanel::ExecuteMarginLRChange ( const long  nPageLeftMargin,
const long  nPageRightMargin 
)
private
void sw::sidebar::PageFormatPanel::ExecuteMarginULChange ( const long  nPageTopMargin,
const long  nPageBottomMargin 
)
private
FieldUnit sw::sidebar::PageFormatPanel::GetCurrentUnit ( SfxItemState  eState,
const SfxPoolItem pState 
)
static
void sw::sidebar::PageFormatPanel::Initialize ( )
private
void sw::sidebar::PageFormatPanel::NotifyItemUpdate ( const sal_uInt16  nSId,
const SfxItemState  eState,
const SfxPoolItem pState 
)
overridevirtual
void sw::sidebar::PageFormatPanel::UpdateMarginBox ( )
private

Member Data Documentation

OUString sw::sidebar::PageFormatPanel::aCustomEntry
private

Definition at line 94 of file PageFormatPanel.hxx.

Referenced by Initialize(), and UpdateMarginBox().

::sfx2::sidebar::ControllerItem sw::sidebar::PageFormatPanel::maMetricController
private

Definition at line 79 of file PageFormatPanel.hxx.

Referenced by dispose().

::sfx2::sidebar::ControllerItem sw::sidebar::PageFormatPanel::maPaperOrientationController
private

Definition at line 78 of file PageFormatPanel.hxx.

Referenced by dispose().

::sfx2::sidebar::ControllerItem sw::sidebar::PageFormatPanel::maPaperSizeController
private

Definition at line 77 of file PageFormatPanel.hxx.

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

::sfx2::sidebar::ControllerItem sw::sidebar::PageFormatPanel::maSwPageLRControl
private

Definition at line 80 of file PageFormatPanel.hxx.

Referenced by dispose().

::sfx2::sidebar::ControllerItem sw::sidebar::PageFormatPanel::maSwPageULControl
private

Definition at line 81 of file PageFormatPanel.hxx.

Referenced by dispose().

FieldUnit sw::sidebar::PageFormatPanel::meFUnit
private

Definition at line 87 of file PageFormatPanel.hxx.

Referenced by Initialize(), and NotifyItemUpdate().

FieldUnit sw::sidebar::PageFormatPanel::meLastFUnit
private

Definition at line 87 of file PageFormatPanel.hxx.

Referenced by NotifyItemUpdate().

MapUnit sw::sidebar::PageFormatPanel::meUnit
private

Definition at line 88 of file PageFormatPanel.hxx.

Referenced by Initialize(), and NotifyItemUpdate().

long sw::sidebar::PageFormatPanel::mnPageBottomMargin
private

Definition at line 93 of file PageFormatPanel.hxx.

Referenced by UpdateMarginBox().

long sw::sidebar::PageFormatPanel::mnPageLeftMargin
private

Definition at line 90 of file PageFormatPanel.hxx.

Referenced by UpdateMarginBox().

long sw::sidebar::PageFormatPanel::mnPageRightMargin
private

Definition at line 91 of file PageFormatPanel.hxx.

Referenced by UpdateMarginBox().

long sw::sidebar::PageFormatPanel::mnPageTopMargin
private

Definition at line 92 of file PageFormatPanel.hxx.

Referenced by UpdateMarginBox().

SfxBindings* sw::sidebar::PageFormatPanel::mpBindings
private

Definition at line 68 of file PageFormatPanel.hxx.

Referenced by ExecuteMarginLRChange(), ExecuteMarginULChange(), and Initialize().

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

Definition at line 75 of file PageFormatPanel.hxx.

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

VclPtr<ListBox> sw::sidebar::PageFormatPanel::mpMarginSelectBox
private

Definition at line 74 of file PageFormatPanel.hxx.

Referenced by dispose(), Initialize(), PageFormatPanel(), and UpdateMarginBox().

std::unique_ptr<SvxPageItem> sw::sidebar::PageFormatPanel::mpPageItem
private

Definition at line 83 of file PageFormatPanel.hxx.

Referenced by dispose(), NotifyItemUpdate(), and UpdateMarginBox().

std::unique_ptr<SvxLongLRSpaceItem> sw::sidebar::PageFormatPanel::mpPageLRMarginItem
private
std::unique_ptr<SvxLongULSpaceItem> sw::sidebar::PageFormatPanel::mpPageULMarginItem
private
VclPtr<SvxRelativeField> sw::sidebar::PageFormatPanel::mpPaperHeight
private

Definition at line 72 of file PageFormatPanel.hxx.

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

VclPtr<ListBox> sw::sidebar::PageFormatPanel::mpPaperOrientation
private

Definition at line 73 of file PageFormatPanel.hxx.

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

VclPtr<PaperSizeListBox> sw::sidebar::PageFormatPanel::mpPaperSizeBox
private

Definition at line 70 of file PageFormatPanel.hxx.

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

VclPtr<SvxRelativeField> sw::sidebar::PageFormatPanel::mpPaperWidth
private

Definition at line 71 of file PageFormatPanel.hxx.

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


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