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

#include <NumberFormatPropertyPanel.hxx>

Inheritance diagram for sc::sidebar::NumberFormatPropertyPanel:
[legend]
Collaboration diagram for sc::sidebar::NumberFormatPropertyPanel:
[legend]

Public Member Functions

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
 
SfxBindingsGetBindings ()
 
 NumberFormatPropertyPanel (weld::Widget *pParent, const css::uno::Reference< css::frame::XFrame > &rxFrame, SfxBindings *pBindings)
 
virtual ~NumberFormatPropertyPanel () override
 
- 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 ()
 
- Public Member Functions inherited from sfx2::sidebar::ControllerItem::ItemUpdateReceiverInterface
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

 DECL_LINK (NumFormatSelectHdl, weld::ComboBox &, void)
 
 DECL_LINK (NumFormatValueHdl, weld::SpinButton &, void)
 
 DECL_LINK (NumFormatValueClickHdl, weld::Toggleable &, void)
 
void Initialize ()
 
void DisableControls ()
 

Private Attributes

std::unique_ptr< weld::ComboBoxmxLbCategory
 
std::unique_ptr< weld::ToolbarmxTBCategory
 
std::unique_ptr< ToolbarUnoDispatchermxCategoryDispatch
 
std::unique_ptr< weld::LabelmxFtDecimals
 
std::unique_ptr< weld::SpinButtonmxEdDecimals
 
std::unique_ptr< weld::LabelmxFtDenominator
 
std::unique_ptr< weld::SpinButtonmxEdDenominator
 
std::unique_ptr< weld::LabelmxFtLeadZeroes
 
std::unique_ptr< weld::SpinButtonmxEdLeadZeroes
 
std::unique_ptr< weld::CheckButtonmxBtnNegRed
 
std::unique_ptr< weld::CheckButtonmxBtnThousand
 
std::unique_ptr< weld::CheckButtonmxBtnEngineering
 
::sfx2::sidebar::ControllerItem maNumFormatControl
 
::sfx2::sidebar::ControllerItem maFormatControl
 
sal_Int32 mnCategorySelected
 
vcl::EnumContext maContext
 
SfxBindingsmpBindings
 

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 29 of file NumberFormatPropertyPanel.hxx.

Constructor & Destructor Documentation

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

Definition at line 33 of file NumberFormatPropertyPanel.cxx.

References Initialize().

sc::sidebar::NumberFormatPropertyPanel::~NumberFormatPropertyPanel ( )
overridevirtual

Member Function Documentation

std::unique_ptr< PanelLayout > sc::sidebar::NumberFormatPropertyPanel::Create ( weld::Widget pParent,
const css::uno::Reference< css::frame::XFrame > &  rxFrame,
SfxBindings pBindings 
)
static
sc::sidebar::NumberFormatPropertyPanel::DECL_LINK ( NumFormatSelectHdl  ,
weld::ComboBox ,
void   
)
private
sc::sidebar::NumberFormatPropertyPanel::DECL_LINK ( NumFormatValueHdl  ,
weld::SpinButton ,
void   
)
private
sc::sidebar::NumberFormatPropertyPanel::DECL_LINK ( NumFormatValueClickHdl  ,
weld::Toggleable ,
void   
)
private
void sc::sidebar::NumberFormatPropertyPanel::DisableControls ( )
private
SfxBindings* sc::sidebar::NumberFormatPropertyPanel::GetBindings ( )
inline

Definition at line 53 of file NumberFormatPropertyPanel.hxx.

References mpBindings.

virtual void sc::sidebar::NumberFormatPropertyPanel::GetControlState ( const sal_uInt16  ,
boost::property_tree::ptree &   
)
inlineoverridevirtual
void sc::sidebar::NumberFormatPropertyPanel::HandleContextChange ( const vcl::EnumContext rContext)
overridevirtual

Implements sfx2::sidebar::IContextChangeReceiver.

Definition at line 160 of file NumberFormatPropertyPanel.cxx.

References maContext.

void sc::sidebar::NumberFormatPropertyPanel::Initialize ( )
private
void sc::sidebar::NumberFormatPropertyPanel::NotifyItemUpdate ( const sal_uInt16  nSId,
const SfxItemState  eState,
const SfxPoolItem pState 
)
overridevirtual

Member Data Documentation

vcl::EnumContext sc::sidebar::NumberFormatPropertyPanel::maContext
private

Definition at line 81 of file NumberFormatPropertyPanel.hxx.

Referenced by HandleContextChange().

::sfx2::sidebar::ControllerItem sc::sidebar::NumberFormatPropertyPanel::maFormatControl
private

Definition at line 77 of file NumberFormatPropertyPanel.hxx.

Referenced by ~NumberFormatPropertyPanel().

::sfx2::sidebar::ControllerItem sc::sidebar::NumberFormatPropertyPanel::maNumFormatControl
private

Definition at line 76 of file NumberFormatPropertyPanel.hxx.

Referenced by ~NumberFormatPropertyPanel().

sal_Int32 sc::sidebar::NumberFormatPropertyPanel::mnCategorySelected
private

Definition at line 79 of file NumberFormatPropertyPanel.hxx.

Referenced by NotifyItemUpdate().

SfxBindings* sc::sidebar::NumberFormatPropertyPanel::mpBindings
private

Definition at line 82 of file NumberFormatPropertyPanel.hxx.

Referenced by GetBindings().

std::unique_ptr<weld::CheckButton> sc::sidebar::NumberFormatPropertyPanel::mxBtnEngineering
private
std::unique_ptr<weld::CheckButton> sc::sidebar::NumberFormatPropertyPanel::mxBtnNegRed
private
std::unique_ptr<weld::CheckButton> sc::sidebar::NumberFormatPropertyPanel::mxBtnThousand
private
std::unique_ptr<ToolbarUnoDispatcher> sc::sidebar::NumberFormatPropertyPanel::mxCategoryDispatch
private

Definition at line 65 of file NumberFormatPropertyPanel.hxx.

Referenced by ~NumberFormatPropertyPanel().

std::unique_ptr<weld::SpinButton> sc::sidebar::NumberFormatPropertyPanel::mxEdDecimals
private
std::unique_ptr<weld::SpinButton> sc::sidebar::NumberFormatPropertyPanel::mxEdDenominator
private
std::unique_ptr<weld::SpinButton> sc::sidebar::NumberFormatPropertyPanel::mxEdLeadZeroes
private
std::unique_ptr<weld::Label> sc::sidebar::NumberFormatPropertyPanel::mxFtDecimals
private
std::unique_ptr<weld::Label> sc::sidebar::NumberFormatPropertyPanel::mxFtDenominator
private
std::unique_ptr<weld::Label> sc::sidebar::NumberFormatPropertyPanel::mxFtLeadZeroes
private
std::unique_ptr<weld::ComboBox> sc::sidebar::NumberFormatPropertyPanel::mxLbCategory
private
std::unique_ptr<weld::Toolbar> sc::sidebar::NumberFormatPropertyPanel::mxTBCategory
private

Definition at line 64 of file NumberFormatPropertyPanel.hxx.

Referenced by ~NumberFormatPropertyPanel().


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