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

#include <PageMarginControl.hxx>

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

Public Member Functions

 PageMarginControl (sal_uInt16 nId, vcl::Window *pParent)
 
virtual ~PageMarginControl () 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

 DECL_LINK (SelectMarginHdl, Button *, void)
 
 DECL_LINK (ModifyLRMarginHdl, Edit &, void)
 
 DECL_LINK (ModifyULMarginHdl, Edit &, void)
 
void SetMetricFieldMaxValues (const Size &rPageSize)
 
bool GetUserCustomValues ()
 
void StoreUserCustomValues ()
 
void FillHelpText (const bool bUserCustomValuesAvailable)
 

Static Private Member Functions

static void ExecuteMarginLRChange (const long nPageLeftMargin, const long nPageRightMargin)
 
static void ExecuteMarginULChange (const long nPageTopMargin, const long nPageBottomMargin)
 
static void ExecutePageLayoutChange (const bool bMirrored)
 

Private Attributes

VclPtr< PushButtonm_pNarrow
 
VclPtr< PushButtonm_pNormal
 
VclPtr< PushButtonm_pWide
 
VclPtr< PushButtonm_pMirrored
 
VclPtr< PushButtonm_pLast
 
VclPtr< FixedTextm_pLeft
 
VclPtr< FixedTextm_pRight
 
VclPtr< FixedTextm_pInner
 
VclPtr< FixedTextm_pOuter
 
VclPtr< VclVBoxm_pContainer
 
VclPtr< MetricFieldm_pLeftMarginEdit
 
VclPtr< MetricFieldm_pRightMarginEdit
 
VclPtr< MetricFieldm_pTopMarginEdit
 
VclPtr< MetricFieldm_pBottomMarginEdit
 
VclPtr< MetricFieldm_pWidthHeightField
 
long m_nPageLeftMargin
 
long m_nPageRightMargin
 
long m_nPageTopMargin
 
long m_nPageBottomMargin
 
bool m_bMirrored
 
const MapUnit m_eUnit
 
Size m_aPageSize
 
bool m_bUserCustomValuesAvailable
 
long m_nUserCustomPageLeftMargin
 
long m_nUserCustomPageRightMargin
 
long m_nUserCustomPageTopMargin
 
long m_nUserCustomPageBottomMargin
 
bool m_bUserCustomMirrored
 
bool m_bCustomValuesUsed
 

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 38 of file PageMarginControl.hxx.

Constructor & Destructor Documentation

sw::sidebar::PageMarginControl::PageMarginControl ( sal_uInt16  nId,
vcl::Window pParent 
)
explicit
sw::sidebar::PageMarginControl::~PageMarginControl ( )
overridevirtual

Definition at line 237 of file PageMarginControl.cxx.

Member Function Documentation

sw::sidebar::PageMarginControl::DECL_LINK ( SelectMarginHdl  ,
Button ,
void   
)
private
sw::sidebar::PageMarginControl::DECL_LINK ( ModifyLRMarginHdl  ,
Edit ,
void   
)
private
sw::sidebar::PageMarginControl::DECL_LINK ( ModifyULMarginHdl  ,
Edit ,
void   
)
private
void sw::sidebar::PageMarginControl::dispose ( void  )
overridevirtual
void sw::sidebar::PageMarginControl::ExecuteMarginLRChange ( const long  nPageLeftMargin,
const long  nPageRightMargin 
)
staticprivate
void sw::sidebar::PageMarginControl::ExecuteMarginULChange ( const long  nPageTopMargin,
const long  nPageBottomMargin 
)
staticprivate
void sw::sidebar::PageMarginControl::ExecutePageLayoutChange ( const bool  bMirrored)
staticprivate
void sw::sidebar::PageMarginControl::FillHelpText ( const bool  bUserCustomValuesAvailable)
private
bool sw::sidebar::PageMarginControl::GetUserCustomValues ( )
private
void sw::sidebar::PageMarginControl::SetMetricFieldMaxValues ( const Size rPageSize)
private
void sw::sidebar::PageMarginControl::StoreUserCustomValues ( )
private

Member Data Documentation

Size sw::sidebar::PageMarginControl::m_aPageSize
private

Definition at line 75 of file PageMarginControl.hxx.

Referenced by PageMarginControl().

bool sw::sidebar::PageMarginControl::m_bCustomValuesUsed
private

Definition at line 84 of file PageMarginControl.hxx.

Referenced by StoreUserCustomValues().

bool sw::sidebar::PageMarginControl::m_bMirrored
private

Definition at line 71 of file PageMarginControl.hxx.

Referenced by PageMarginControl(), and StoreUserCustomValues().

bool sw::sidebar::PageMarginControl::m_bUserCustomMirrored
private

Definition at line 82 of file PageMarginControl.hxx.

Referenced by FillHelpText(), and GetUserCustomValues().

bool sw::sidebar::PageMarginControl::m_bUserCustomValuesAvailable
private

Definition at line 77 of file PageMarginControl.hxx.

Referenced by PageMarginControl().

const MapUnit sw::sidebar::PageMarginControl::m_eUnit
private

Definition at line 73 of file PageMarginControl.hxx.

Referenced by FillHelpText(), PageMarginControl(), and SetMetricFieldMaxValues().

long sw::sidebar::PageMarginControl::m_nPageBottomMargin
private

Definition at line 70 of file PageMarginControl.hxx.

Referenced by PageMarginControl(), and StoreUserCustomValues().

long sw::sidebar::PageMarginControl::m_nPageLeftMargin
private

Definition at line 67 of file PageMarginControl.hxx.

Referenced by PageMarginControl(), and StoreUserCustomValues().

long sw::sidebar::PageMarginControl::m_nPageRightMargin
private

Definition at line 68 of file PageMarginControl.hxx.

Referenced by PageMarginControl(), and StoreUserCustomValues().

long sw::sidebar::PageMarginControl::m_nPageTopMargin
private

Definition at line 69 of file PageMarginControl.hxx.

Referenced by PageMarginControl(), and StoreUserCustomValues().

long sw::sidebar::PageMarginControl::m_nUserCustomPageBottomMargin
private

Definition at line 81 of file PageMarginControl.hxx.

Referenced by FillHelpText(), and GetUserCustomValues().

long sw::sidebar::PageMarginControl::m_nUserCustomPageLeftMargin
private

Definition at line 78 of file PageMarginControl.hxx.

Referenced by FillHelpText(), and GetUserCustomValues().

long sw::sidebar::PageMarginControl::m_nUserCustomPageRightMargin
private

Definition at line 79 of file PageMarginControl.hxx.

Referenced by FillHelpText(), and GetUserCustomValues().

long sw::sidebar::PageMarginControl::m_nUserCustomPageTopMargin
private

Definition at line 80 of file PageMarginControl.hxx.

Referenced by FillHelpText(), and GetUserCustomValues().

VclPtr<MetricField> sw::sidebar::PageMarginControl::m_pBottomMarginEdit
private

Definition at line 62 of file PageMarginControl.hxx.

Referenced by dispose(), PageMarginControl(), and SetMetricFieldMaxValues().

VclPtr<VclVBox> sw::sidebar::PageMarginControl::m_pContainer
private

Definition at line 57 of file PageMarginControl.hxx.

Referenced by dispose(), and PageMarginControl().

VclPtr<FixedText> sw::sidebar::PageMarginControl::m_pInner
private

Definition at line 54 of file PageMarginControl.hxx.

Referenced by dispose(), and PageMarginControl().

VclPtr<PushButton> sw::sidebar::PageMarginControl::m_pLast
private

Definition at line 50 of file PageMarginControl.hxx.

Referenced by dispose(), FillHelpText(), and PageMarginControl().

VclPtr<FixedText> sw::sidebar::PageMarginControl::m_pLeft
private

Definition at line 52 of file PageMarginControl.hxx.

Referenced by dispose(), and PageMarginControl().

VclPtr<MetricField> sw::sidebar::PageMarginControl::m_pLeftMarginEdit
private

Definition at line 59 of file PageMarginControl.hxx.

Referenced by dispose(), PageMarginControl(), and SetMetricFieldMaxValues().

VclPtr<PushButton> sw::sidebar::PageMarginControl::m_pMirrored
private

Definition at line 49 of file PageMarginControl.hxx.

Referenced by dispose(), FillHelpText(), and PageMarginControl().

VclPtr<PushButton> sw::sidebar::PageMarginControl::m_pNarrow
private

Definition at line 46 of file PageMarginControl.hxx.

Referenced by dispose(), FillHelpText(), and PageMarginControl().

VclPtr<PushButton> sw::sidebar::PageMarginControl::m_pNormal
private

Definition at line 47 of file PageMarginControl.hxx.

Referenced by dispose(), FillHelpText(), and PageMarginControl().

VclPtr<FixedText> sw::sidebar::PageMarginControl::m_pOuter
private

Definition at line 55 of file PageMarginControl.hxx.

Referenced by dispose(), and PageMarginControl().

VclPtr<FixedText> sw::sidebar::PageMarginControl::m_pRight
private

Definition at line 53 of file PageMarginControl.hxx.

Referenced by dispose(), and PageMarginControl().

VclPtr<MetricField> sw::sidebar::PageMarginControl::m_pRightMarginEdit
private

Definition at line 60 of file PageMarginControl.hxx.

Referenced by dispose(), PageMarginControl(), and SetMetricFieldMaxValues().

VclPtr<MetricField> sw::sidebar::PageMarginControl::m_pTopMarginEdit
private

Definition at line 61 of file PageMarginControl.hxx.

Referenced by dispose(), PageMarginControl(), and SetMetricFieldMaxValues().

VclPtr<PushButton> sw::sidebar::PageMarginControl::m_pWide
private

Definition at line 48 of file PageMarginControl.hxx.

Referenced by dispose(), FillHelpText(), and PageMarginControl().

VclPtr<MetricField> sw::sidebar::PageMarginControl::m_pWidthHeightField
private

Definition at line 65 of file PageMarginControl.hxx.

Referenced by dispose(), FillHelpText(), and PageMarginControl().


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