LibreOffice Module extensions (master) 1
Public Member Functions | Protected Member Functions | List of all members
pcr::OFormattedNumericControl Class Reference

#include <usercontrol.hxx>

Inheritance diagram for pcr::OFormattedNumericControl:
[legend]
Collaboration diagram for pcr::OFormattedNumericControl:
[legend]

Public Member Functions

 OFormattedNumericControl (std::unique_ptr< weld::FormattedSpinButton > xWidget, std::unique_ptr< weld::Builder > xBuilder, bool bReadOnly)
 
virtual css::uno::Any SAL_CALL getValue () override
 
virtual void SAL_CALL setValue (const css::uno::Any &_value) override
 
virtual css::uno::Type SAL_CALL getValueType () override
 
void SetFormatDescription (const FormatDescription &rDesc)
 
void SetDecimalDigits (sal_uInt16 nPrecision)
 
void SetDefaultValue (double dDef)
 
virtual void SetModifyHandler () override
 
virtual weld::WidgetgetWidget () override
 
- Public Member Functions inherited from pcr::CommonBehaviourControlHelper
 CommonBehaviourControlHelper (sal_Int16 nControlType, css::inspection::XPropertyControl &rAntiImpl)
 creates the instance More...
 
virtual ~CommonBehaviourControlHelper ()
 
virtual void setModified ()
 
virtual void editChanged ()
 
::sal_Int16 getControlType () const
 
const css::uno::Reference< css::inspection::XPropertyControlContext > & getControlContext () const
 
void setControlContext (const css::uno::Reference< css::inspection::XPropertyControlContext > &controlcontext)
 
bool isModified () const
 
void notifyModifiedValue ()
 
virtual weld::WidgetgetWidget ()=0
 
 DECL_LINK (ModifiedHdl, weld::ComboBox &, void)
 may be used by derived classes, they forward the event to the PropCtrListener More...
 
 DECL_LINK (ColorModifiedHdl, ColorListBox &, void)
 
 DECL_LINK (EditModifiedHdl, weld::Entry &, void)
 
 DECL_LINK (MetricModifiedHdl, weld::MetricSpinButton &, void)
 
 DECL_LINK (FormattedModifiedHdl, weld::FormattedSpinButton &, void)
 
 DECL_LINK (TimeModifiedHdl, weld::FormattedSpinButton &, void)
 
 DECL_LINK (DateModifiedHdl, SvtCalendarBox &, void)
 
 DECL_LINK (GetFocusHdl, weld::Widget &, void)
 
 DECL_LINK (LoseFocusHdl, weld::Widget &, void)
 

Protected Member Functions

virtual ~OFormattedNumericControl () override
 
- Protected Member Functions inherited from pcr::CommonBehaviourControl< TControlInterface, TControlWindow >
 CommonBehaviourControl (sal_Int16 nControlType, std::unique_ptr< weld::Builder > xBuilder, std::unique_ptr< TControlWindow > xWidget, bool bReadOnly)
 
virtual ~CommonBehaviourControl () override
 
virtual ::sal_Int16 SAL_CALL getControlType () override
 
virtual css::uno::Reference< css::inspection::XPropertyControlContext > SAL_CALL getControlContext () override
 
virtual void SAL_CALL setControlContext (const css::uno::Reference< css::inspection::XPropertyControlContext > &controlcontext) override
 
virtual css::uno::Reference< css::awt::XWindow > SAL_CALL getControlWindow () override
 
virtual sal_Bool SAL_CALL isModified () override
 
virtual void SAL_CALL notifyModifiedValue () override
 
void clear_widgetry ()
 
virtual void SAL_CALL disposing () override
 
TControlWindow * getTypedControlWindow ()
 
const TControlWindow * getTypedControlWindow () const
 
virtual void SetModifyHandler ()
 
void impl_checkDisposed_throw ()
 checks whether the instance is already disposed More...
 

Additional Inherited Members

- Protected Types inherited from pcr::CommonBehaviourControl< TControlInterface, TControlWindow >
typedef ::cppu::WeakComponentImplHelper< TControlInterface > ComponentBaseClass
 
- Protected Attributes inherited from pcr::CommonBehaviourControl< TControlInterface, TControlWindow >
std::unique_ptr< weld::Builderm_xBuilder
 
- Protected Attributes inherited from cppu::BaseMutex
mutable::osl::Mutex m_aMutex
 

Detailed Description

Definition at line 88 of file usercontrol.hxx.

Constructor & Destructor Documentation

◆ OFormattedNumericControl()

pcr::OFormattedNumericControl::OFormattedNumericControl ( std::unique_ptr< weld::FormattedSpinButton xWidget,
std::unique_ptr< weld::Builder xBuilder,
bool  bReadOnly 
)

◆ ~OFormattedNumericControl()

pcr::OFormattedNumericControl::~OFormattedNumericControl ( )
overrideprotectedvirtual

Definition at line 176 of file usercontrol.cxx.

Member Function Documentation

◆ getValue()

Any SAL_CALL pcr::OFormattedNumericControl::getValue ( )
overridevirtual

◆ getValueType()

Type SAL_CALL pcr::OFormattedNumericControl::getValueType ( )
overridevirtual

Definition at line 197 of file usercontrol.cxx.

◆ getWidget()

virtual weld::Widget * pcr::OFormattedNumericControl::getWidget ( )
inlineoverridevirtual

◆ SetDecimalDigits()

void pcr::OFormattedNumericControl::SetDecimalDigits ( sal_uInt16  nPrecision)
inline

◆ SetDefaultValue()

void pcr::OFormattedNumericControl::SetDefaultValue ( double  dDef)
inline

◆ SetFormatDescription()

void pcr::OFormattedNumericControl::SetFormatDescription ( const FormatDescription rDesc)

◆ SetModifyHandler()

virtual void pcr::OFormattedNumericControl::SetModifyHandler ( )
inlineoverridevirtual

◆ setValue()

void SAL_CALL pcr::OFormattedNumericControl::setValue ( const css::uno::Any &  _value)
overridevirtual

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