LibreOffice Module xmloff (master)  1
Typedefs | Functions | Variables
SchemaRestrictionContext.cxx File Reference
#include "SchemaRestrictionContext.hxx"
#include "xformsapi.hxx"
#include <xmloff/xmltoken.hxx>
#include <xmloff/namespacemap.hxx>
#include <xmloff/xmlnamespace.hxx>
#include <xmloff/xmltkmap.hxx>
#include <xmloff/xmlimp.hxx>
#include <sax/tools/converter.hxx>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/util/Date.hpp>
#include <com/sun/star/util/Time.hpp>
#include <com/sun/star/util/DateTime.hpp>
#include <com/sun/star/util/Duration.hpp>
#include <com/sun/star/xforms/XDataTypeRepository.hpp>
#include <com/sun/star/xsd/DataTypeClass.hpp>
#include <com/sun/star/xsd/WhiteSpaceTreatment.hpp>
#include <sal/log.hxx>
#include <tools/diagnose_ex.h>
Include dependency graph for SchemaRestrictionContext.cxx:

Go to the source code of this file.

Typedefs

typedef Any(* convert_t) (const OUString &)
 

Functions

static Any xforms_string (const OUString &rValue)
 
static Any xforms_int32 (const OUString &rValue)
 
static Any xforms_int16 (const OUString &rValue)
 
static Any xforms_whitespace (const OUString &rValue)
 
static Any xforms_double (const OUString &rValue)
 
static Any xforms_date (const OUString &rValue)
 
static Any xforms_dateTime (const OUString &rValue)
 
static Any xforms_time (const OUString &rValue)
 

Variables

const SvXMLTokenMapEntry aAttributes []
 
const SvXMLTokenMapEntry aChildren []
 

Typedef Documentation

typedef Any(* convert_t) (const OUString &)

Definition at line 129 of file SchemaRestrictionContext.cxx.

Function Documentation

static Any xforms_date ( const OUString &  rValue)
static

Definition at line 169 of file SchemaRestrictionContext.cxx.

References Any.

Referenced by SchemaRestrictionContext::HandleChild().

static Any xforms_dateTime ( const OUString &  rValue)
static
static Any xforms_double ( const OUString &  rValue)
static
static Any xforms_int16 ( const OUString &  rValue)
static
static Any xforms_int32 ( const OUString &  rValue)
static
static Any xforms_string ( const OUString &  rValue)
static

Definition at line 131 of file SchemaRestrictionContext.cxx.

References Any, and makeAny().

Referenced by SchemaRestrictionContext::HandleChild().

static Any xforms_time ( const OUString &  rValue)
static
static Any xforms_whitespace ( const OUString &  rValue)
static

Variable Documentation

const SvXMLTokenMapEntry aAttributes[]
Initial value:
=
{
TOKEN_MAP_ENTRY( NONE, BASE ),
}
#define XML_TOKEN_MAP_END
Definition: xmltkmap.hxx:33
#define TOKEN_MAP_ENTRY(NAMESPACE, TOKEN)

Definition at line 56 of file SchemaRestrictionContext.cxx.

const SvXMLTokenMapEntry aChildren[]
Initial value:
=
{
TOKEN_MAP_ENTRY( XSD, LENGTH ),
TOKEN_MAP_ENTRY( XSD, MINLENGTH ),
TOKEN_MAP_ENTRY( XSD, MAXLENGTH ),
TOKEN_MAP_ENTRY( XSD, MININCLUSIVE ),
TOKEN_MAP_ENTRY( XSD, MINEXCLUSIVE ),
TOKEN_MAP_ENTRY( XSD, MAXINCLUSIVE ),
TOKEN_MAP_ENTRY( XSD, MAXEXCLUSIVE ),
TOKEN_MAP_ENTRY( XSD, PATTERN ),
TOKEN_MAP_ENTRY( XSD, WHITESPACE ),
TOKEN_MAP_ENTRY( XSD, TOTALDIGITS ),
TOKEN_MAP_ENTRY( XSD, FRACTIONDIGITS ),
}
#define XML_TOKEN_MAP_END
Definition: xmltkmap.hxx:33
#define TOKEN_MAP_ENTRY(NAMESPACE, TOKEN)

Definition at line 62 of file SchemaRestrictionContext.cxx.