24#include <rtl/ustrbuf.hxx>
25#include <com/sun/star/style/CaseMap.hpp>
26#include <com/sun/star/uno/Any.hxx>
60 sal_uInt16
nValue = sal_uInt16();
68 rStrExpValue = aOut.makeStringAndClear();
86 rValue <<= sal_Int16(style::CaseMap::SMALLCAPS);
91 rValue <<= sal_Int16(style::CaseMap::NONE);
100 sal_uInt16
nValue = sal_uInt16();
107 case style::CaseMap::NONE:
110 case style::CaseMap::SMALLCAPS:
116 rStrExpValue = aOut.makeStringAndClear();
117 return !rStrExpValue.isEmpty();
the SvXMLTypeConverter converts values of various types from their internal representation to the tex...
static bool convertEnum(EnumT &rEnum, std::u16string_view rValue, const SvXMLEnumMapEntry< EnumT > *pMap)
convert string to enum using given enum map, if the enum is not found in the map, this method will re...
virtual bool exportXML(OUString &rStrExpValue, const css::uno::Any &rValue, const SvXMLUnitConverter &rUnitConverter) const override
Exports the given value according to the XML-data-type corresponding to the derived class.
virtual ~XMLCaseMapPropHdl() override
virtual bool importXML(const OUString &rStrImpValue, css::uno::Any &rValue, const SvXMLUnitConverter &rUnitConverter) const override
Imports the given value according to the XML-data-type corresponding to the derived class.
virtual ~XMLCaseMapVariantHdl() override
virtual bool importXML(const OUString &rStrImpValue, css::uno::Any &rValue, const SvXMLUnitConverter &rUnitConverter) const override
Imports the given value according to the XML-data-type corresponding to the derived class.
virtual bool exportXML(OUString &rStrExpValue, const css::uno::Any &rValue, const SvXMLUnitConverter &rUnitConverter) const override
Exports the given value according to the XML-data-type corresponding to the derived class.
const SvXMLEnumMapEntry< sal_uInt16 > pXML_Casemap_Enum[]
Handling of tokens in XML:
bool IsXMLToken(std::u16string_view rString, enum XMLTokenEnum eToken)
compare eToken to the string
const OUString & GetXMLToken(enum XMLTokenEnum eToken)
return the OUString representation for eToken