LibreOffice Module xmlsecurity (master) 1
Functions
saxhelper.cxx File Reference
#include <sal/config.h>
#include <string_view>
#include <rtl/ustring.hxx>
#include <xmlsec/saxhelper.hxx>
#include <libxml/parserInternals.h>
#include <com/sun/star/xml/csax/XMLAttribute.hpp>
#include <com/sun/star/uno/Sequence.hxx>
#include "libxslt/xslt.h"
Include dependency graph for saxhelper.cxx:

Go to the source code of this file.

Functions

static xmlChar * ous_to_xmlstr (std::u16string_view oustr)
 The return value is NULL terminated. More...
 
static xmlChar * ous_to_nxmlstr (std::u16string_view oustr, int &length)
 The return value is NULL terminated. More...
 
static const xmlChar ** attrlist_to_nxmlstr (const css::uno::Sequence< css::xml::csax::XMLAttribute > &aAttributes)
 The return value and the referenced value must be NULL terminated. More...
 

Function Documentation

◆ attrlist_to_nxmlstr()

static const xmlChar ** attrlist_to_nxmlstr ( const css::uno::Sequence< css::xml::csax::XMLAttribute > &  aAttributes)
static

The return value and the referenced value must be NULL terminated.

The application has the responsibility to deallocate the return value.

Definition at line 62 of file saxhelper.cxx.

References i, nLength, and ous_to_xmlstr().

Referenced by SAXHelper::startElement().

◆ ous_to_nxmlstr()

static xmlChar * ous_to_nxmlstr ( std::u16string_view  oustr,
int length 
)
static

The return value is NULL terminated.

The application has the responsibility to deallocate the return value.

Definition at line 50 of file saxhelper.cxx.

References length, and OUStringToOString().

Referenced by SAXHelper::characters(), and SAXHelper::ignorableWhitespace().

◆ ous_to_xmlstr()

static xmlChar * ous_to_xmlstr ( std::u16string_view  oustr)
static

The return value is NULL terminated.

The application has the responsibility to deallocate the return value.

Definition at line 40 of file saxhelper.cxx.

References OUStringToOString().

Referenced by attrlist_to_nxmlstr(), SAXHelper::endElement(), SAXHelper::processingInstruction(), and SAXHelper::startElement().