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

#include <ParaPropertyPanel.hxx>

Inheritance diagram for svx::sidebar::ParaPropertyPanel:
[legend]
Collaboration diagram for svx::sidebar::ParaPropertyPanel:
[legend]

Public Member Functions

virtual ~ParaPropertyPanel () override
 
SfxBindingsGetBindings ()
 
virtual void HandleContextChange (const vcl::EnumContext &rContext) override
 
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
 
 ParaPropertyPanel (weld::Widget *pParent, const css::uno::Reference< css::frame::XFrame > &rxFrame, SfxBindings *pBindings, css::uno::Reference< css::ui::XSidebar > xSidebar)
 
- Public Member Functions inherited from PanelLayout
 PanelLayout (weld::Widget *pParent, const OString &rID, const OUString &rUIXMLDescription)
 
void SetPanel (sfx2::sidebar::Panel *pPanel)
 
virtual ~PanelLayout ()
 
Size get_preferred_size () const
 
void queue_resize ()
 
- Public Member Functions inherited from sfx2::sidebar::IContextChangeReceiver
virtual ~IContextChangeReceiver ()
 
virtual void HandleContextChange (const vcl::EnumContext &rContext)=0
 
- Public Member Functions inherited from sfx2::sidebar::ControllerItem::ItemUpdateReceiverInterface
virtual void NotifyItemUpdate (const sal_uInt16 nSId, const SfxItemState eState, const SfxPoolItem *pState)=0
 
virtual void GetControlState (const sal_uInt16 nSId, boost::property_tree::ptree &rState)=0
 
virtual ~ItemUpdateReceiverInterface ()
 

Static Public Member Functions

static std::unique_ptr< PanelLayoutCreate (weld::Widget *pParent, const css::uno::Reference< css::frame::XFrame > &rxFrame, SfxBindings *pBindings, const css::uno::Reference< css::ui::XSidebar > &rxSidebar)
 
static FieldUnit GetCurrentUnit (SfxItemState eState, const SfxPoolItem *pState)
 

Private Member Functions

 DECL_LINK (ModifyIndentHdl_Impl, weld::MetricSpinButton &, void)
 
 DECL_LINK (ULSpaceHdl_Impl, weld::MetricSpinButton &, void)
 
void StateChangedIndentImpl (SfxItemState eState, const SfxPoolItem *pState)
 
void StateChangedULImpl (SfxItemState eState, const SfxPoolItem *pState)
 
void initial ()
 
void ReSize ()
 
void InitToolBoxIndent ()
 
void InitToolBoxSpacing ()
 
void limitMetricWidths ()
 

Private Attributes

std::unique_ptr< weld::ToolbarmxTBxHorzAlign
 
std::unique_ptr< ToolbarUnoDispatchermxHorzAlignDispatch
 
std::unique_ptr< weld::ToolbarmxTBxVertAlign
 
std::unique_ptr< ToolbarUnoDispatchermxVertAlignDispatch
 
std::unique_ptr< weld::ToolbarmxTBxNumBullet
 
std::unique_ptr< ToolbarUnoDispatchermxNumBulletDispatch
 
std::unique_ptr< weld::ToolbarmxTBxBackColor
 
std::unique_ptr< ToolbarUnoDispatchermxBackColorDispatch
 
std::unique_ptr< weld::ToolbarmxTBxWriteDirection
 
std::unique_ptr< ToolbarUnoDispatchermxWriteDirectionDispatch
 
std::unique_ptr< weld::ToolbarmxTBxParaSpacing
 
std::unique_ptr< ToolbarUnoDispatchermxParaSpacingDispatch
 
std::unique_ptr< weld::ToolbarmxTBxLineSpacing
 
std::unique_ptr< ToolbarUnoDispatchermxLineSpacingDispatch
 
std::unique_ptr< weld::ToolbarmxTBxIndent
 
std::unique_ptr< ToolbarUnoDispatchermxIndentDispatch
 
std::unique_ptr< SvxRelativeFieldmxTopDist
 
std::unique_ptr< SvxRelativeFieldmxBottomDist
 
std::unique_ptr< SvxRelativeFieldmxLeftIndent
 
std::unique_ptr< SvxRelativeFieldmxRightIndent
 
std::unique_ptr< SvxRelativeFieldmxFLineIndent
 
tools::Long maTxtLeft
 
tools::Long maUpper
 
tools::Long maLower
 
FieldUnit m_eMetricUnit
 
FieldUnit m_last_eMetricUnit
 
MapUnit m_eLRSpaceUnit
 
MapUnit m_eULSpaceUnit
 
::sfx2::sidebar::ControllerItem maLRSpaceControl
 
::sfx2::sidebar::ControllerItem maULSpaceControl
 
::sfx2::sidebar::ControllerItem m_aMetricCtl
 
vcl::EnumContext maContext
 
SfxBindingsmpBindings
 
css::uno::Reference< css::ui::XSidebar > mxSidebar
 

Additional Inherited Members

- Protected Member Functions inherited from PanelLayout
virtual void DataChanged (const DataChangedEvent &rEvent)
 
virtual void DumpAsPropertyTree (tools::JsonWriter &)
 
virtual weld::WindowGetFrameWeld () const
 
- Protected Attributes inherited from PanelLayout
std::unique_ptr< weld::Builderm_xBuilder
 
std::unique_ptr< weld::Containerm_xContainer
 
sfx2::sidebar::Panelm_pPanel
 

Detailed Description

Definition at line 37 of file ParaPropertyPanel.hxx.

Constructor & Destructor Documentation

◆ ~ParaPropertyPanel()

svx::sidebar::ParaPropertyPanel::~ParaPropertyPanel ( )
overridevirtual

◆ ParaPropertyPanel()

svx::sidebar::ParaPropertyPanel::ParaPropertyPanel ( weld::Widget pParent,
const css::uno::Reference< css::frame::XFrame > &  rxFrame,
SfxBindings pBindings,
css::uno::Reference< css::ui::XSidebar >  xSidebar 
)

Member Function Documentation

◆ Create()

std::unique_ptr< PanelLayout > svx::sidebar::ParaPropertyPanel::Create ( weld::Widget pParent,
const css::uno::Reference< css::frame::XFrame > &  rxFrame,
SfxBindings pBindings,
const css::uno::Reference< css::ui::XSidebar > &  rxSidebar 
)
static

Definition at line 48 of file ParaPropertyPanel.cxx.

◆ DECL_LINK() [1/2]

svx::sidebar::ParaPropertyPanel::DECL_LINK ( ModifyIndentHdl_Impl  ,
weld::MetricSpinButton ,
void   
)
private

◆ DECL_LINK() [2/2]

svx::sidebar::ParaPropertyPanel::DECL_LINK ( ULSpaceHdl_Impl  ,
weld::MetricSpinButton ,
void   
)
private

◆ GetBindings()

SfxBindings * svx::sidebar::ParaPropertyPanel::GetBindings ( )
inline

Definition at line 51 of file ParaPropertyPanel.hxx.

References mpBindings.

◆ GetControlState()

virtual void svx::sidebar::ParaPropertyPanel::GetControlState ( const  sal_uInt16,
boost::property_tree::ptree &   
)
inlineoverridevirtual

◆ GetCurrentUnit()

FieldUnit svx::sidebar::ParaPropertyPanel::GetCurrentUnit ( SfxItemState  eState,
const SfxPoolItem pState 
)
static

◆ HandleContextChange()

void svx::sidebar::ParaPropertyPanel::HandleContextChange ( const vcl::EnumContext rContext)
overridevirtual

◆ initial()

void svx::sidebar::ParaPropertyPanel::initial ( )
private

Definition at line 155 of file ParaPropertyPanel.cxx.

References InitToolBoxIndent(), InitToolBoxSpacing(), and limitMetricWidths().

Referenced by ParaPropertyPanel().

◆ InitToolBoxIndent()

void svx::sidebar::ParaPropertyPanel::InitToolBoxIndent ( )
private

◆ InitToolBoxSpacing()

void svx::sidebar::ParaPropertyPanel::InitToolBoxSpacing ( )
private

◆ limitMetricWidths()

void svx::sidebar::ParaPropertyPanel::limitMetricWidths ( )
private

◆ NotifyItemUpdate()

void svx::sidebar::ParaPropertyPanel::NotifyItemUpdate ( const sal_uInt16  nSId,
const SfxItemState  eState,
const SfxPoolItem pState 
)
overridevirtual

◆ ReSize()

void svx::sidebar::ParaPropertyPanel::ReSize ( )
private

Definition at line 130 of file ParaPropertyPanel.cxx.

References mxSidebar.

Referenced by HandleContextChange().

◆ StateChangedIndentImpl()

void svx::sidebar::ParaPropertyPanel::StateChangedIndentImpl ( SfxItemState  eState,
const SfxPoolItem pState 
)
private

◆ StateChangedULImpl()

void svx::sidebar::ParaPropertyPanel::StateChangedULImpl ( SfxItemState  eState,
const SfxPoolItem pState 
)
private

Member Data Documentation

◆ m_aMetricCtl

::sfx2::sidebar::ControllerItem svx::sidebar::ParaPropertyPanel::m_aMetricCtl
private

Definition at line 114 of file ParaPropertyPanel.hxx.

Referenced by ParaPropertyPanel(), and ~ParaPropertyPanel().

◆ m_eLRSpaceUnit

MapUnit svx::sidebar::ParaPropertyPanel::m_eLRSpaceUnit
private

Definition at line 109 of file ParaPropertyPanel.hxx.

Referenced by InitToolBoxIndent(), and StateChangedIndentImpl().

◆ m_eMetricUnit

FieldUnit svx::sidebar::ParaPropertyPanel::m_eMetricUnit
private

Definition at line 107 of file ParaPropertyPanel.hxx.

Referenced by NotifyItemUpdate().

◆ m_eULSpaceUnit

MapUnit svx::sidebar::ParaPropertyPanel::m_eULSpaceUnit
private

Definition at line 110 of file ParaPropertyPanel.hxx.

Referenced by InitToolBoxSpacing(), and StateChangedULImpl().

◆ m_last_eMetricUnit

FieldUnit svx::sidebar::ParaPropertyPanel::m_last_eMetricUnit
private

Definition at line 108 of file ParaPropertyPanel.hxx.

Referenced by NotifyItemUpdate().

◆ maContext

vcl::EnumContext svx::sidebar::ParaPropertyPanel::maContext
private

Definition at line 116 of file ParaPropertyPanel.hxx.

Referenced by HandleContextChange(), and StateChangedIndentImpl().

◆ maLower

tools::Long svx::sidebar::ParaPropertyPanel::maLower
private

Definition at line 105 of file ParaPropertyPanel.hxx.

Referenced by StateChangedULImpl().

◆ maLRSpaceControl

::sfx2::sidebar::ControllerItem svx::sidebar::ParaPropertyPanel::maLRSpaceControl
private

Definition at line 112 of file ParaPropertyPanel.hxx.

Referenced by InitToolBoxIndent(), and ~ParaPropertyPanel().

◆ maTxtLeft

tools::Long svx::sidebar::ParaPropertyPanel::maTxtLeft
private

Definition at line 103 of file ParaPropertyPanel.hxx.

Referenced by StateChangedIndentImpl().

◆ maULSpaceControl

::sfx2::sidebar::ControllerItem svx::sidebar::ParaPropertyPanel::maULSpaceControl
private

Definition at line 113 of file ParaPropertyPanel.hxx.

Referenced by InitToolBoxSpacing(), and ~ParaPropertyPanel().

◆ maUpper

tools::Long svx::sidebar::ParaPropertyPanel::maUpper
private

Definition at line 104 of file ParaPropertyPanel.hxx.

Referenced by StateChangedULImpl().

◆ mpBindings

SfxBindings* svx::sidebar::ParaPropertyPanel::mpBindings
private

Definition at line 117 of file ParaPropertyPanel.hxx.

Referenced by GetBindings().

◆ mxBackColorDispatch

std::unique_ptr<ToolbarUnoDispatcher> svx::sidebar::ParaPropertyPanel::mxBackColorDispatch
private

Definition at line 84 of file ParaPropertyPanel.hxx.

Referenced by ~ParaPropertyPanel().

◆ mxBottomDist

std::unique_ptr<SvxRelativeField> svx::sidebar::ParaPropertyPanel::mxBottomDist
private

◆ mxFLineIndent

std::unique_ptr<SvxRelativeField> svx::sidebar::ParaPropertyPanel::mxFLineIndent
private

◆ mxHorzAlignDispatch

std::unique_ptr<ToolbarUnoDispatcher> svx::sidebar::ParaPropertyPanel::mxHorzAlignDispatch
private

Definition at line 77 of file ParaPropertyPanel.hxx.

Referenced by ~ParaPropertyPanel().

◆ mxIndentDispatch

std::unique_ptr<ToolbarUnoDispatcher> svx::sidebar::ParaPropertyPanel::mxIndentDispatch
private

Definition at line 93 of file ParaPropertyPanel.hxx.

Referenced by ~ParaPropertyPanel().

◆ mxLeftIndent

std::unique_ptr<SvxRelativeField> svx::sidebar::ParaPropertyPanel::mxLeftIndent
private

◆ mxLineSpacingDispatch

std::unique_ptr<ToolbarUnoDispatcher> svx::sidebar::ParaPropertyPanel::mxLineSpacingDispatch
private

Definition at line 91 of file ParaPropertyPanel.hxx.

Referenced by ~ParaPropertyPanel().

◆ mxNumBulletDispatch

std::unique_ptr<ToolbarUnoDispatcher> svx::sidebar::ParaPropertyPanel::mxNumBulletDispatch
private

Definition at line 82 of file ParaPropertyPanel.hxx.

Referenced by ~ParaPropertyPanel().

◆ mxParaSpacingDispatch

std::unique_ptr<ToolbarUnoDispatcher> svx::sidebar::ParaPropertyPanel::mxParaSpacingDispatch
private

Definition at line 89 of file ParaPropertyPanel.hxx.

Referenced by ~ParaPropertyPanel().

◆ mxRightIndent

std::unique_ptr<SvxRelativeField> svx::sidebar::ParaPropertyPanel::mxRightIndent
private

◆ mxSidebar

css::uno::Reference<css::ui::XSidebar> svx::sidebar::ParaPropertyPanel::mxSidebar
private

Definition at line 118 of file ParaPropertyPanel.hxx.

Referenced by ReSize().

◆ mxTBxBackColor

std::unique_ptr<weld::Toolbar> svx::sidebar::ParaPropertyPanel::mxTBxBackColor
private

Definition at line 83 of file ParaPropertyPanel.hxx.

Referenced by HandleContextChange(), and ~ParaPropertyPanel().

◆ mxTBxHorzAlign

std::unique_ptr<weld::Toolbar> svx::sidebar::ParaPropertyPanel::mxTBxHorzAlign
private

Definition at line 76 of file ParaPropertyPanel.hxx.

Referenced by ~ParaPropertyPanel().

◆ mxTBxIndent

std::unique_ptr<weld::Toolbar> svx::sidebar::ParaPropertyPanel::mxTBxIndent
private

Definition at line 92 of file ParaPropertyPanel.hxx.

Referenced by ParaPropertyPanel(), and ~ParaPropertyPanel().

◆ mxTBxLineSpacing

std::unique_ptr<weld::Toolbar> svx::sidebar::ParaPropertyPanel::mxTBxLineSpacing
private

Definition at line 90 of file ParaPropertyPanel.hxx.

Referenced by ~ParaPropertyPanel().

◆ mxTBxNumBullet

std::unique_ptr<weld::Toolbar> svx::sidebar::ParaPropertyPanel::mxTBxNumBullet
private

Definition at line 81 of file ParaPropertyPanel.hxx.

Referenced by HandleContextChange(), and ~ParaPropertyPanel().

◆ mxTBxParaSpacing

std::unique_ptr<weld::Toolbar> svx::sidebar::ParaPropertyPanel::mxTBxParaSpacing
private

Definition at line 88 of file ParaPropertyPanel.hxx.

Referenced by ~ParaPropertyPanel().

◆ mxTBxVertAlign

std::unique_ptr<weld::Toolbar> svx::sidebar::ParaPropertyPanel::mxTBxVertAlign
private

Definition at line 78 of file ParaPropertyPanel.hxx.

Referenced by HandleContextChange(), and ~ParaPropertyPanel().

◆ mxTBxWriteDirection

std::unique_ptr<weld::Toolbar> svx::sidebar::ParaPropertyPanel::mxTBxWriteDirection
private

Definition at line 86 of file ParaPropertyPanel.hxx.

Referenced by ~ParaPropertyPanel().

◆ mxTopDist

std::unique_ptr<SvxRelativeField> svx::sidebar::ParaPropertyPanel::mxTopDist
private

◆ mxVertAlignDispatch

std::unique_ptr<ToolbarUnoDispatcher> svx::sidebar::ParaPropertyPanel::mxVertAlignDispatch
private

Definition at line 79 of file ParaPropertyPanel.hxx.

Referenced by ~ParaPropertyPanel().

◆ mxWriteDirectionDispatch

std::unique_ptr<ToolbarUnoDispatcher> svx::sidebar::ParaPropertyPanel::mxWriteDirectionDispatch
private

Definition at line 87 of file ParaPropertyPanel.hxx.

Referenced by ~ParaPropertyPanel().


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