22#include <rtl/ustrbuf.hxx>
23#include <com/sun/star/uno/Any.hxx>
40 const OUString& rStrImpValue,
47 if( rStrImpValue.indexOf(
'%' ) != -1 )
64 OUString& rStrExpValue,
81 rStrExpValue = aOut.makeStringAndClear();
the SvXMLTypeConverter converts values of various types from their internal representation to the tex...
bool convertMeasureToCore(sal_Int32 &rValue, std::u16string_view rString, sal_Int32 nMin=SAL_MIN_INT32, sal_Int32 nMax=SAL_MAX_INT32) const
convert string to measure with meCoreMeasureUnit, using optional min and max values
void convertMeasureToXML(OUStringBuffer &rBuffer, sal_Int32 nMeasure) const
convert measure to string: from meCoreMeasureUnit to meXMLMeasureUnit
virtual ~XMLFillBitmapSizePropertyHandler() override
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.
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.
XMLFillBitmapSizePropertyHandler()
static bool convertPercent(sal_Int32 &rValue, std::u16string_view rString)