21#include <rtl/ustrbuf.hxx>
22#include <com/sun/star/uno/Any.hxx>
24#include <com/sun/star/awt/Rectangle.hpp>
42 const OUString& rStrImpValue,
46 awt::Rectangle aRect( 0, 0, 0, 0 );
47 if( rValue.hasValue() )
78 OUString& rStrExpValue,
82 awt::Rectangle aRect( 0, 0, 0, 0 );
106 OUStringBuffer sBuffer;
108 rStrExpValue = sBuffer.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 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.
virtual ~XMLRectangleMembersHdl() override
XMLRectangleMembersHdl(sal_Int32 nType)
#define XML_TYPE_RECTANGLE_LEFT
#define XML_TYPE_RECTANGLE_HEIGHT
#define XML_TYPE_RECTANGLE_TOP
#define XML_TYPE_RECTANGLE_WIDTH