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 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

 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

◆ NumberFormatPropertyPanel()

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

Definition at line 35 of file NumberFormatPropertyPanel.cxx.

References Initialize().

◆ ~NumberFormatPropertyPanel()

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

Member Function Documentation

◆ Create()

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

◆ DECL_LINK() [1/3]

sc::sidebar::NumberFormatPropertyPanel::DECL_LINK ( NumFormatSelectHdl  ,
weld::ComboBox ,
void   
)
private

◆ DECL_LINK() [2/3]

sc::sidebar::NumberFormatPropertyPanel::DECL_LINK ( NumFormatValueClickHdl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [3/3]

sc::sidebar::NumberFormatPropertyPanel::DECL_LINK ( NumFormatValueHdl  ,
weld::SpinButton ,
void   
)
private

◆ DisableControls()

void sc::sidebar::NumberFormatPropertyPanel::DisableControls ( )
private

◆ GetBindings()

SfxBindings * sc::sidebar::NumberFormatPropertyPanel::GetBindings ( )
inline

Definition at line 53 of file NumberFormatPropertyPanel.hxx.

References mpBindings.

◆ GetControlState()

virtual void sc::sidebar::NumberFormatPropertyPanel::GetControlState ( const  sal_uInt16,
boost::property_tree::ptree &   
)
inlineoverridevirtual

◆ HandleContextChange()

void sc::sidebar::NumberFormatPropertyPanel::HandleContextChange ( const vcl::EnumContext rContext)
overridevirtual

Definition at line 162 of file NumberFormatPropertyPanel.cxx.

References maContext.

◆ Initialize()

void sc::sidebar::NumberFormatPropertyPanel::Initialize ( )
private

◆ NotifyItemUpdate()

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

Member Data Documentation

◆ maContext

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

Definition at line 81 of file NumberFormatPropertyPanel.hxx.

Referenced by HandleContextChange().

◆ maFormatControl

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

Definition at line 77 of file NumberFormatPropertyPanel.hxx.

Referenced by ~NumberFormatPropertyPanel().

◆ maNumFormatControl

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

Definition at line 76 of file NumberFormatPropertyPanel.hxx.

Referenced by ~NumberFormatPropertyPanel().

◆ mnCategorySelected

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

Definition at line 79 of file NumberFormatPropertyPanel.hxx.

Referenced by NotifyItemUpdate().

◆ mpBindings

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

Definition at line 82 of file NumberFormatPropertyPanel.hxx.

Referenced by GetBindings().

◆ mxBtnEngineering

std::unique_ptr<weld::CheckButton> sc::sidebar::NumberFormatPropertyPanel::mxBtnEngineering
private

◆ mxBtnNegRed

std::unique_ptr<weld::CheckButton> sc::sidebar::NumberFormatPropertyPanel::mxBtnNegRed
private

◆ mxBtnThousand

std::unique_ptr<weld::CheckButton> sc::sidebar::NumberFormatPropertyPanel::mxBtnThousand
private

◆ mxCategoryDispatch

std::unique_ptr<ToolbarUnoDispatcher> sc::sidebar::NumberFormatPropertyPanel::mxCategoryDispatch
private

Definition at line 65 of file NumberFormatPropertyPanel.hxx.

Referenced by ~NumberFormatPropertyPanel().

◆ mxEdDecimals

std::unique_ptr<weld::SpinButton> sc::sidebar::NumberFormatPropertyPanel::mxEdDecimals
private

◆ mxEdDenominator

std::unique_ptr<weld::SpinButton> sc::sidebar::NumberFormatPropertyPanel::mxEdDenominator
private

◆ mxEdLeadZeroes

std::unique_ptr<weld::SpinButton> sc::sidebar::NumberFormatPropertyPanel::mxEdLeadZeroes
private

◆ mxFtDecimals

std::unique_ptr<weld::Label> sc::sidebar::NumberFormatPropertyPanel::mxFtDecimals
private

◆ mxFtDenominator

std::unique_ptr<weld::Label> sc::sidebar::NumberFormatPropertyPanel::mxFtDenominator
private

◆ mxFtLeadZeroes

std::unique_ptr<weld::Label> sc::sidebar::NumberFormatPropertyPanel::mxFtLeadZeroes
private

◆ mxLbCategory

std::unique_ptr<weld::ComboBox> sc::sidebar::NumberFormatPropertyPanel::mxLbCategory
private

◆ mxTBCategory

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: