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
 
virtual void GetControlState (const sal_uInt16, boost::property_tree::ptree &) 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)
 
virtual ~PanelLayout () override
 
virtual Size GetOptimalSize () const override
 
virtual void setPosSizePixel (tools::Long nX, tools::Long nY, tools::Long nWidth, tools::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 SetMarginFieldUnit ()
 
void UpdateMarginBox ()
 
void ExecuteMarginLRChange (const tools::Long nPageLeftMargin, const tools::Long nPageRightMargin)
 
void ExecuteMarginULChange (const tools::Long nPageTopMargin, const tools::Long nPageBottomMargin)
 
 DECL_LINK (PaperFormatModifyHdl, weld::ComboBox &, void)
 
 DECL_LINK (PaperSizeModifyHdl, weld::MetricSpinButton &, void)
 
 DECL_LINK (PaperModifyMarginHdl, weld::ComboBox &, void)
 

Private Attributes

SfxBindingsmpBindings
 
std::unique_ptr< SvxPaperSizeListBoxmxPaperSizeBox
 
std::unique_ptr< SvxRelativeFieldmxPaperWidth
 
std::unique_ptr< SvxRelativeFieldmxPaperHeight
 
std::unique_ptr< weld::ComboBoxmxPaperOrientation
 
std::unique_ptr< weld::ComboBoxmxMarginSelectBox
 
std::unique_ptr< weld::LabelmxCustomEntry
 
::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
 
MapUnit meUnit
 
tools::Long mnPageLeftMargin
 
tools::Long mnPageRightMargin
 
tools::Long mnPageTopMargin
 
tools::Long mnPageBottomMargin
 
OUString aCustomEntry
 

Additional Inherited Members

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

Detailed Description

Definition at line 40 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 
)

Definition at line 86 of file PageFormatPanel.cxx.

References CM, GetModuleFieldUnit(), and Initialize().

sw::sidebar::PageFormatPanel::~PageFormatPanel ( )
overridevirtual

Definition at line 113 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 46 of file PageFormatPanel.cxx.

References VclPtr< reference_type >::Create().

sw::sidebar::PageFormatPanel::DECL_LINK ( PaperFormatModifyHdl  ,
weld::ComboBox ,
void   
)
private
sw::sidebar::PageFormatPanel::DECL_LINK ( PaperSizeModifyHdl  ,
weld::MetricSpinButton ,
void   
)
private
sw::sidebar::PageFormatPanel::DECL_LINK ( PaperModifyMarginHdl  ,
weld::ComboBox ,
void   
)
private
void sw::sidebar::PageFormatPanel::dispose ( void  )
overridevirtual
void sw::sidebar::PageFormatPanel::ExecuteMarginLRChange ( const tools::Long  nPageLeftMargin,
const tools::Long  nPageRightMargin 
)
private
void sw::sidebar::PageFormatPanel::ExecuteMarginULChange ( const tools::Long  nPageTopMargin,
const tools::Long  nPageBottomMargin 
)
private
virtual void sw::sidebar::PageFormatPanel::GetControlState ( const sal_uInt16  ,
boost::property_tree::ptree &   
)
inlineoverridevirtual
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::SetMarginFieldUnit ( )
private
void sw::sidebar::PageFormatPanel::UpdateMarginBox ( )
private

Member Data Documentation

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

Definition at line 96 of file PageFormatPanel.hxx.

Referenced by Initialize(), and UpdateMarginBox().

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

Definition at line 81 of file PageFormatPanel.hxx.

Referenced by dispose().

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

Definition at line 80 of file PageFormatPanel.hxx.

Referenced by dispose().

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

Definition at line 79 of file PageFormatPanel.hxx.

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

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

Definition at line 82 of file PageFormatPanel.hxx.

Referenced by dispose().

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

Definition at line 83 of file PageFormatPanel.hxx.

Referenced by dispose().

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

Definition at line 89 of file PageFormatPanel.hxx.

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

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

Definition at line 90 of file PageFormatPanel.hxx.

Referenced by Initialize(), and NotifyItemUpdate().

tools::Long sw::sidebar::PageFormatPanel::mnPageBottomMargin
private

Definition at line 95 of file PageFormatPanel.hxx.

Referenced by UpdateMarginBox().

tools::Long sw::sidebar::PageFormatPanel::mnPageLeftMargin
private

Definition at line 92 of file PageFormatPanel.hxx.

Referenced by UpdateMarginBox().

tools::Long sw::sidebar::PageFormatPanel::mnPageRightMargin
private

Definition at line 93 of file PageFormatPanel.hxx.

Referenced by UpdateMarginBox().

tools::Long sw::sidebar::PageFormatPanel::mnPageTopMargin
private

Definition at line 94 of file PageFormatPanel.hxx.

Referenced by UpdateMarginBox().

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

Definition at line 70 of file PageFormatPanel.hxx.

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

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

Definition at line 85 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
std::unique_ptr<weld::Label> sw::sidebar::PageFormatPanel::mxCustomEntry
private

Definition at line 77 of file PageFormatPanel.hxx.

Referenced by dispose(), and Initialize().

std::unique_ptr<weld::ComboBox> sw::sidebar::PageFormatPanel::mxMarginSelectBox
private

Definition at line 76 of file PageFormatPanel.hxx.

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

std::unique_ptr<SvxRelativeField> sw::sidebar::PageFormatPanel::mxPaperHeight
private

Definition at line 74 of file PageFormatPanel.hxx.

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

std::unique_ptr<weld::ComboBox> sw::sidebar::PageFormatPanel::mxPaperOrientation
private

Definition at line 75 of file PageFormatPanel.hxx.

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

std::unique_ptr<SvxPaperSizeListBox> sw::sidebar::PageFormatPanel::mxPaperSizeBox
private

Definition at line 72 of file PageFormatPanel.hxx.

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

std::unique_ptr<SvxRelativeField> sw::sidebar::PageFormatPanel::mxPaperWidth
private

Definition at line 73 of file PageFormatPanel.hxx.

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


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