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

#include <TableEditPanel.hxx>

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

Public Member Functions

 TableEditPanel (weld::Widget *pParent, const css::uno::Reference< css::frame::XFrame > &rxFrame, SfxBindings *pBindings)
 
virtual ~TableEditPanel () 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
 
- 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 InitRowHeightToolitem ()
 
void InitColumnWidthToolitem ()
 
 DECL_LINK (RowHeightMofiyHdl, weld::MetricSpinButton &, void)
 
 DECL_LINK (ColumnWidthMofiyHdl, weld::MetricSpinButton &, void)
 

Private Attributes

SfxBindingsm_pBindings
 
SvxRelativeField m_aRowHeightEdit
 
SvxRelativeField m_aColumnWidthEdit
 
std::unique_ptr< weld::Toolbarm_xInsert
 
std::unique_ptr< ToolbarUnoDispatcherm_xInsertDispatch
 
std::unique_ptr< weld::Toolbarm_xSelect
 
std::unique_ptr< ToolbarUnoDispatcherm_xSelectDispatch
 
std::unique_ptr< weld::Toolbarm_xRowSizing
 
std::unique_ptr< ToolbarUnoDispatcherm_xRowSizingDispatch
 
std::unique_ptr< weld::Toolbarm_xColumnSizing
 
std::unique_ptr< ToolbarUnoDispatcherm_xColumnSizingDispatch
 
std::unique_ptr< weld::Toolbarm_xDelete
 
std::unique_ptr< ToolbarUnoDispatcherm_xDeleteDispatch
 
std::unique_ptr< weld::Toolbarm_xSplitMerge
 
std::unique_ptr< ToolbarUnoDispatcherm_xSplitMergeDispatch
 
std::unique_ptr< weld::Toolbarm_xMisc
 
std::unique_ptr< ToolbarUnoDispatcherm_xMiscDispatch
 
::sfx2::sidebar::ControllerItem m_aRowHeightController
 
::sfx2::sidebar::ControllerItem m_aColumnWidthController
 
::sfx2::sidebar::ControllerItem m_aInsertRowsBeforeController
 
::sfx2::sidebar::ControllerItem m_aInsertRowsAfterController
 
::sfx2::sidebar::ControllerItem m_aInsertColumnsBeforeController
 
::sfx2::sidebar::ControllerItem m_aInsertColumnsAfterController
 
::sfx2::sidebar::ControllerItem m_aDeleteRowsController
 
::sfx2::sidebar::ControllerItem m_aDeleteColumnsController
 
::sfx2::sidebar::ControllerItem m_aDeleteTableController
 
::sfx2::sidebar::ControllerItem m_aSetMinimalRowHeightController
 
::sfx2::sidebar::ControllerItem m_aSetOptimalRowHeightController
 
::sfx2::sidebar::ControllerItem m_aDistributeRowsController
 
::sfx2::sidebar::ControllerItem m_aSetMinimalColumnWidthController
 
::sfx2::sidebar::ControllerItem m_aSetOptimalColumnWidthController
 
::sfx2::sidebar::ControllerItem m_aDistributeColumnsController
 
::sfx2::sidebar::ControllerItem m_aMergeCellsController
 

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 21 of file TableEditPanel.hxx.

Constructor & Destructor Documentation

◆ TableEditPanel()

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

◆ ~TableEditPanel()

sw::sidebar::TableEditPanel::~TableEditPanel ( )
overridevirtual

Member Function Documentation

◆ Create()

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

Definition at line 28 of file TableEditPanel.cxx.

◆ DECL_LINK() [1/2]

sw::sidebar::TableEditPanel::DECL_LINK ( ColumnWidthMofiyHdl  ,
weld::MetricSpinButton ,
void   
)
private

◆ DECL_LINK() [2/2]

sw::sidebar::TableEditPanel::DECL_LINK ( RowHeightMofiyHdl  ,
weld::MetricSpinButton ,
void   
)
private

◆ GetControlState()

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

◆ InitColumnWidthToolitem()

void sw::sidebar::TableEditPanel::InitColumnWidthToolitem ( )
private

◆ InitRowHeightToolitem()

void sw::sidebar::TableEditPanel::InitRowHeightToolitem ( )
private

◆ NotifyItemUpdate()

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

Member Data Documentation

◆ m_aColumnWidthController

::sfx2::sidebar::ControllerItem sw::sidebar::TableEditPanel::m_aColumnWidthController
private

Definition at line 63 of file TableEditPanel.hxx.

Referenced by ~TableEditPanel().

◆ m_aColumnWidthEdit

SvxRelativeField sw::sidebar::TableEditPanel::m_aColumnWidthEdit
private

Definition at line 46 of file TableEditPanel.hxx.

Referenced by InitColumnWidthToolitem(), and NotifyItemUpdate().

◆ m_aDeleteColumnsController

::sfx2::sidebar::ControllerItem sw::sidebar::TableEditPanel::m_aDeleteColumnsController
private

Definition at line 69 of file TableEditPanel.hxx.

Referenced by ~TableEditPanel().

◆ m_aDeleteRowsController

::sfx2::sidebar::ControllerItem sw::sidebar::TableEditPanel::m_aDeleteRowsController
private

Definition at line 68 of file TableEditPanel.hxx.

Referenced by ~TableEditPanel().

◆ m_aDeleteTableController

::sfx2::sidebar::ControllerItem sw::sidebar::TableEditPanel::m_aDeleteTableController
private

Definition at line 70 of file TableEditPanel.hxx.

Referenced by ~TableEditPanel().

◆ m_aDistributeColumnsController

::sfx2::sidebar::ControllerItem sw::sidebar::TableEditPanel::m_aDistributeColumnsController
private

Definition at line 76 of file TableEditPanel.hxx.

Referenced by ~TableEditPanel().

◆ m_aDistributeRowsController

::sfx2::sidebar::ControllerItem sw::sidebar::TableEditPanel::m_aDistributeRowsController
private

Definition at line 73 of file TableEditPanel.hxx.

Referenced by ~TableEditPanel().

◆ m_aInsertColumnsAfterController

::sfx2::sidebar::ControllerItem sw::sidebar::TableEditPanel::m_aInsertColumnsAfterController
private

Definition at line 67 of file TableEditPanel.hxx.

Referenced by ~TableEditPanel().

◆ m_aInsertColumnsBeforeController

::sfx2::sidebar::ControllerItem sw::sidebar::TableEditPanel::m_aInsertColumnsBeforeController
private

Definition at line 66 of file TableEditPanel.hxx.

Referenced by ~TableEditPanel().

◆ m_aInsertRowsAfterController

::sfx2::sidebar::ControllerItem sw::sidebar::TableEditPanel::m_aInsertRowsAfterController
private

Definition at line 65 of file TableEditPanel.hxx.

Referenced by ~TableEditPanel().

◆ m_aInsertRowsBeforeController

::sfx2::sidebar::ControllerItem sw::sidebar::TableEditPanel::m_aInsertRowsBeforeController
private

Definition at line 64 of file TableEditPanel.hxx.

Referenced by ~TableEditPanel().

◆ m_aMergeCellsController

::sfx2::sidebar::ControllerItem sw::sidebar::TableEditPanel::m_aMergeCellsController
private

Definition at line 77 of file TableEditPanel.hxx.

Referenced by ~TableEditPanel().

◆ m_aRowHeightController

::sfx2::sidebar::ControllerItem sw::sidebar::TableEditPanel::m_aRowHeightController
private

Definition at line 62 of file TableEditPanel.hxx.

Referenced by ~TableEditPanel().

◆ m_aRowHeightEdit

SvxRelativeField sw::sidebar::TableEditPanel::m_aRowHeightEdit
private

Definition at line 45 of file TableEditPanel.hxx.

Referenced by InitRowHeightToolitem(), and NotifyItemUpdate().

◆ m_aSetMinimalColumnWidthController

::sfx2::sidebar::ControllerItem sw::sidebar::TableEditPanel::m_aSetMinimalColumnWidthController
private

Definition at line 74 of file TableEditPanel.hxx.

Referenced by ~TableEditPanel().

◆ m_aSetMinimalRowHeightController

::sfx2::sidebar::ControllerItem sw::sidebar::TableEditPanel::m_aSetMinimalRowHeightController
private

Definition at line 71 of file TableEditPanel.hxx.

Referenced by ~TableEditPanel().

◆ m_aSetOptimalColumnWidthController

::sfx2::sidebar::ControllerItem sw::sidebar::TableEditPanel::m_aSetOptimalColumnWidthController
private

Definition at line 75 of file TableEditPanel.hxx.

Referenced by ~TableEditPanel().

◆ m_aSetOptimalRowHeightController

::sfx2::sidebar::ControllerItem sw::sidebar::TableEditPanel::m_aSetOptimalRowHeightController
private

Definition at line 72 of file TableEditPanel.hxx.

Referenced by ~TableEditPanel().

◆ m_pBindings

SfxBindings* sw::sidebar::TableEditPanel::m_pBindings
private

Definition at line 43 of file TableEditPanel.hxx.

◆ m_xColumnSizing

std::unique_ptr<weld::Toolbar> sw::sidebar::TableEditPanel::m_xColumnSizing
private

Definition at line 53 of file TableEditPanel.hxx.

Referenced by ~TableEditPanel().

◆ m_xColumnSizingDispatch

std::unique_ptr<ToolbarUnoDispatcher> sw::sidebar::TableEditPanel::m_xColumnSizingDispatch
private

Definition at line 54 of file TableEditPanel.hxx.

Referenced by ~TableEditPanel().

◆ m_xDelete

std::unique_ptr<weld::Toolbar> sw::sidebar::TableEditPanel::m_xDelete
private

Definition at line 55 of file TableEditPanel.hxx.

Referenced by ~TableEditPanel().

◆ m_xDeleteDispatch

std::unique_ptr<ToolbarUnoDispatcher> sw::sidebar::TableEditPanel::m_xDeleteDispatch
private

Definition at line 56 of file TableEditPanel.hxx.

Referenced by ~TableEditPanel().

◆ m_xInsert

std::unique_ptr<weld::Toolbar> sw::sidebar::TableEditPanel::m_xInsert
private

Definition at line 47 of file TableEditPanel.hxx.

Referenced by ~TableEditPanel().

◆ m_xInsertDispatch

std::unique_ptr<ToolbarUnoDispatcher> sw::sidebar::TableEditPanel::m_xInsertDispatch
private

Definition at line 48 of file TableEditPanel.hxx.

Referenced by ~TableEditPanel().

◆ m_xMisc

std::unique_ptr<weld::Toolbar> sw::sidebar::TableEditPanel::m_xMisc
private

Definition at line 59 of file TableEditPanel.hxx.

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

◆ m_xMiscDispatch

std::unique_ptr<ToolbarUnoDispatcher> sw::sidebar::TableEditPanel::m_xMiscDispatch
private

Definition at line 60 of file TableEditPanel.hxx.

Referenced by ~TableEditPanel().

◆ m_xRowSizing

std::unique_ptr<weld::Toolbar> sw::sidebar::TableEditPanel::m_xRowSizing
private

Definition at line 51 of file TableEditPanel.hxx.

Referenced by ~TableEditPanel().

◆ m_xRowSizingDispatch

std::unique_ptr<ToolbarUnoDispatcher> sw::sidebar::TableEditPanel::m_xRowSizingDispatch
private

Definition at line 52 of file TableEditPanel.hxx.

Referenced by ~TableEditPanel().

◆ m_xSelect

std::unique_ptr<weld::Toolbar> sw::sidebar::TableEditPanel::m_xSelect
private

Definition at line 49 of file TableEditPanel.hxx.

Referenced by ~TableEditPanel().

◆ m_xSelectDispatch

std::unique_ptr<ToolbarUnoDispatcher> sw::sidebar::TableEditPanel::m_xSelectDispatch
private

Definition at line 50 of file TableEditPanel.hxx.

Referenced by ~TableEditPanel().

◆ m_xSplitMerge

std::unique_ptr<weld::Toolbar> sw::sidebar::TableEditPanel::m_xSplitMerge
private

Definition at line 57 of file TableEditPanel.hxx.

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

◆ m_xSplitMergeDispatch

std::unique_ptr<ToolbarUnoDispatcher> sw::sidebar::TableEditPanel::m_xSplitMergeDispatch
private

Definition at line 58 of file TableEditPanel.hxx.

Referenced by ~TableEditPanel().


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