LibreOffice Module xmloff (master) 1
Classes | Functions | Variables
xmluconv.cxx File Reference
#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>
Include dependency graph for xmluconv.cxx:

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"
 

Function Documentation

◆ lcl_convertDateTime()

template<typename V >
static bool lcl_convertDateTime ( double &  fDateTime,
rString,
const css::util::Date aTempNullDate 
)
static

◆ lcl_gethex()

static int lcl_gethex ( int  nChar)
static

Definition at line 319 of file xmluconv.cxx.

Referenced by SvXMLUnitConverter::convertHex().

◆ lcl_getPositions()

static bool lcl_getPositions ( std::string_view  _sValue,
std::string_view &  _rContentX,
std::string_view &  _rContentY,
std::string_view &  _rContentZ 
)
static

Definition at line 555 of file xmluconv.cxx.

References nPos.

Referenced by SvXMLUnitConverter::convertB3DVector().

Variable Documentation

◆ aHexTab

const char aHexTab[] = "0123456789abcdef"

◆ XML_MAXDIGITSCOUNT_TIME

const sal_Int8 XML_MAXDIGITSCOUNT_TIME = 11

Definition at line 64 of file xmluconv.cxx.

Referenced by SvXMLUnitConverter::convertDateTime().

◆ XML_NULLDATE

constexpr OUStringLiteral XML_NULLDATE = u"NullDate"
constexpr

Definition at line 65 of file xmluconv.cxx.

Referenced by SvXMLUnitConverter::setNullDate().