LibreOffice Module toolkit (master) 1
Public Member Functions | Protected Member Functions | Static Protected Member Functions | Private Attributes | List of all members
SVTXFormattedField Class Reference

#include <vclxwindows.hxx>

Inheritance diagram for SVTXFormattedField:
[legend]
Collaboration diagram for SVTXFormattedField:
[legend]

Public Member Functions

 SVTXFormattedField ()
 
virtual ~SVTXFormattedField () override
 
void SAL_CALL setProperty (const OUString &PropertyName, const css::uno::Any &Value) override
 
css::uno::Any SAL_CALL getProperty (const OUString &PropertyName) override
 
- Public Member Functions inherited from VCLXSpinField
 VCLXSpinField ()
 
void SAL_CALL addSpinListener (const css::uno::Reference< css::awt::XSpinListener > &l) override
 
void SAL_CALL removeSpinListener (const css::uno::Reference< css::awt::XSpinListener > &l) override
 
void SAL_CALL up () override
 
void SAL_CALL down () override
 
void SAL_CALL first () override
 
void SAL_CALL last () override
 
void SAL_CALL enableRepeat (sal_Bool bRepeat) override
 
virtual void GetPropertyIds (std::vector< sal_uInt16 > &aIds) override
 

Protected Member Functions

void setFormatsSupplier (const css::uno::Reference< css::util::XNumberFormatsSupplier > &xSupplier)
 
sal_Int32 getFormatKey () const
 
void setFormatKey (sal_Int32 nKey)
 
void SetValue (const css::uno::Any &rValue)
 
css::uno::Any GetValue () const
 
void SetTreatAsNumber (bool bSet)
 
bool GetTreatAsNumber () const
 
void SetDefaultValue (const css::uno::Any &rValue)
 
css::uno::Any GetDefaultValue () const
 
void SetMinValue (const css::uno::Any &rValue)
 
css::uno::Any GetMinValue () const
 
void SetMaxValue (const css::uno::Any &rValue)
 
css::uno::Any GetMaxValue () const
 
void NotifyTextListeners ()
 
css::uno::Any convertEffectiveValue (const css::uno::Any &rValue) const
 
virtual void SetWindow (const VclPtr< vcl::Window > &_pWindow) override
 
virtual void GetPropertyIds (std::vector< sal_uInt16 > &aIds) override
 
- Protected Member Functions inherited from VCLXSpinField
void ProcessWindowEvent (const VclWindowEvent &rVclWindowEvent) override
 

Static Protected Member Functions

static void ImplGetPropertyIds (std::vector< sal_uInt16 > &aIds)
 

Private Attributes

rtl::Reference< SvNumberFormatsSupplierObjm_xCurrentSupplier
 
bool bIsStandardSupplier
 
sal_Int32 nKeyToSetDelayed
 

Additional Inherited Members

- Static Public Member Functions inherited from VCLXSpinField
static void ImplGetPropertyIds (std::vector< sal_uInt16 > &aIds)
 

Detailed Description

Definition at line 438 of file include/toolkit/awt/vclxwindows.hxx.

Constructor & Destructor Documentation

◆ SVTXFormattedField()

SVTXFormattedField::SVTXFormattedField ( )

Definition at line 6513 of file vclxwindows.cxx.

◆ ~SVTXFormattedField()

SVTXFormattedField::~SVTXFormattedField ( )
overridevirtual

Definition at line 6519 of file vclxwindows.cxx.

Member Function Documentation

◆ convertEffectiveValue()

css::uno::Any SVTXFormattedField::convertEffectiveValue ( const css::uno::Any &  rValue) const
protected

◆ GetDefaultValue()

css::uno::Any SVTXFormattedField::GetDefaultValue ( ) const
protected

◆ getFormatKey()

sal_Int32 SVTXFormattedField::getFormatKey ( ) const
protected

Definition at line 7028 of file vclxwindows.cxx.

Referenced by getProperty().

◆ GetMaxValue()

css::uno::Any SVTXFormattedField::GetMaxValue ( ) const
protected

Definition at line 6853 of file vclxwindows.cxx.

References Formatter::GetMaxValue(), and Formatter::HasMaxValue().

Referenced by getProperty().

◆ GetMinValue()

css::uno::Any SVTXFormattedField::GetMinValue ( ) const
protected

Definition at line 6812 of file vclxwindows.cxx.

References Formatter::GetMinValue(), and Formatter::HasMinValue().

Referenced by getProperty().

◆ getProperty()

css::uno::Any SVTXFormattedField::getProperty ( const OUString &  PropertyName)
override

◆ GetPropertyIds()

virtual void SVTXFormattedField::GetPropertyIds ( std::vector< sal_uInt16 > &  aIds)
inlineoverrideprotectedvirtual

Reimplemented from VCLXSpinField.

Definition at line 478 of file include/toolkit/awt/vclxwindows.hxx.

References ImplGetPropertyIds().

◆ GetTreatAsNumber()

bool SVTXFormattedField::GetTreatAsNumber ( ) const
protected

Definition at line 6916 of file vclxwindows.cxx.

Referenced by getProperty().

◆ GetValue()

css::uno::Any SVTXFormattedField::GetValue ( ) const
protected

◆ ImplGetPropertyIds()

void SVTXFormattedField::ImplGetPropertyIds ( std::vector< sal_uInt16 > &  aIds)
staticprotected

◆ NotifyTextListeners()

void SVTXFormattedField::NotifyTextListeners ( )
protected

Definition at line 7053 of file vclxwindows.cxx.

References aEvent, and getLength().

Referenced by setFormatKey(), and setFormatsSupplier().

◆ SetDefaultValue()

void SVTXFormattedField::SetDefaultValue ( const css::uno::Any &  rValue)
protected

◆ setFormatKey()

void SVTXFormattedField::setFormatKey ( sal_Int32  nKey)
protected

◆ setFormatsSupplier()

void SVTXFormattedField::setFormatsSupplier ( const css::uno::Reference< css::util::XNumberFormatsSupplier > &  xSupplier)
protected

◆ SetMaxValue()

void SVTXFormattedField::SetMaxValue ( const css::uno::Any &  rValue)
protected

Definition at line 6826 of file vclxwindows.cxx.

References Formatter::ClearMaxValue(), d, and Formatter::SetMaxValue().

Referenced by setProperty().

◆ SetMinValue()

void SVTXFormattedField::SetMinValue ( const css::uno::Any &  rValue)
protected

Definition at line 6783 of file vclxwindows.cxx.

References Formatter::ClearMinValue(), d, DBG_ASSERT, and Formatter::SetMinValue().

Referenced by setProperty().

◆ setProperty()

void SVTXFormattedField::setProperty ( const OUString &  PropertyName,
const css::uno::Any &  Value 
)
override

◆ SetTreatAsNumber()

void SVTXFormattedField::SetTreatAsNumber ( bool  bSet)
protected

Definition at line 6925 of file vclxwindows.cxx.

Referenced by setProperty().

◆ SetValue()

void SVTXFormattedField::SetValue ( const css::uno::Any &  rValue)
protected

◆ SetWindow()

void SVTXFormattedField::SetWindow ( const VclPtr< vcl::Window > &  _pWindow)
overrideprotectedvirtual

Definition at line 6523 of file vclxwindows.cxx.

Member Data Documentation

◆ bIsStandardSupplier

bool SVTXFormattedField::bIsStandardSupplier
private

Definition at line 441 of file include/toolkit/awt/vclxwindows.hxx.

Referenced by getProperty(), and setFormatsSupplier().

◆ m_xCurrentSupplier

rtl::Reference<SvNumberFormatsSupplierObj> SVTXFormattedField::m_xCurrentSupplier
private

Definition at line 440 of file include/toolkit/awt/vclxwindows.hxx.

Referenced by getProperty(), and setFormatsSupplier().

◆ nKeyToSetDelayed

sal_Int32 SVTXFormattedField::nKeyToSetDelayed
private

Definition at line 442 of file include/toolkit/awt/vclxwindows.hxx.

Referenced by setFormatKey(), and setFormatsSupplier().


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