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

#include <WrapPropertyPanel.hxx>

Inheritance diagram for sw::sidebar::WrapPropertyPanel:
[legend]
Collaboration diagram for sw::sidebar::WrapPropertyPanel:
[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
 
virtual ~WrapPropertyPanel () override
 
 WrapPropertyPanel (weld::Widget *pParent, const css::uno::Reference< css::frame::XFrame > &rxFrame, SfxBindings *pBindings)
 
- Public Member Functions inherited from PanelLayout
 PanelLayout (weld::Widget *pParent, const OUString &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::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)
 

Private Member Functions

void Initialize ()
 
void UpdateSpacingLB ()
 
 DECL_LINK (SpacingLBHdl, weld::ComboBox &, void)
 

Private Attributes

SfxBindingsmpBindings
 
sal_uInt16 m_nTop
 
sal_uInt16 m_nBottom
 
sal_uInt16 m_nLeft
 
sal_uInt16 m_nRight
 
OUString m_aCustomEntry
 
::sfx2::sidebar::ControllerItem maSwLRSpacingControl
 
::sfx2::sidebar::ControllerItem maSwULSpacingControl
 
std::unique_ptr< weld::ToolbarmxWrapOptions
 
std::unique_ptr< ToolbarUnoDispatchermxWrapOptionsDispatch
 
std::unique_ptr< weld::ComboBoxmxSpacingLB
 

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 30 of file WrapPropertyPanel.hxx.

Constructor & Destructor Documentation

◆ ~WrapPropertyPanel()

sw::sidebar::WrapPropertyPanel::~WrapPropertyPanel ( )
overridevirtual

◆ WrapPropertyPanel()

sw::sidebar::WrapPropertyPanel::WrapPropertyPanel ( weld::Widget pParent,
const css::uno::Reference< css::frame::XFrame > &  rxFrame,
SfxBindings pBindings 
)

Member Function Documentation

◆ Create()

std::unique_ptr< PanelLayout > sw::sidebar::WrapPropertyPanel::Create ( weld::Widget pParent,
const css::uno::Reference< css::frame::XFrame > &  rxFrame,
SfxBindings pBindings 
)
static

Definition at line 36 of file WrapPropertyPanel.cxx.

◆ DECL_LINK()

sw::sidebar::WrapPropertyPanel::DECL_LINK ( SpacingLBHdl  ,
weld::ComboBox ,
void   
)
private

◆ GetControlState()

virtual void sw::sidebar::WrapPropertyPanel::GetControlState ( const  sal_uInt16,
boost::property_tree::ptree &   
)
inlineoverridevirtual

◆ Initialize()

void sw::sidebar::WrapPropertyPanel::Initialize ( )
private

Definition at line 87 of file WrapPropertyPanel.cxx.

References LINK, mpBindings, mxSpacingLB, and SfxBindings::Update().

Referenced by WrapPropertyPanel().

◆ NotifyItemUpdate()

void sw::sidebar::WrapPropertyPanel::NotifyItemUpdate ( const sal_uInt16  nSId,
const SfxItemState  eState,
const SfxPoolItem pState 
)
overridevirtual

◆ UpdateSpacingLB()

void sw::sidebar::WrapPropertyPanel::UpdateSpacingLB ( )
private

Definition at line 95 of file WrapPropertyPanel.cxx.

References i, m_aCustomEntry, m_nBottom, m_nLeft, m_nRight, m_nTop, mxSpacingLB, and nCount.

Referenced by NotifyItemUpdate().

Member Data Documentation

◆ m_aCustomEntry

OUString sw::sidebar::WrapPropertyPanel::m_aCustomEntry
private

Definition at line 66 of file WrapPropertyPanel.hxx.

Referenced by UpdateSpacingLB().

◆ m_nBottom

sal_uInt16 sw::sidebar::WrapPropertyPanel::m_nBottom
private

Definition at line 61 of file WrapPropertyPanel.hxx.

Referenced by NotifyItemUpdate(), and UpdateSpacingLB().

◆ m_nLeft

sal_uInt16 sw::sidebar::WrapPropertyPanel::m_nLeft
private

Definition at line 62 of file WrapPropertyPanel.hxx.

Referenced by NotifyItemUpdate(), and UpdateSpacingLB().

◆ m_nRight

sal_uInt16 sw::sidebar::WrapPropertyPanel::m_nRight
private

Definition at line 63 of file WrapPropertyPanel.hxx.

Referenced by NotifyItemUpdate(), and UpdateSpacingLB().

◆ m_nTop

sal_uInt16 sw::sidebar::WrapPropertyPanel::m_nTop
private

Definition at line 60 of file WrapPropertyPanel.hxx.

Referenced by NotifyItemUpdate(), and UpdateSpacingLB().

◆ maSwLRSpacingControl

::sfx2::sidebar::ControllerItem sw::sidebar::WrapPropertyPanel::maSwLRSpacingControl
private

Definition at line 69 of file WrapPropertyPanel.hxx.

Referenced by ~WrapPropertyPanel().

◆ maSwULSpacingControl

::sfx2::sidebar::ControllerItem sw::sidebar::WrapPropertyPanel::maSwULSpacingControl
private

Definition at line 70 of file WrapPropertyPanel.hxx.

Referenced by ~WrapPropertyPanel().

◆ mpBindings

SfxBindings* sw::sidebar::WrapPropertyPanel::mpBindings
private

Definition at line 57 of file WrapPropertyPanel.hxx.

Referenced by Initialize().

◆ mxSpacingLB

std::unique_ptr<weld::ComboBox> sw::sidebar::WrapPropertyPanel::mxSpacingLB
private

Definition at line 75 of file WrapPropertyPanel.hxx.

Referenced by Initialize(), UpdateSpacingLB(), and WrapPropertyPanel().

◆ mxWrapOptions

std::unique_ptr<weld::Toolbar> sw::sidebar::WrapPropertyPanel::mxWrapOptions
private

Definition at line 72 of file WrapPropertyPanel.hxx.

Referenced by ~WrapPropertyPanel().

◆ mxWrapOptionsDispatch

std::unique_ptr<ToolbarUnoDispatcher> sw::sidebar::WrapPropertyPanel::mxWrapOptionsDispatch
private

Definition at line 73 of file WrapPropertyPanel.hxx.

Referenced by ~WrapPropertyPanel().


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