22#include <com/sun/star/form/FormComponentType.hpp>
33 OUString & _rpCurrentValuePropertyName, OUString & _rpValuePropertyName)
36 _rpCurrentValuePropertyName = _rpValuePropertyName = OUString();
37 switch (_nFormComponentType)
39 case FormComponentType::TEXTFIELD:
54 case FormComponentType::NUMERICFIELD:
55 case FormComponentType::CURRENCYFIELD:
60 case FormComponentType::PATTERNFIELD:
61 case FormComponentType::FILECONTROL:
62 case FormComponentType::COMBOBOX:
65 case FormComponentType::COMMANDBUTTON:
69 case FormComponentType::CHECKBOX:
70 case FormComponentType::RADIOBUTTON:
74 case FormComponentType::HIDDENCONTROL:
78 case FormComponentType::SCROLLBAR:
83 case FormComponentType::SPINBUTTON:
89 SAL_WARN(
"xmloff",
"OValuePropertiesMetaData::getValuePropertyNames: unsupported component type!" );
95 OUString & _rpMinValuePropertyName, OUString & _rpMaxValuePropertyName)
97 _rpMinValuePropertyName = _rpMaxValuePropertyName = OUString();
98 switch (_nFormComponentType)
100 case FormComponentType::NUMERICFIELD:
101 case FormComponentType::CURRENCYFIELD:
106 case FormComponentType::TEXTFIELD:
111 case FormComponentType::SCROLLBAR:
116 case FormComponentType::SPINBUTTON:
122 SAL_WARN(
"xmloff",
"OValuePropertiesMetaData::getValueLimitPropertyNames: unsupported component type!" );
129 OUString & _rpValuePropertyName, OUString & _rpDefaultValuePropertyName )
132 _rpValuePropertyName = _rpDefaultValuePropertyName = OUString();
133 switch (_nFormComponentType)
135 case FormComponentType::TEXTFIELD:
148 case FormComponentType::DATEFIELD:
153 case FormComponentType::TIMEFIELD:
158 case FormComponentType::NUMERICFIELD:
159 case FormComponentType::CURRENCYFIELD:
160 case FormComponentType::PATTERNFIELD:
161 case FormComponentType::FILECONTROL:
162 case FormComponentType::COMBOBOX:
163 case FormComponentType::SCROLLBAR:
164 case FormComponentType::SPINBUTTON:
167 getValuePropertyNames( _eType, _nFormComponentType, _rpValuePropertyName, _rpDefaultValuePropertyName );
170 case FormComponentType::CHECKBOX:
171 case FormComponentType::RADIOBUTTON:
#define SAL_WARN(area, stream)
constexpr OUStringLiteral PROPERTY_SPINVALUE_MAX
constexpr OUStringLiteral PROPERTY_DATE
constexpr OUStringLiteral PROPERTY_TIME
constexpr OUStringLiteral PROPERTY_DEFAULT_STATE
constexpr OUStringLiteral PROPERTY_DEFAULT_TIME
constexpr OUStringLiteral PROPERTY_EFFECTIVE_MIN
constexpr OUStringLiteral PROPERTY_SCROLLVALUE_MIN
constexpr OUStringLiteral PROPERTY_DEFAULT_TEXT
constexpr OUStringLiteral PROPERTY_DEFAULT_VALUE
constexpr OUStringLiteral PROPERTY_HIDDEN_VALUE
constexpr OUStringLiteral PROPERTY_DEFAULT_SPINVALUE
constexpr OUStringLiteral PROPERTY_SPINVALUE_MIN
constexpr OUStringLiteral PROPERTY_STATE
constexpr OUStringLiteral PROPERTY_SCROLLVALUE_DEFAULT
constexpr OUStringLiteral PROPERTY_VALUE
constexpr OUStringLiteral PROPERTY_REFVALUE
constexpr OUStringLiteral PROPERTY_EFFECTIVE_DEFAULT
constexpr OUStringLiteral PROPERTY_VALUE_MIN
constexpr OUStringLiteral PROPERTY_VALUE_MAX
constexpr OUStringLiteral PROPERTY_EFFECTIVE_MAX
constexpr OUStringLiteral PROPERTY_TEXT
constexpr OUStringLiteral PROPERTY_SPINVALUE
constexpr OUStringLiteral PROPERTY_EFFECTIVE_VALUE
constexpr OUStringLiteral PROPERTY_DEFAULT_DATE
constexpr OUStringLiteral PROPERTY_SCROLLVALUE
constexpr OUStringLiteral PROPERTY_SCROLLVALUE_MAX