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

#include <PageOrientationControl.hxx>

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

Public Member Functions

 PageOrientationControl (PageOrientationPopup *pControl, weld::Widget *pParent)
 
virtual void GrabFocus () override
 
virtual ~PageOrientationControl () override
 
- Public Member Functions inherited from WeldToolbarPopup
 WeldToolbarPopup (const css::uno::Reference< css::frame::XFrame > &rFrame, weld::Widget *pParent, const OUString &rUIFile, const OString &rId)
 
virtual ~WeldToolbarPopup () override
 
weld::ContainergetTopLevel ()
 
weld::ContainergetContainer ()
 
- Public Member Functions inherited from svtools::ToolbarPopupBase
 ToolbarPopupBase (const css::uno::Reference< css::frame::XFrame > &rFrame)
 
virtual ~ToolbarPopupBase ()
 

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, weld::Button &, void)
 

Private Attributes

std::unique_ptr< weld::Buttonm_xPortrait
 
std::unique_ptr< weld::Buttonm_xLandscape
 
rtl::Reference< PageOrientationPopupm_xControl
 
std::unique_ptr< SvxPageItemmpPageItem
 
std::unique_ptr< SvxSizeItemmpPageSizeItem
 
std::unique_ptr< SvxLongLRSpaceItemmpPageLRMarginItem
 
std::unique_ptr< SvxLongULSpaceItemmpPageULMarginItem
 

Additional Inherited Members

- Protected Member Functions inherited from svtools::ToolbarPopupBase
void AddStatusListener (const OUString &rCommandURL)
 
virtual void statusChanged (const css::frame::FeatureStateEvent &Event)
 
- Protected Attributes inherited from WeldToolbarPopup
std::unique_ptr< weld::Builderm_xBuilder
 
std::unique_ptr< weld::Containerm_xTopLevel
 
std::unique_ptr< weld::Containerm_xContainer
 
- Protected Attributes inherited from svtools::ToolbarPopupBase
css::uno::Reference< css::frame::XFrame > mxFrame
 
rtl::Reference< svt::FrameStatusListenermxStatusListener
 

Detailed Description

Definition at line 32 of file PageOrientationControl.hxx.

Constructor & Destructor Documentation

sw::sidebar::PageOrientationControl::PageOrientationControl ( PageOrientationPopup pControl,
weld::Widget pParent 
)
explicit

Definition at line 52 of file PageOrientationControl.cxx.

References LINK, m_xControl, m_xLandscape, and m_xPortrait.

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

Definition at line 71 of file PageOrientationControl.cxx.

Member Function Documentation

sw::sidebar::PageOrientationControl::DECL_LINK ( ImplOrientationHdl  ,
weld::Button ,
void   
)
private
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
void sw::sidebar::PageOrientationControl::GrabFocus ( )
overridevirtual

Implements WeldToolbarPopup.

Definition at line 66 of file PageOrientationControl.cxx.

References m_xPortrait.

Member Data Documentation

rtl::Reference<PageOrientationPopup> sw::sidebar::PageOrientationControl::m_xControl
private

Definition at line 42 of file PageOrientationControl.hxx.

std::unique_ptr<weld::Button> sw::sidebar::PageOrientationControl::m_xLandscape
private

Definition at line 41 of file PageOrientationControl.hxx.

Referenced by PageOrientationControl().

std::unique_ptr<weld::Button> sw::sidebar::PageOrientationControl::m_xPortrait
private

Definition at line 40 of file PageOrientationControl.hxx.

Referenced by GrabFocus(), and PageOrientationControl().

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

Definition at line 44 of file PageOrientationControl.hxx.

Referenced by ExecuteOrientationChange().

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

Definition at line 46 of file PageOrientationControl.hxx.

Referenced by ExecuteMarginLRChange(), and ExecuteOrientationChange().

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

Definition at line 45 of file PageOrientationControl.hxx.

Referenced by ExecuteOrientationChange().

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

Definition at line 47 of file PageOrientationControl.hxx.

Referenced by ExecuteMarginULChange(), and ExecuteOrientationChange().


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