LibreOffice Module xmloff (master) 1
|
#include <sal/config.h>
#include <string_view>
#include <utility>
#include <xmloff/xmluconv.hxx>
#include <com/sun/star/util/DateTime.hpp>
#include <com/sun/star/util/Date.hpp>
#include <rtl/ustrbuf.hxx>
#include <osl/diagnose.h>
#include <sal/log.hxx>
#include <xmloff/xmlement.hxx>
#include <xmloff/xmltoken.hxx>
#include <rtl/math.hxx>
#include <tools/date.hxx>
#include <tools/time.hxx>
#include <tools/fldunit.hxx>
#include <com/sun/star/drawing/Position3D.hpp>
#include <com/sun/star/frame/XModel.hpp>
#include <com/sun/star/util/XNumberFormatsSupplier.hpp>
#include <com/sun/star/style/NumberingType.hpp>
#include <com/sun/star/text/DefaultNumberingProvider.hpp>
#include <com/sun/star/text/XDefaultNumberingProvider.hpp>
#include <com/sun/star/text/XNumberingTypeInfo.hpp>
#include <com/sun/star/i18n/CharacterClassification.hpp>
#include <com/sun/star/i18n/UnicodeType.hpp>
#include <basegfx/vector/b3dvector.hxx>
#include <sax/tools/converter.hxx>
#include <comphelper/sequence.hxx>
Go to the source code of this file.
Classes | |
struct | SvXMLUnitConverter::Impl |
Functions | |
static int | lcl_gethex (int nChar) |
template<typename V > | |
static bool | lcl_convertDateTime (double &fDateTime, V rString, const css::util::Date &aTempNullDate) |
convert ISO Date Time String to double More... | |
static bool | lcl_getPositions (std::string_view _sValue, std::string_view &_rContentX, std::string_view &_rContentY, std::string_view &_rContentZ) |
Variables | |
const sal_Int8 | XML_MAXDIGITSCOUNT_TIME = 11 |
constexpr OUStringLiteral | XML_NULLDATE = u"NullDate" |
const char | aHexTab [] = "0123456789abcdef" |
|
static |
convert ISO Date Time String to double
Definition at line 486 of file xmluconv.cxx.
References tools::Time::hourPerDay, Min, tools::Time::minutePerDay, tools::Time::nanoSecPerDay, sax::Converter::parseDateTime(), and tools::Time::secondPerDay.
Referenced by SvXMLUnitConverter::convertDateTime().
Definition at line 319 of file xmluconv.cxx.
Referenced by SvXMLUnitConverter::convertHex().
|
static |
Definition at line 555 of file xmluconv.cxx.
References nPos.
Referenced by SvXMLUnitConverter::convertB3DVector().
const char aHexTab[] = "0123456789abcdef" |
Definition at line 331 of file xmluconv.cxx.
Referenced by SvXMLUnitConverter::convertHex(), SvXMLUnitConverter::encodeStyleName(), and XMLTransformerBase::EncodeStyleName().
const sal_Int8 XML_MAXDIGITSCOUNT_TIME = 11 |
Definition at line 64 of file xmluconv.cxx.
Referenced by SvXMLUnitConverter::convertDateTime().
|
constexpr |
Definition at line 65 of file xmluconv.cxx.
Referenced by SvXMLUnitConverter::setNullDate().