LibreOffice Module forms (master) 1
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
xforms::OStringType Class Reference

#include <datatypes.hxx>

Inheritance diagram for xforms::OStringType:
[legend]
Collaboration diagram for xforms::OStringType:
[legend]

Public Member Functions

 OStringType (const OUString &_rName, sal_Int16 _nTypeClass)
 
- Public Member Functions inherited from xforms::OXSDDataType
virtual OUString SAL_CALL getName () override
 
virtual void SAL_CALL setName (const OUString &aName) override
 
virtual OUString SAL_CALL getPattern () override
 
virtual void SAL_CALL setPattern (const OUString &_pattern) override
 
virtual sal_Int16 SAL_CALL getWhiteSpaceTreatment () override
 
virtual void SAL_CALL setWhiteSpaceTreatment (sal_Int16 _whitespacetreatment) override
 
virtual sal_Bool SAL_CALL getIsBasic () override
 
virtual sal_Int16 SAL_CALL getTypeClass () override
 
virtual sal_Bool SAL_CALL validate (const OUString &value) override
 
virtual OUString SAL_CALL explainInvalid (const OUString &value) override
 
virtual void SAL_CALL setPropertyValue (const OUString &aPropertyName, const css::uno::Any &aValue) override
 
virtual css::uno::Any SAL_CALL getPropertyValue (const OUString &PropertyName) override
 
virtual void SAL_CALL addPropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
 
virtual void SAL_CALL removePropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override
 
virtual void SAL_CALL addVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
 
virtual void SAL_CALL removeVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
 
rtl::Reference< OXSDDataTypeclone (const OUString &_rNewName) const
 
- Public Member Functions inherited from comphelper::OMutexAndBroadcastHelper
 OMutexAndBroadcastHelper ()
 
::osl::Mutex & GetMutex ()
 
::cppu::OBroadcastHelperGetBroadcastHelper ()
 
const ::cppu::OBroadcastHelperGetBroadcastHelper () const
 
- Public Member Functions inherited from comphelper::OPropertyContainer
virtual ~OPropertyContainer ()
 
- Public Member Functions inherited from comphelper::OPropertyArrayUsageHelper< CONCRETE_DATA_TYPE_IMPL >
 OPropertyArrayUsageHelper ()
 
virtual ~OPropertyArrayUsageHelper ()
 
::cppu::IPropertyArrayHelpergetArrayHelper ()
 

Protected Member Functions

virtual rtl::Reference< OXSDDataTypecreateClone (const OUString &_rName) const override
 
virtual void initializeClone (const OXSDDataType &_rCloneSource) override
 
void initializeTypedClone (const OStringType &_rCloneSource)
 
virtual TranslateId _validate (const OUString &value) override
 
virtual OUString _explainInvalid (TranslateId rReason) override
 
virtual bool checkPropertySanity (sal_Int32 _nHandle, const css::uno::Any &_rNewValue, OUString &_rErrorMessage) override
 
virtual void registerProperties () override
 
- Protected Member Functions inherited from xforms::ODerivedDataType< CONCRETE_DATA_TYPE_IMPL, SUPERCLASS >
 ODerivedDataType (const OUString &_rName, sal_Int16 _nTypeClass)
 
virtual ::cppu::IPropertyArrayHelpercreateArrayHelper () const override
 
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo () override
 
virtual ::cppu::IPropertyArrayHelper &SAL_CALL getInfoHelper () override
 
- Protected Member Functions inherited from xforms::OXSDDataType
sal_Int16 getTypeClass () const
 
 OXSDDataType (OUString _aName, sal_Int16 _nTypeClass)
 
virtual ~OXSDDataType () override
 
virtual sal_Bool SAL_CALL convertFastPropertyValue (css::uno::Any &_rConvertedValue, css::uno::Any &_rOldValue, sal_Int32 _nHandle, const css::uno::Any &_rValue) override
 
virtual void SAL_CALL setFastPropertyValue_NoBroadcast (sal_Int32 nHandle, const css::uno::Any &rValue) override
 
virtual rtl::Reference< OXSDDataTypecreateClone (const OUString &_rName) const =0
 
virtual void initializeClone (const OXSDDataType &_rCloneSource)
 
virtual TranslateId _validate (const OUString &value)
 
virtual OUString _explainInvalid (TranslateId rReason)
 
virtual bool checkPropertySanity (sal_Int32 _nHandle, const css::uno::Any &_rNewValue, OUString &_rErrorMessage)
 
virtual void registerProperties ()
 
- Protected Member Functions inherited from comphelper::OPropertyContainer
 OPropertyContainer (::cppu::OBroadcastHelper &_rBHelper)
 
virtual sal_Bool SAL_CALL convertFastPropertyValue (css::uno::Any &rConvertedValue, css::uno::Any &rOldValue, sal_Int32 nHandle, const css::uno::Any &rValue) override
 
virtual void SAL_CALL setFastPropertyValue_NoBroadcast (sal_Int32 nHandle, const css::uno::Any &rValue) override
 
virtual void SAL_CALL getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const override
 
virtual css::uno::Any SAL_CALL getFastPropertyValue (sal_Int32 nHandle) override final
 
virtual void getFastPropertyValue (std::unique_lock< std::mutex > &rGuard, css::uno::Any &rValue, sal_Int32 nHandle) const =0
 
virtual void SAL_CALL setFastPropertyValue (sal_Int32 nHandle, const css::uno::Any &rValue) override final
 
- Protected Member Functions inherited from comphelper::OPropertyContainerHelper
 OPropertyContainerHelper ()
 
 ~OPropertyContainerHelper ()
 
void registerProperty (const OUString &_rName, sal_Int32 _nHandle, sal_Int32 _nAttributes, void *_pPointerToMember, const css::uno::Type &_rMemberType)
 
void registerMayBeVoidProperty (const OUString &_rName, sal_Int32 _nHandle, sal_Int32 _nAttributes, css::uno::Any *_pPointerToMember, const css::uno::Type &_rExpectedType)
 
void registerPropertyNoMember (const OUString &_rName, sal_Int32 _nHandle, sal_Int32 _nAttributes, const css::uno::Type &_rType, css::uno::Any const &_pInitialValue)
 
void revokeProperty (sal_Int32 _nHandle)
 
bool isRegisteredProperty (sal_Int32 _nHandle) const
 
bool isRegisteredProperty (const OUString &_rName) const
 
bool convertFastPropertyValue (css::uno::Any &rConvertedValue, css::uno::Any &rOldValue, sal_Int32 nHandle, const css::uno::Any &rValue)
 
void setFastPropertyValue (sal_Int32 nHandle, const css::uno::Any &rValue)
 
void getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const
 
void describeProperties (css::uno::Sequence< css::beans::Property > &_rProps) const
 
const css::beans::Property & getProperty (const OUString &_rName) const
 
virtual ::cppu::IPropertyArrayHelpercreateArrayHelper () const =0
 

Private Attributes

css::uno::Any m_aLength
 
css::uno::Any m_aMinLength
 
css::uno::Any m_aMaxLength
 

Additional Inherited Members

- Static Protected Member Functions inherited from comphelper::OPropertyContainer
static css::uno::Sequence< css::uno::Type > getBaseTypes ()
 
- Static Protected Member Functions inherited from comphelper::OPropertyArrayUsageHelper< CONCRETE_DATA_TYPE_IMPL >
static std::mutextheMutex ()
 
- Protected Attributes inherited from comphelper::OMutexAndBroadcastHelper
::osl::Mutex m_aMutex
 
::cppu::OBroadcastHelper m_aBHelper
 
- Static Protected Attributes inherited from comphelper::OPropertyArrayUsageHelper< CONCRETE_DATA_TYPE_IMPL >
static sal_Int32 s_nRefCount
 
::cppu::IPropertyArrayHelpers_pProps
 

Detailed Description

Definition at line 242 of file datatypes.hxx.

Constructor & Destructor Documentation

◆ OStringType()

xforms::OStringType::OStringType ( const OUString &  _rName,
sal_Int16  _nTypeClass 
)

Definition at line 461 of file datatypes.cxx.

Referenced by createClone().

Member Function Documentation

◆ _explainInvalid()

OUString xforms::OStringType::_explainInvalid ( TranslateId  rReason)
overrideprotectedvirtual

Reimplemented from xforms::OXSDDataType.

Definition at line 554 of file datatypes.cxx.

References xforms::OXSDDataType::_explainInvalid(), m_aLength, m_aMaxLength, m_aMinLength, and nValue.

◆ _validate()

TranslateId xforms::OStringType::_validate ( const OUString &  value)
overrideprotectedvirtual

Reimplemented from xforms::OXSDDataType.

Definition at line 528 of file datatypes.cxx.

References xforms::OXSDDataType::_validate(), m_aLength, m_aMaxLength, m_aMinLength, and nLength.

◆ checkPropertySanity()

bool xforms::OStringType::checkPropertySanity ( sal_Int32  _nHandle,
const css::uno::Any &  _rNewValue,
OUString &  _rErrorMessage 
)
overrideprotectedvirtual

◆ createClone()

rtl::Reference< OXSDDataType > xforms::OStringType::createClone ( const OUString &  _rName) const
overrideprotectedvirtual

Implements xforms::OXSDDataType.

Definition at line 482 of file datatypes.cxx.

References xforms::OXSDDataType::getTypeClass(), and OStringType().

◆ initializeClone()

void xforms::OStringType::initializeClone ( const OXSDDataType _rCloneSource)
overrideprotectedvirtual

Reimplemented from xforms::OXSDDataType.

Definition at line 486 of file datatypes.cxx.

References xforms::OXSDDataType::initializeClone(), and initializeTypedClone().

◆ initializeTypedClone()

void xforms::OStringType::initializeTypedClone ( const OStringType _rCloneSource)
protected

Definition at line 494 of file datatypes.cxx.

References m_aLength, m_aMaxLength, and m_aMinLength.

Referenced by initializeClone().

◆ registerProperties()

void xforms::OStringType::registerProperties ( )
overrideprotectedvirtual

Member Data Documentation

◆ m_aLength

css::uno::Any xforms::OStringType::m_aLength
private

◆ m_aMaxLength

css::uno::Any xforms::OStringType::m_aMaxLength
private

◆ m_aMinLength

css::uno::Any xforms::OStringType::m_aMinLength
private

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