20 #ifndef INCLUDED_XMLOFF_SOURCE_FORMS_FORMATTRIBUTES_HXX
21 #define INCLUDED_XMLOFF_SOURCE_FORMS_FORMATTRIBUTES_HXX
27 #include <com/sun/star/uno/Type.hxx>
28 #include <rtl/ustring.hxx>
34 template<
typename EnumT>
344 sal_Int32 nAttributeToken,
const OUString& _rPropertyName);
359 sal_Int32 nAttributeToken,
const OUString& _rPropertyName,
360 const bool _bAttributeDefault,
const bool _bInverseSemantics =
false);
370 sal_Int32 nAttributeToken,
const OUString& _rPropertyName);
380 sal_Int32 nAttributeToken,
const OUString& _rPropertyName );
393 template<
typename EnumT>
395 sal_Int32 nAttributeToken,
const OUString& _rPropertyName,
397 const css::uno::Type* _pType =
nullptr)
405 sal_Int32 nAttributeToken,
const OUString& _rPropertyName,
407 const css::uno::Type* _pType);
410 sal_Int32 nAttributeToken,
const OUString& _rPropertyName,
411 const css::uno::Type& _rType);
415 #endif // INCLUDED_XMLOFF_SOURCE_FORMS_FORMATTRIBUTES_HXX
const SvXMLEnumMapEntry< sal_uInt16 > * pEnumMap
void addEnumPropertyImpl(sal_Int32 nAttributeToken, const OUString &_rPropertyName, const SvXMLEnumMapEntry< sal_uInt16 > *_pValueMap, const css::uno::Type *_pType)
some kind of opposite to the OAttributeMetaData class.
css::uno::Type aPropertyType
FormAttributes
attributes in the xml tag representing a form
void addBooleanProperty(sal_Int32 nAttributeToken, const OUString &_rPropertyName, const bool _bAttributeDefault, const bool _bInverseSemantics=false)
add an attribute assignment referring to a boolean property to the map
constexpr sal_uInt16 XML_NAMESPACE_FORM
std::map< sal_Int32, AttributeAssignment > m_aKnownProperties
XMLTokenEnum
The enumeration of all XML tokens.
void addInt16Property(sal_Int32 nAttributeToken, const OUString &_rPropertyName)
add an attribute assignment referring to an int16 property to the map
AttributeAssignment & implAdd(sal_Int32 nAttributeToken, const OUString &_rPropertyName, const css::uno::Type &_rType)
some common code for the various add*Property methods
const AttributeAssignment * getAttributeTranslation(sal_Int32 nAttributeToken)
return the AttributeAssignment which corresponds to the given attribute
void addInt32Property(sal_Int32 nAttributeToken, const OUString &_rPropertyName)
add an attribute assignment referring to an int32 property to the map
Map an XMLTokenEnum to an enum value.
void addStringProperty(sal_Int32 nAttributeToken, const OUString &_rPropertyName)
add an attribute assignment referring to a string property to the map
void addEnumProperty(sal_Int32 nAttributeToken, const OUString &_rPropertyName, const SvXMLEnumMapEntry< EnumT > *_pValueMap, const css::uno::Type *_pType=nullptr)
add an attribute assignment referring to an enum property to the map