LibreOffice Module ucb (master)  1
Macros | Functions | Variables
neon/UCBDeadPropertyValue.cxx File Reference
#include <config_lgpl.h>
#include <string.h>
#include <ne_xml.h>
#include <rtl/ustrbuf.hxx>
#include <sal/log.hxx>
#include "UCBDeadPropertyValue.hxx"
#include <memory>
Include dependency graph for neon/UCBDeadPropertyValue.cxx:

Go to the source code of this file.

Macros

#define STATE_TOP   (1)
 
#define STATE_UCBPROP   (STATE_TOP)
 
#define STATE_TYPE   (STATE_TOP + 1)
 
#define STATE_VALUE   (STATE_TOP + 2)
 

Functions

static int UCBDeadPropertyValue_startelement_callback (void *, int parent, const char *, const char *name, const char **)
 
static int UCBDeadPropertyValue_chardata_callback (void *userdata, int state, const char *buf, size_t len)
 
static int UCBDeadPropertyValue_endelement_callback (void *userdata, int state, const char *, const char *)
 
static OUString encodeValue (const OUString &rValue)
 
static OUString decodeValue (const OUString &rValue)
 

Variables

constexpr OUStringLiteral aTypeString = u"string"
 
constexpr OUStringLiteral aTypeLong = u"long"
 
constexpr OUStringLiteral aTypeShort = u"short"
 
constexpr OUStringLiteral aTypeBoolean = u"boolean"
 
constexpr OUStringLiteral aTypeChar = u"char"
 
constexpr OUStringLiteral aTypeByte = u"byte"
 
constexpr OUStringLiteral aTypeHyper = u"hyper"
 
constexpr OUStringLiteral aTypeFloat = u"float"
 
constexpr OUStringLiteral aTypeDouble = u"double"
 
constexpr OUStringLiteral aXMLPre = u"<ucbprop><type>"
 
constexpr OUStringLiteral aXMLMid = u"</type><value>"
 
constexpr OUStringLiteral aXMLEnd = u"</value></ucbprop>"
 

Macro Definition Documentation

#define STATE_TOP   (1)

Definition at line 67 of file neon/UCBDeadPropertyValue.cxx.

#define STATE_TYPE   (STATE_TOP + 1)
#define STATE_UCBPROP   (STATE_TOP)
#define STATE_VALUE   (STATE_TOP + 2)

Function Documentation

static OUString decodeValue ( const OUString &  rValue)
static

Definition at line 200 of file neon/UCBDeadPropertyValue.cxx.

References nPos, and SAL_WARN.

static OUString encodeValue ( const OUString &  rValue)
static

Definition at line 164 of file neon/UCBDeadPropertyValue.cxx.

References n, and nCount.

static int UCBDeadPropertyValue_chardata_callback ( void userdata,
int  state,
const char *  buf,
size_t  len 
)
static

Definition at line 104 of file neon/UCBDeadPropertyValue.cxx.

References STATE_TYPE, and STATE_VALUE.

static int UCBDeadPropertyValue_endelement_callback ( void userdata,
int  state,
const char *  ,
const char *   
)
static

Definition at line 133 of file neon/UCBDeadPropertyValue.cxx.

References STATE_TYPE, STATE_UCBPROP, and STATE_VALUE.

static int UCBDeadPropertyValue_startelement_callback ( void ,
int  parent,
const char *  ,
const char *  name,
const char **   
)
static

Definition at line 76 of file neon/UCBDeadPropertyValue.cxx.

References STATE_TYPE, STATE_UCBPROP, and STATE_VALUE.

Variable Documentation

constexpr OUStringLiteral aTypeBoolean = u"boolean"

Definition at line 55 of file neon/UCBDeadPropertyValue.cxx.

constexpr OUStringLiteral aTypeByte = u"byte"

Definition at line 57 of file neon/UCBDeadPropertyValue.cxx.

constexpr OUStringLiteral aTypeChar = u"char"

Definition at line 56 of file neon/UCBDeadPropertyValue.cxx.

constexpr OUStringLiteral aTypeDouble = u"double"

Definition at line 60 of file neon/UCBDeadPropertyValue.cxx.

constexpr OUStringLiteral aTypeFloat = u"float"

Definition at line 59 of file neon/UCBDeadPropertyValue.cxx.

constexpr OUStringLiteral aTypeHyper = u"hyper"

Definition at line 58 of file neon/UCBDeadPropertyValue.cxx.

constexpr OUStringLiteral aTypeLong = u"long"

Definition at line 53 of file neon/UCBDeadPropertyValue.cxx.

constexpr OUStringLiteral aTypeShort = u"short"

Definition at line 54 of file neon/UCBDeadPropertyValue.cxx.

constexpr OUStringLiteral aTypeString = u"string"

Definition at line 52 of file neon/UCBDeadPropertyValue.cxx.

constexpr OUStringLiteral aXMLEnd = u"</value></ucbprop>"

Definition at line 64 of file neon/UCBDeadPropertyValue.cxx.

constexpr OUStringLiteral aXMLMid = u"</type><value>"

Definition at line 63 of file neon/UCBDeadPropertyValue.cxx.

constexpr OUStringLiteral aXMLPre = u"<ucbprop><type>"

Definition at line 62 of file neon/UCBDeadPropertyValue.cxx.