21#include <com/sun/star/uno/Any.hxx>
22#include <com/sun/star/util/Duration.hpp>
23#include <rtl/ustrbuf.hxx>
30 const OUString& rStrImpValue,
41 const sal_Int16 nMS = ((aDuration.Hours * 60 + aDuration.Minutes) * 60
42 + aDuration.Seconds) * 100 + (aDuration.NanoSeconds / (10*1000*1000));
49 OUString& rStrExpValue,
53 sal_Int16 nMS = sal_Int16();
58 Duration aDuration(
false, 0, 0, 0, 0, 0, 0, nMS * 10);
60 rStrExpValue = aOut.makeStringAndClear();
the SvXMLTypeConverter converts values of various types from their internal representation to the tex...
virtual ~XMLDurationMS16PropHdl_Impl() 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.
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.
static void convertDuration(OUStringBuffer &rBuffer, const double fTime)