LibreOffice Module xmloff (master) 1
|
Abstract base-class for different XML-types. More...
#include <XMLConstantsPropertyHandler.hxx>
Public Member Functions | |
template<typename EnumT > | |
XMLConstantsPropertyHandler (const SvXMLEnumMapEntry< EnumT > *pM, enum ::xmloff::token::XMLTokenEnum eDflt) | |
virtual | ~XMLConstantsPropertyHandler () override |
virtual bool | importXML (const OUString &rStrImpValue, css::uno::Any &rValue, const SvXMLUnitConverter &rUnitConverter) const override |
Imports the given value in case of the given XML-data-type. More... | |
virtual bool | exportXML (OUString &rStrExpValue, const css::uno::Any &rValue, const SvXMLUnitConverter &rUnitConverter) const override |
Exports the given value in case of the given XML-data-type. More... | |
Public Member Functions inherited from XMLPropertyHandler | |
virtual | ~XMLPropertyHandler () |
virtual bool | equals (const css::uno::Any &r1, const css::uno::Any &r2) const |
Compares two Any's in case of the given XML-data-type. More... | |
virtual bool | importXML (const OUString &rStrImpValue, css::uno::Any &rValue, const SvXMLUnitConverter &rUnitConverter) const =0 |
Imports the given value according to the XML-data-type corresponding to the derived class. More... | |
virtual bool | exportXML (OUString &rStrExpValue, const css::uno::Any &rValue, const SvXMLUnitConverter &rUnitConverter) const =0 |
Exports the given value according to the XML-data-type corresponding to the derived class. More... | |
Private Attributes | |
const SvXMLEnumMapEntry< sal_uInt16 > * | m_pMap |
enum ::xmloff::token::XMLTokenEnum | m_eDefault |
Abstract base-class for different XML-types.
Derivations of this class knows how to compare, im/export a special XML-type
Definition at line 35 of file XMLConstantsPropertyHandler.hxx.
|
inline |
Definition at line 42 of file XMLConstantsPropertyHandler.hxx.
|
overridevirtual |
Definition at line 28 of file XMLConstantsPropertyHandler.cxx.
|
overridevirtual |
Exports the given value in case of the given XML-data-type.
Implements XMLPropertyHandler.
Definition at line 47 of file XMLConstantsPropertyHandler.cxx.
References SvXMLUnitConverter::convertEnum(), m_eDefault, and m_pMap.
|
overridevirtual |
Imports the given value in case of the given XML-data-type.
Implements XMLPropertyHandler.
Definition at line 32 of file XMLConstantsPropertyHandler.cxx.
References SvXMLUnitConverter::convertEnum(), and m_pMap.
|
private |
Definition at line 38 of file XMLConstantsPropertyHandler.hxx.
Referenced by exportXML().
|
private |
Definition at line 37 of file XMLConstantsPropertyHandler.hxx.
Referenced by exportXML(), and importXML().