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
 
virtual void dispose () override
 
virtual void DataChanged (const DataChangedEvent &rEvent) 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 (vcl::Window *pParent, const css::uno::Reference< css::frame::XFrame > &rxFrame, SfxBindings *pBindings, const css::uno::Reference< css::ui::XSidebar > &rxSidebar)
 
- 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 (long nX, long nY, long nWidth, 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::IContextChangeReceiver
virtual ~IContextChangeReceiver ()
 
- Public Member Functions inherited from sfx2::sidebar::ControllerItem::ItemUpdateReceiverInterface
virtual ~ItemUpdateReceiverInterface ()
 

Static Public Member Functions

static VclPtr< vcl::WindowCreate (vcl::Window *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
 
long maTxtLeft
 
long maUpper
 
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 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 37 of file ParaPropertyPanel.hxx.

Constructor & Destructor Documentation

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

Definition at line 463 of file ParaPropertyPanel.cxx.

svx::sidebar::ParaPropertyPanel::ParaPropertyPanel ( vcl::Window pParent,
const css::uno::Reference< css::frame::XFrame > &  rxFrame,
SfxBindings pBindings,
const css::uno::Reference< css::ui::XSidebar > &  rxSidebar 
)

Member Function Documentation

VclPtr< vcl::Window > svx::sidebar::ParaPropertyPanel::Create ( vcl::Window pParent,
const css::uno::Reference< css::frame::XFrame > &  rxFrame,
SfxBindings pBindings,
const css::uno::Reference< css::ui::XSidebar > &  rxSidebar 
)
static

Definition at line 47 of file ParaPropertyPanel.cxx.

References VclPtr< reference_type >::Create().

void svx::sidebar::ParaPropertyPanel::DataChanged ( const DataChangedEvent rEvent)
overridevirtual

Definition at line 132 of file ParaPropertyPanel.cxx.

svx::sidebar::ParaPropertyPanel::DECL_LINK ( ModifyIndentHdl_Impl  ,
weld::MetricSpinButton ,
void   
)
private
svx::sidebar::ParaPropertyPanel::DECL_LINK ( ULSpaceHdl_Impl  ,
weld::MetricSpinButton ,
void   
)
private
void svx::sidebar::ParaPropertyPanel::dispose ( void  )
overridevirtual
SfxBindings* svx::sidebar::ParaPropertyPanel::GetBindings ( )
inline

Definition at line 53 of file ParaPropertyPanel.hxx.

References mpBindings.

virtual void svx::sidebar::ParaPropertyPanel::GetControlState ( const sal_uInt16  ,
boost::property_tree::ptree &   
)
inlineoverridevirtual
FieldUnit svx::sidebar::ParaPropertyPanel::GetCurrentUnit ( SfxItemState  eState,
const SfxPoolItem pState 
)
static
void svx::sidebar::ParaPropertyPanel::HandleContextChange ( const vcl::EnumContext rContext)
overridevirtual

Implements sfx2::sidebar::IContextChangeReceiver.

Definition at line 67 of file ParaPropertyPanel.cxx.

References CombinedEnumContext, and maContext.

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

Definition at line 159 of file ParaPropertyPanel.cxx.

Referenced by ParaPropertyPanel().

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

Definition at line 140 of file ParaPropertyPanel.cxx.

References LINK.

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

Definition at line 150 of file ParaPropertyPanel.cxx.

References LINK.

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

Definition at line 134 of file ParaPropertyPanel.cxx.

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

Member Data Documentation

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

Definition at line 116 of file ParaPropertyPanel.hxx.

Referenced by dispose(), and ParaPropertyPanel().

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

Definition at line 111 of file ParaPropertyPanel.hxx.

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

Definition at line 109 of file ParaPropertyPanel.hxx.

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

Definition at line 112 of file ParaPropertyPanel.hxx.

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

Definition at line 110 of file ParaPropertyPanel.hxx.

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

Definition at line 118 of file ParaPropertyPanel.hxx.

long svx::sidebar::ParaPropertyPanel::maLower
private

Definition at line 107 of file ParaPropertyPanel.hxx.

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

Definition at line 114 of file ParaPropertyPanel.hxx.

Referenced by dispose().

long svx::sidebar::ParaPropertyPanel::maTxtLeft
private

Definition at line 105 of file ParaPropertyPanel.hxx.

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

Definition at line 115 of file ParaPropertyPanel.hxx.

Referenced by dispose().

long svx::sidebar::ParaPropertyPanel::maUpper
private

Definition at line 106 of file ParaPropertyPanel.hxx.

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

Definition at line 119 of file ParaPropertyPanel.hxx.

Referenced by GetBindings().

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

Definition at line 86 of file ParaPropertyPanel.hxx.

Referenced by dispose().

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

Definition at line 99 of file ParaPropertyPanel.hxx.

Referenced by dispose(), and limitMetricWidths().

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

Definition at line 102 of file ParaPropertyPanel.hxx.

Referenced by dispose(), and limitMetricWidths().

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

Definition at line 79 of file ParaPropertyPanel.hxx.

Referenced by dispose().

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

Definition at line 95 of file ParaPropertyPanel.hxx.

Referenced by dispose().

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

Definition at line 100 of file ParaPropertyPanel.hxx.

Referenced by dispose(), and limitMetricWidths().

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

Definition at line 93 of file ParaPropertyPanel.hxx.

Referenced by dispose().

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

Definition at line 84 of file ParaPropertyPanel.hxx.

Referenced by dispose().

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

Definition at line 91 of file ParaPropertyPanel.hxx.

Referenced by dispose().

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

Definition at line 101 of file ParaPropertyPanel.hxx.

Referenced by dispose(), and limitMetricWidths().

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

Definition at line 120 of file ParaPropertyPanel.hxx.

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

Definition at line 85 of file ParaPropertyPanel.hxx.

Referenced by dispose().

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

Definition at line 78 of file ParaPropertyPanel.hxx.

Referenced by dispose().

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

Definition at line 94 of file ParaPropertyPanel.hxx.

Referenced by dispose(), and ParaPropertyPanel().

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

Definition at line 92 of file ParaPropertyPanel.hxx.

Referenced by dispose().

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

Definition at line 83 of file ParaPropertyPanel.hxx.

Referenced by dispose().

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

Definition at line 90 of file ParaPropertyPanel.hxx.

Referenced by dispose().

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

Definition at line 80 of file ParaPropertyPanel.hxx.

Referenced by dispose().

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

Definition at line 88 of file ParaPropertyPanel.hxx.

Referenced by dispose().

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

Definition at line 98 of file ParaPropertyPanel.hxx.

Referenced by dispose(), and limitMetricWidths().

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

Definition at line 81 of file ParaPropertyPanel.hxx.

Referenced by dispose().

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

Definition at line 89 of file ParaPropertyPanel.hxx.

Referenced by dispose().


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