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)
43static constexpr const char*
ToPsz(
bool b)
45 return b ?
"true" :
"false";
51static constexpr const char*
ToPsz10(
bool b)
58static constexpr sal_Int64
PPTtoEMU( sal_Int32 nPPT )
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 * ToPsz(bool b)
static constexpr const char * ToPsz10(bool b)
OString write1000thOfAPercent(T number)
OString I32SHEX(sal_Int32 x)
static constexpr sal_Int64 PPTtoEMU(sal_Int32 nPPT)