LibreOffice Module forms (master) 1
|
#include <datatypes.hxx>
Public Member Functions | |
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 () |
Protected Member Functions | |
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 |
Private Member Functions | |
OXSDDataType (const OXSDDataType &)=delete | |
OXSDDataType & | operator= (const OXSDDataType &)=delete |
Private Attributes | |
bool | m_bIsBasic |
sal_Int16 | m_nTypeClass |
OUString | m_sName |
OUString | m_sPattern |
sal_uInt16 | m_nWST |
::std::unique_ptr< U_NAMESPACE_QUALIFIER RegexMatcher > | m_pPatternMatcher |
bool | m_bPatternMatcherDirty |
Additional Inherited Members | |
Static Protected Member Functions inherited from comphelper::OPropertyContainer | |
static css::uno::Sequence< css::uno::Type > | getBaseTypes () |
Protected Attributes inherited from comphelper::OMutexAndBroadcastHelper | |
::osl::Mutex | m_aMutex |
::cppu::OBroadcastHelper | m_aBHelper |
Definition at line 53 of file datatypes.hxx.
|
privatedelete |
|
protected |
Definition at line 58 of file datatypes.cxx.
|
overrideprotectedvirtual |
Definition at line 69 of file datatypes.cxx.
|
protectedvirtual |
Reimplemented in xforms::OValueLimitedType_Base, xforms::OBooleanType, xforms::OStringType, xforms::OAnyURIType, and xforms::ODecimalType.
Definition at line 177 of file datatypes.cxx.
References m_sPattern.
Referenced by xforms::OStringType::_explainInvalid(), xforms::OAnyURIType::_explainInvalid(), xforms::ODecimalType::_explainInvalid(), and explainInvalid().
|
protectedvirtual |
Reimplemented in xforms::OValueLimitedType_Base, xforms::OBooleanType, xforms::OStringType, xforms::OAnyURIType, xforms::ODecimalType, xforms::ODateType, xforms::OTimeType, and xforms::ODateTimeType.
Definition at line 215 of file datatypes.cxx.
References m_bPatternMatcherDirty, m_pPatternMatcher, and m_sPattern.
Referenced by xforms::OValueLimitedType_Base::_validate(), xforms::OBooleanType::_validate(), xforms::OStringType::_validate(), xforms::OAnyURIType::_validate(), xforms::ODecimalType::_validate(), xforms::ODateType::_validate(), xforms::OTimeType::_validate(), xforms::ODateTimeType::_validate(), explainInvalid(), and validate().
|
overridevirtual |
Definition at line 296 of file datatypes.cxx.
|
overridevirtual |
Definition at line 308 of file datatypes.cxx.
|
protectedvirtual |
Reimplemented in xforms::OStringType, and xforms::OAnyURIType.
Definition at line 264 of file datatypes.cxx.
References PROPERTY_ID_XSD_PATTERN.
Referenced by xforms::OStringType::checkPropertySanity(), xforms::OAnyURIType::checkPropertySanity(), and convertFastPropertyValue().
rtl::Reference< OXSDDataType > xforms::OXSDDataType::clone | ( | const OUString & | _rNewName | ) | const |
Definition at line 94 of file datatypes.cxx.
References createClone().
|
overrideprotectedvirtual |
Reimplemented from comphelper::OPropertyContainer.
Definition at line 236 of file datatypes.cxx.
References checkPropertySanity(), and comphelper::OPropertyContainer::convertFastPropertyValue().
|
protectedpure virtual |
Implemented in xforms::OBooleanType, xforms::OStringType, xforms::OAnyURIType, xforms::ODecimalType, xforms::ODateType, xforms::OTimeType, xforms::ODateTimeType, and xforms::OShortIntegerType.
Referenced by clone().
|
overridevirtual |
Definition at line 165 of file datatypes.cxx.
References _explainInvalid(), _validate(), and xforms::getResource().
|
overridevirtual |
Definition at line 147 of file datatypes.cxx.
References m_bIsBasic.
|
overridevirtual |
Definition at line 107 of file datatypes.cxx.
References m_sName.
Referenced by xforms::OValueLimitedType_Base::_explainInvalid(), and xforms::OBooleanType::_explainInvalid().
|
overridevirtual |
Definition at line 121 of file datatypes.cxx.
References m_sPattern.
|
overridevirtual |
Definition at line 290 of file datatypes.cxx.
References Any.
|
inlineprotected |
Definition at line 71 of file datatypes.hxx.
References m_nTypeClass.
Referenced by xforms::OShortIntegerType::_getValue(), xforms::OStringType::createClone(), xforms::OAnyURIType::createClone(), xforms::ODecimalType::createClone(), and xforms::OShortIntegerType::createClone().
|
overridevirtual |
Definition at line 153 of file datatypes.cxx.
References m_nTypeClass.
|
overridevirtual |
Definition at line 134 of file datatypes.cxx.
References m_nWST.
|
protectedvirtual |
Reimplemented in xforms::OValueLimitedType_Base, xforms::OBooleanType, xforms::OStringType, xforms::OAnyURIType, xforms::ODecimalType, xforms::ODateType, xforms::OTimeType, xforms::ODateTimeType, and xforms::OShortIntegerType.
Definition at line 85 of file datatypes.cxx.
References m_bIsBasic, m_nTypeClass, m_nWST, and m_sPattern.
Referenced by xforms::OValueLimitedType_Base::initializeClone(), xforms::OBooleanType::initializeClone(), xforms::OStringType::initializeClone(), xforms::OAnyURIType::initializeClone(), xforms::ODecimalType::initializeClone(), xforms::ODateType::initializeClone(), xforms::OTimeType::initializeClone(), xforms::ODateTimeType::initializeClone(), and xforms::OShortIntegerType::initializeClone().
|
privatedelete |
References DECLARE_XINTERFACE.
|
protectedvirtual |
Reimplemented in xforms::OValueLimitedType< VALUE_TYPE >, xforms::OValueLimitedType< VALUE_TYPE >, xforms::OValueLimitedType< VALUE_TYPE >, xforms::OValueLimitedType< VALUE_TYPE >, xforms::OValueLimitedType< VALUE_TYPE >, xforms::OValueLimitedType< VALUE_TYPE >, xforms::OStringType, xforms::OAnyURIType, and xforms::ODecimalType.
Definition at line 74 of file datatypes.cxx.
References BOUND, m_bIsBasic, m_nTypeClass, m_nWST, m_sName, m_sPattern, PROPERTY_ID_NAME, PROPERTY_ID_XSD_IS_BASIC, PROPERTY_ID_XSD_PATTERN, PROPERTY_ID_XSD_TYPE_CLASS, PROPERTY_ID_XSD_WHITESPACE, PROPERTY_NAME, PROPERTY_XSD_IS_BASIC, PROPERTY_XSD_PATTERN, PROPERTY_XSD_TYPE_CLASS, PROPERTY_XSD_WHITESPACE, READONLY, and comphelper::OPropertyContainerHelper::registerProperty().
Referenced by xforms::OValueLimitedType< VALUE_TYPE >::registerProperties(), xforms::OStringType::registerProperties(), xforms::OAnyURIType::registerProperties(), and xforms::ODecimalType::registerProperties().
|
overridevirtual |
Definition at line 302 of file datatypes.cxx.
|
overridevirtual |
Definition at line 314 of file datatypes.cxx.
|
overrideprotectedvirtual |
Reimplemented from comphelper::OPropertyContainer.
Reimplemented in xforms::OValueLimitedType_Base.
Definition at line 256 of file datatypes.cxx.
References m_bPatternMatcherDirty, PROPERTY_ID_XSD_PATTERN, and comphelper::OPropertyContainer::setFastPropertyValue_NoBroadcast().
Referenced by xforms::OValueLimitedType_Base::setFastPropertyValue_NoBroadcast().
|
overridevirtual |
Definition at line 113 of file datatypes.cxx.
References aName, Any, m_sName, PROPERTY_ID_NAME, SAL_WARN_IF, and comphelper::OPropertyContainer::setFastPropertyValue().
|
overridevirtual |
Definition at line 127 of file datatypes.cxx.
References Any, m_sPattern, PROPERTY_ID_XSD_PATTERN, SAL_WARN_IF, and comphelper::OPropertyContainer::setFastPropertyValue().
|
overridevirtual |
Definition at line 284 of file datatypes.cxx.
|
overridevirtual |
Definition at line 140 of file datatypes.cxx.
References Any, m_nWST, PROPERTY_ID_XSD_WHITESPACE, SAL_WARN_IF, and comphelper::OPropertyContainer::setFastPropertyValue().
|
overridevirtual |
Definition at line 159 of file datatypes.cxx.
References _validate().
|
private |
Definition at line 59 of file datatypes.hxx.
Referenced by getIsBasic(), initializeClone(), and registerProperties().
|
private |
Definition at line 68 of file datatypes.hxx.
Referenced by _validate(), and setFastPropertyValue_NoBroadcast().
|
private |
Definition at line 60 of file datatypes.hxx.
Referenced by getTypeClass(), initializeClone(), and registerProperties().
|
private |
Definition at line 63 of file datatypes.hxx.
Referenced by getWhiteSpaceTreatment(), initializeClone(), registerProperties(), and setWhiteSpaceTreatment().
|
private |
Definition at line 67 of file datatypes.hxx.
Referenced by _validate().
|
private |
Definition at line 61 of file datatypes.hxx.
Referenced by registerProperties(), and setName().
|
private |
Definition at line 62 of file datatypes.hxx.
Referenced by _explainInvalid(), _validate(), getPattern(), initializeClone(), registerProperties(), and setPattern().