LibreOffice Module forms (master) 1
Functions
xmlhelper.cxx File Reference
#include "xmlhelper.hxx"
#include <rtl/ustring.hxx>
#include <com/sun/star/uno/Reference.hxx>
#include <com/sun/star/xml/dom/DocumentBuilder.hpp>
#include <comphelper/processfactory.hxx>
Include dependency graph for xmlhelper.cxx:

Go to the source code of this file.

Functions

static sal_uInt8 lcl_getCharClass (sal_Unicode c)
 
bool isValidQName (const OUString &sName, const Reference< XNameContainer > &)
 
bool isValidPrefixName (const OUString &sName, const Reference< XNameContainer > &)
 
Reference< XDocumentBuilder > getDocumentBuilder ()
 

Function Documentation

◆ getDocumentBuilder()

Reference< XDocumentBuilder > getDocumentBuilder ( )

◆ isValidPrefixName()

bool isValidPrefixName ( const OUString &  sName,
const Reference< XNameContainer > &   
)

Definition at line 110 of file xmlhelper.cxx.

References lcl_getCharClass(), n, nLength, pName, and sName.

Referenced by xforms::Model::isValidPrefixName().

◆ isValidQName()

bool isValidQName ( const OUString &  sName,
const Reference< XNameContainer > &   
)

Definition at line 85 of file xmlhelper.cxx.

References lcl_getCharClass(), n, nLength, pName, and sName.

Referenced by xforms::Binding::bind(), and xforms::Model::isValidXMLName().

◆ lcl_getCharClass()

static sal_uInt8 lcl_getCharClass ( sal_Unicode  c)
static

Definition at line 42 of file xmlhelper.cxx.

Referenced by isValidPrefixName(), and isValidQName().