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

#include <PageOrientationControl.hxx>

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

Public Member Functions

 PageOrientationControl (sal_uInt16 nId, vcl::Window *pParent)
 
virtual ~PageOrientationControl () override
 
virtual void dispose () override
 
- Public Member Functions inherited from SfxPopupWindow
 SfxPopupWindow (sal_uInt16 nId, vcl::Window *pParent, const css::uno::Reference< css::frame::XFrame > &rFrame, WinBits nBits)
 
 SfxPopupWindow (sal_uInt16 nId, vcl::Window *pParent, const OString &rID, const OUString &rUIXMLDescription, const css::uno::Reference< css::frame::XFrame > &rFrame=css::uno::Reference< css::frame::XFrame >())
 
virtual ~SfxPopupWindow () override
 
virtual void MouseMove (const MouseEvent &rMEvt) override
 
void StartCascading ()
 
SAL_DLLPRIVATE void SetDeleteLink_Impl (const Link< SfxPopupWindow *, void > &rLink)
 

Private Member Functions

void ExecuteMarginULChange (const long nPageTopMargin, const long nPageBottomMargin)
 
void ExecuteMarginLRChange (const long nPageLeftMargin, const long nPageRightMargin)
 
void ExecuteOrientationChange (const bool bLandscape)
 
 DECL_LINK (ImplOrientationHdl, Button *, void)
 

Private Attributes

VclPtr< PushButtonm_pPortrait
 
VclPtr< PushButtonm_pLandscape
 
std::unique_ptr< SvxPageItemmpPageItem
 
std::unique_ptr< SvxSizeItemmpPageSizeItem
 
std::unique_ptr< SvxLongLRSpaceItemmpPageLRMarginItem
 
std::unique_ptr< SvxLongULSpaceItemmpPageULMarginItem
 

Additional Inherited Members

- Protected Member Functions inherited from SfxPopupWindow
virtual void PopupModeEnd () override
 
virtual bool Close () override
 
sal_uInt16 GetId () const
 
const css::uno::Reference< css::frame::XFrame > & GetFrame () const
 
void AddStatusListener (const OUString &rCommandURL)
 
virtual void statusChanged (const css::frame::FeatureStateEvent &rEvent)
 

Detailed Description

Definition at line 32 of file PageOrientationControl.hxx.

Constructor & Destructor Documentation

sw::sidebar::PageOrientationControl::PageOrientationControl ( sal_uInt16  nId,
vcl::Window pParent 
)
explicit

Definition at line 53 of file PageOrientationControl.cxx.

References LINK, m_pLandscape, m_pPortrait, and Button::SetClickHdl().

sw::sidebar::PageOrientationControl::~PageOrientationControl ( )
overridevirtual

Definition at line 67 of file PageOrientationControl.cxx.

Member Function Documentation

sw::sidebar::PageOrientationControl::DECL_LINK ( ImplOrientationHdl  ,
Button ,
void   
)
private
void sw::sidebar::PageOrientationControl::dispose ( void  )
overridevirtual
void sw::sidebar::PageOrientationControl::ExecuteMarginLRChange ( const long  nPageLeftMargin,
const long  nPageRightMargin 
)
private
void sw::sidebar::PageOrientationControl::ExecuteMarginULChange ( const long  nPageTopMargin,
const long  nPageBottomMargin 
)
private
void sw::sidebar::PageOrientationControl::ExecuteOrientationChange ( const bool  bLandscape)
private

Member Data Documentation

VclPtr<PushButton> sw::sidebar::PageOrientationControl::m_pLandscape
private

Definition at line 41 of file PageOrientationControl.hxx.

Referenced by dispose(), and PageOrientationControl().

VclPtr<PushButton> sw::sidebar::PageOrientationControl::m_pPortrait
private

Definition at line 40 of file PageOrientationControl.hxx.

Referenced by dispose(), and PageOrientationControl().

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

Definition at line 43 of file PageOrientationControl.hxx.

Referenced by dispose(), and ExecuteOrientationChange().

std::unique_ptr<SvxLongLRSpaceItem> sw::sidebar::PageOrientationControl::mpPageLRMarginItem
private
std::unique_ptr<SvxSizeItem> sw::sidebar::PageOrientationControl::mpPageSizeItem
private

Definition at line 44 of file PageOrientationControl.hxx.

Referenced by dispose(), and ExecuteOrientationChange().

std::unique_ptr<SvxLongULSpaceItem> sw::sidebar::PageOrientationControl::mpPageULMarginItem
private

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