20 #ifndef INCLUDED_OOX_EXPORT_UTILS_HXX
21 #define INCLUDED_OOX_EXPORT_UTILS_HXX
26 #include <rtl/string.hxx>
33 OString
aStr = OString::number(x, 16);
34 while (aStr.getLength() < 6)
43 static constexpr
const char*
ToPsz(
bool b)
45 return b ?
"true" :
"false";
51 static constexpr
const char*
ToPsz10(
bool b)
58 static constexpr sal_Int64
PPTtoEMU( sal_Int32 nPPT )
63 static constexpr sal_Int64
TwipsToEMU( sal_Int32 nTwips )
71 return OString::number( lround(number * 1000.0) );
constexpr Point convert(const Point &rPoint, o3tl::Length eFrom, o3tl::Length eTo)
static constexpr sal_Int64 TwipsToEMU(sal_Int32 nTwips)
static constexpr const char * ToPsz10(bool b)
static constexpr const char * ToPsz(bool b)
OString I32SHEX(sal_Int32 x)
OString write1000thOfAPercent(T number)
static constexpr sal_Int64 PPTtoEMU(sal_Int32 nPPT)