LibreOffice Module sd (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
sd::TableDesignWidget Class Referencefinal

#include <TableDesignPane.hxx>

Collaboration diagram for sd::TableDesignWidget:
[legend]

Public Member Functions

 TableDesignWidget (weld::Builder &rBuilder, ViewShellBase &rBase)
 
 ~TableDesignWidget ()
 
void onSelectionChanged ()
 
void ApplyOptions ()
 
void ApplyStyle ()
 
void InsertStyle ()
 
void CloneStyle ()
 
void ResetStyle ()
 
void DeleteStyle ()
 
void EditStyle (const OUString &rCommand)
 

Private Member Functions

void addListener ()
 
void removeListener ()
 
void updateControls ()
 
void selectStyle (std::u16string_view rStyle)
 
void endTextEditForStyle (const css::uno::Reference< css::uno::XInterface > &rStyle)
 
void setDocumentModified ()
 
void FillDesignPreviewControl ()
 
 DECL_LINK (EventMultiplexerListener, tools::EventMultiplexerEvent &, void)
 
 DECL_LINK (implContextMenuHandler, const Point *, void)
 
 DECL_LINK (implValueSetHdl, ValueSet *, void)
 
 DECL_LINK (implCheckBoxHdl, weld::Toggleable &, void)
 

Private Attributes

ViewShellBasemrBase
 
std::unique_ptr< weld::Menum_xMenu
 
std::unique_ptr< TableValueSetm_xValueSet
 
std::unique_ptr< weld::CustomWeldm_xValueSetWin
 
std::unique_ptr< weld::CheckButtonm_aCheckBoxes [CB_COUNT]
 
css::uno::Reference< css::beans::XPropertySetmxSelectedTable
 
css::uno::Reference< css::drawing::XDrawView > mxView
 
css::uno::Reference< css::container::XIndexAccess > mxTableFamily
 
css::uno::Reference< css::container::XNameContainer > mxCellFamily
 

Detailed Description

Definition at line 67 of file TableDesignPane.hxx.

Constructor & Destructor Documentation

◆ TableDesignWidget()

sd::TableDesignWidget::TableDesignWidget ( weld::Builder rBuilder,
ViewShellBase rBase 
)

◆ ~TableDesignWidget()

sd::TableDesignWidget::~TableDesignWidget ( )

Definition at line 142 of file TableDesignPane.cxx.

References removeListener().

Member Function Documentation

◆ addListener()

void sd::TableDesignWidget::addListener ( )
private

Definition at line 701 of file TableDesignPane.cxx.

References sd::ViewShellBase::GetEventMultiplexer(), LINK, and mrBase.

Referenced by TableDesignWidget().

◆ ApplyOptions()

void sd::TableDesignWidget::ApplyOptions ( )

◆ ApplyStyle()

void sd::TableDesignWidget::ApplyStyle ( )

◆ CloneStyle()

void sd::TableDesignWidget::CloneStyle ( )

◆ DECL_LINK() [1/4]

sd::TableDesignWidget::DECL_LINK ( EventMultiplexerListener  ,
tools::EventMultiplexerEvent ,
void   
)
private

◆ DECL_LINK() [2/4]

sd::TableDesignWidget::DECL_LINK ( implCheckBoxHdl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [3/4]

sd::TableDesignWidget::DECL_LINK ( implContextMenuHandler  ,
const Point ,
void   
)
private

◆ DECL_LINK() [4/4]

sd::TableDesignWidget::DECL_LINK ( implValueSetHdl  ,
ValueSet ,
void   
)
private

◆ DeleteStyle()

void sd::TableDesignWidget::DeleteStyle ( )

◆ EditStyle()

void sd::TableDesignWidget::EditStyle ( const OUString &  rCommand)

◆ endTextEditForStyle()

void sd::TableDesignWidget::endTextEditForStyle ( const css::uno::Reference< css::uno::XInterface > &  rStyle)
private

◆ FillDesignPreviewControl()

void sd::TableDesignWidget::FillDesignPreviewControl ( )
private

◆ InsertStyle()

void sd::TableDesignWidget::InsertStyle ( )

◆ onSelectionChanged()

void sd::TableDesignWidget::onSelectionChanged ( )

Definition at line 537 of file TableDesignPane.cxx.

References Any, Exception, mxSelectedTable, mxView, TOOLS_WARN_EXCEPTION, and updateControls().

Referenced by TableDesignWidget().

◆ removeListener()

void sd::TableDesignWidget::removeListener ( )
private

Definition at line 707 of file TableDesignPane.cxx.

References sd::ViewShellBase::GetEventMultiplexer(), LINK, and mrBase.

Referenced by ~TableDesignWidget().

◆ ResetStyle()

void sd::TableDesignWidget::ResetStyle ( )

◆ selectStyle()

void sd::TableDesignWidget::selectStyle ( std::u16string_view  rStyle)
private

Definition at line 676 of file TableDesignPane.cxx.

References comphelper::findValue(), m_xValueSet, mxTableFamily, and nIndex.

Referenced by CloneStyle(), InsertStyle(), and updateControls().

◆ setDocumentModified()

void sd::TableDesignWidget::setDocumentModified ( )
private

◆ updateControls()

void sd::TableDesignWidget::updateControls ( )
private

Member Data Documentation

◆ m_aCheckBoxes

std::unique_ptr<weld::CheckButton> sd::TableDesignWidget::m_aCheckBoxes[CB_COUNT]
private

Definition at line 104 of file TableDesignPane.hxx.

Referenced by ApplyOptions(), TableDesignWidget(), and updateControls().

◆ m_xMenu

std::unique_ptr<weld::Menu> sd::TableDesignWidget::m_xMenu
private

Definition at line 101 of file TableDesignPane.hxx.

◆ m_xValueSet

std::unique_ptr<TableValueSet> sd::TableDesignWidget::m_xValueSet
private

◆ m_xValueSetWin

std::unique_ptr<weld::CustomWeld> sd::TableDesignWidget::m_xValueSetWin
private

Definition at line 103 of file TableDesignPane.hxx.

◆ mrBase

ViewShellBase& sd::TableDesignWidget::mrBase
private

◆ mxCellFamily

css::uno::Reference< css::container::XNameContainer > sd::TableDesignWidget::mxCellFamily
private

◆ mxSelectedTable

css::uno::Reference< css::beans::XPropertySet > sd::TableDesignWidget::mxSelectedTable
private

◆ mxTableFamily

css::uno::Reference< css::container::XIndexAccess > sd::TableDesignWidget::mxTableFamily
private

◆ mxView

css::uno::Reference< css::drawing::XDrawView > sd::TableDesignWidget::mxView
private

Definition at line 107 of file TableDesignPane.hxx.

Referenced by onSelectionChanged(), and TableDesignWidget().


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