|
LibreOffice Module forms (master) 1
|
#include <datatypes.hxx>
Protected Member Functions | |
| OValueLimitedType_Base (const OUString &_rName, sal_Int16 _nTypeClass) | |
| virtual void | initializeClone (const OXSDDataType &_rCloneSource) override |
| void | initializeTypedClone (const OValueLimitedType_Base &_rCloneSource) |
| virtual void SAL_CALL | setFastPropertyValue_NoBroadcast (sal_Int32 nHandle, const css::uno::Any &rValue) override |
| virtual bool | _getValue (const OUString &value, double &fValue) |
| virtual TranslateId | _validate (const OUString &value) override |
| virtual OUString | _explainInvalid (TranslateId rReason) override |
| virtual OUString | typedValueAsHumanReadableString (const css::uno::Any &_rValue) const =0 |
| translate a given value into a human-readable string More... | |
| virtual void | normalizeValue (const css::uno::Any &_rValue, double &_rDoubleValue) const =0 |
| translates a <member>ValueType</member> value into a double value More... | |
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< OXSDDataType > | createClone (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 |
Protected Attributes | |
| css::uno::Any | m_aMaxInclusive |
| css::uno::Any | m_aMaxExclusive |
| css::uno::Any | m_aMinInclusive |
| css::uno::Any | m_aMinExclusive |
| double | m_fCachedMaxInclusive |
| double | m_fCachedMaxExclusive |
| double | m_fCachedMinInclusive |
| double | m_fCachedMinExclusive |
Protected Attributes inherited from comphelper::OMutexAndBroadcastHelper | |
| ::osl::Mutex | m_aMutex |
| ::cppu::OBroadcastHelper | m_aBHelper |
Additional Inherited Members | |
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< OXSDDataType > | clone (const OUString &_rNewName) const |
Public Member Functions inherited from comphelper::OMutexAndBroadcastHelper | |
| OMutexAndBroadcastHelper () | |
| ::osl::Mutex & | GetMutex () |
| ::cppu::OBroadcastHelper & | GetBroadcastHelper () |
| const ::cppu::OBroadcastHelper & | GetBroadcastHelper () const |
Public Member Functions inherited from comphelper::OPropertyContainer | |
| virtual | ~OPropertyContainer () |
Static Protected Member Functions inherited from comphelper::OPropertyContainer | |
| static css::uno::Sequence< css::uno::Type > | getBaseTypes () |
Definition at line 136 of file datatypes.hxx.
|
protected |
Definition at line 319 of file datatypes.cxx.
|
overrideprotectedvirtual |
Reimplemented from xforms::OXSDDataType.
Definition at line 445 of file datatypes.cxx.
References xforms::OXSDDataType::getName(), m_aMaxExclusive, m_aMaxInclusive, m_aMinExclusive, m_aMinInclusive, and typedValueAsHumanReadableString().
|
protectedvirtual |
|
overrideprotectedvirtual |
Reimplemented from xforms::OXSDDataType.
Definition at line 421 of file datatypes.cxx.
References _getValue(), xforms::OXSDDataType::_validate(), m_aMaxExclusive, m_aMaxInclusive, m_aMinExclusive, m_aMinInclusive, m_fCachedMaxExclusive, m_fCachedMaxInclusive, m_fCachedMinExclusive, and m_fCachedMinInclusive.
|
overrideprotectedvirtual |
Reimplemented from xforms::OXSDDataType.
Definition at line 329 of file datatypes.cxx.
References xforms::OXSDDataType::initializeClone(), and initializeTypedClone().
|
protected |
Definition at line 336 of file datatypes.cxx.
References m_aMaxExclusive, m_aMaxInclusive, m_aMinExclusive, m_aMinInclusive, m_fCachedMaxExclusive, m_fCachedMaxInclusive, m_fCachedMinExclusive, and m_fCachedMinInclusive.
Referenced by initializeClone().
|
protectedpure virtual |
translates a <member>ValueType</member> value into a double value
The normalization must respect the "<" and "==" relations on the value space. That is, if two values are equal, their normalizations must be equal, too. Similarly, if foo is less than bar, the same must hold for their normalizations.
| _rValue | the value to translate. Guaranteed to be not <NULL>, and of type <member>ValueType</member> |
| _rDoubleValue | output parameter to hold the resulting double value |
Referenced by setFastPropertyValue_NoBroadcast().
|
overrideprotectedvirtual |
Reimplemented from xforms::OXSDDataType.
Definition at line 349 of file datatypes.cxx.
References m_aMaxExclusive, m_aMaxInclusive, m_aMinExclusive, m_aMinInclusive, m_fCachedMaxExclusive, m_fCachedMaxInclusive, m_fCachedMinExclusive, m_fCachedMinInclusive, normalizeValue(), PROPERTY_ID_XSD_MAX_EXCLUSIVE_DATE, PROPERTY_ID_XSD_MAX_EXCLUSIVE_DATE_TIME, PROPERTY_ID_XSD_MAX_EXCLUSIVE_DOUBLE, PROPERTY_ID_XSD_MAX_EXCLUSIVE_INT, PROPERTY_ID_XSD_MAX_EXCLUSIVE_TIME, PROPERTY_ID_XSD_MAX_INCLUSIVE_DATE, PROPERTY_ID_XSD_MAX_INCLUSIVE_DATE_TIME, PROPERTY_ID_XSD_MAX_INCLUSIVE_DOUBLE, PROPERTY_ID_XSD_MAX_INCLUSIVE_INT, PROPERTY_ID_XSD_MAX_INCLUSIVE_TIME, PROPERTY_ID_XSD_MIN_EXCLUSIVE_DATE, PROPERTY_ID_XSD_MIN_EXCLUSIVE_DATE_TIME, PROPERTY_ID_XSD_MIN_EXCLUSIVE_DOUBLE, PROPERTY_ID_XSD_MIN_EXCLUSIVE_INT, PROPERTY_ID_XSD_MIN_EXCLUSIVE_TIME, PROPERTY_ID_XSD_MIN_INCLUSIVE_DATE, PROPERTY_ID_XSD_MIN_INCLUSIVE_DATE_TIME, PROPERTY_ID_XSD_MIN_INCLUSIVE_DOUBLE, PROPERTY_ID_XSD_MIN_INCLUSIVE_INT, PROPERTY_ID_XSD_MIN_INCLUSIVE_TIME, and xforms::OXSDDataType::setFastPropertyValue_NoBroadcast().
|
protectedpure virtual |
translate a given value into a human-readable string
The value is guaranteed to be not <NULL>, and is of type <member>ValueType</member>
Referenced by _explainInvalid().
|
protected |
Definition at line 140 of file datatypes.hxx.
Referenced by _explainInvalid(), _validate(), initializeTypedClone(), and setFastPropertyValue_NoBroadcast().
|
protected |
Definition at line 139 of file datatypes.hxx.
Referenced by _explainInvalid(), _validate(), initializeTypedClone(), and setFastPropertyValue_NoBroadcast().
|
protected |
Definition at line 142 of file datatypes.hxx.
Referenced by _explainInvalid(), _validate(), initializeTypedClone(), and setFastPropertyValue_NoBroadcast().
|
protected |
Definition at line 141 of file datatypes.hxx.
Referenced by _explainInvalid(), _validate(), initializeTypedClone(), and setFastPropertyValue_NoBroadcast().
|
protected |
Definition at line 145 of file datatypes.hxx.
Referenced by _validate(), initializeTypedClone(), and setFastPropertyValue_NoBroadcast().
|
protected |
Definition at line 144 of file datatypes.hxx.
Referenced by _validate(), initializeTypedClone(), and setFastPropertyValue_NoBroadcast().
|
protected |
Definition at line 147 of file datatypes.hxx.
Referenced by _validate(), initializeTypedClone(), and setFastPropertyValue_NoBroadcast().
|
protected |
Definition at line 146 of file datatypes.hxx.
Referenced by _validate(), initializeTypedClone(), and setFastPropertyValue_NoBroadcast().