LibreOffice Module oox (master)  1
Static Public Member Functions | List of all members
oox::AttributeConversion Class Reference

Static helpers for conversion of strings to attribute values of various different data types. More...

#include <attributelist.hxx>

Static Public Member Functions

static sal_Int32 decodeToken (std::u16string_view rValue)
 Returns the XML token identifier from the passed string. More...
 
static OUString decodeXString (const OUString &rValue)
 Returns the decoded string value. More...
 
static sal_Int32 decodeInteger (const OUString &rValue)
 Returns the 32-bit signed integer value from the passed string (decimal). More...
 
static sal_uInt32 decodeUnsigned (const OUString &rValue)
 Returns the 32-bit unsigned integer value from the passed string (decimal). More...
 
static sal_Int64 decodeHyper (const OUString &rValue)
 Returns the 64-bit signed integer value from the passed string (decimal). More...
 
static sal_Int32 decodeIntegerHex (const OUString &rValue)
 Returns the 32-bit signed integer value from the passed string (hexadecimal). More...
 

Detailed Description

Static helpers for conversion of strings to attribute values of various different data types.

Definition at line 52 of file attributelist.hxx.

Member Function Documentation

sal_Int64 oox::AttributeConversion::decodeHyper ( const OUString &  rValue)
static

Returns the 64-bit signed integer value from the passed string (decimal).

Definition at line 117 of file attributelist.cxx.

Referenced by oox::AttributeList::getHyper().

sal_Int32 oox::AttributeConversion::decodeInteger ( const OUString &  rValue)
static
sal_Int32 oox::AttributeConversion::decodeIntegerHex ( const OUString &  rValue)
static

Returns the 32-bit signed integer value from the passed string (hexadecimal).

Definition at line 122 of file attributelist.cxx.

Referenced by oox::AttributeList::getIntegerHex().

sal_Int32 oox::AttributeConversion::decodeToken ( std::u16string_view  rValue)
static
sal_uInt32 oox::AttributeConversion::decodeUnsigned ( const OUString &  rValue)
static
OUString oox::AttributeConversion::decodeXString ( const OUString &  rValue)
static

Returns the decoded string value.

All characters in the format 'xHHHH' (H being a hexadecimal digit), will be decoded.

Definition at line 94 of file attributelist.cxx.

References aBuffer.

Referenced by oox::docprop::OOXMLDocPropHandler::characters(), and oox::AttributeList::getXString().


The documentation for this class was generated from the following files: