26#include <rtl/ustrbuf.hxx>
27#include <com/sun/star/uno/Any.hxx>
46 std::u16string_view aToken;
64 nVal =
static_cast<sal_Int16
>(nNewEsc);
92 rStrExpValue = aOut.makeStringAndClear();
93 return !rStrExpValue.isEmpty();
111 std::u16string_view aToken;
121 nProp =
static_cast<sal_Int8>(nNewProp);
125 sal_Int32 nEscapementPosition=0;
127 && (nEscapementPosition == 0))
141 OUStringBuffer aOut( rStrExpValue );
146 if( !rStrExpValue.isEmpty() )
152 rStrExpValue = aOut.makeStringAndClear();
153 return !rStrExpValue.isEmpty();
bool getNextToken(std::u16string_view &rToken)
the SvXMLTypeConverter converts values of various types from their internal representation to the tex...
virtual ~XMLEscapementHeightPropHdl() override
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 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.
virtual ~XMLEscapementPropHdl() 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.
static bool convertPercent(sal_Int32 &rValue, std::u16string_view rString)
#define DFLT_ESC_AUTO_SUB
#define DFLT_ESC_AUTO_SUPER
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