|
LibreOffice Module sax (master) 1
|
#include <sax/fastparser.hxx>#include <sax/fastattribs.hxx>#include <utility>#include <xml2utf.hxx>#include <com/sun/star/io/XSeekable.hpp>#include <com/sun/star/lang/DisposedException.hpp>#include <com/sun/star/lang/IllegalArgumentException.hpp>#include <com/sun/star/uno/XComponentContext.hpp>#include <com/sun/star/xml/sax/FastToken.hpp>#include <com/sun/star/xml/sax/SAXParseException.hpp>#include <com/sun/star/xml/sax/XFastContextHandler.hpp>#include <cppuhelper/implbase.hxx>#include <cppuhelper/supportsservice.hxx>#include <cppuhelper/exc_hlp.hxx>#include <osl/conditn.hxx>#include <rtl/ref.hxx>#include <rtl/ustrbuf.hxx>#include <sal/log.hxx>#include <salhelper/thread.hxx>#include <comphelper/diagnose_ex.hxx>#include <o3tl/string_view.hxx>#include <queue>#include <memory>#include <mutex>#include <optional>#include <stack>#include <string_view>#include <unordered_map>#include <vector>#include <cassert>#include <cstring>#include <libxml/parser.h>Go to the source code of this file.
Classes | |
| class | sax_fastparser::FastSaxParserImpl |
Namespaces | |
| namespace | sax_fastparser |
Macros | |
| #define | XML_CAST(str) reinterpret_cast< const char* >( str ) |
Functions | |
| static void | NormalizeURI (OUString &rName) |
| SAL_DLLPUBLIC_EXPORT css::uno::XInterface * | com_sun_star_comp_extensions_xml_sax_FastParser_get_implementation (css::uno::XComponentContext *, css::uno::Sequence< css::uno::Any > const &) |
| static bool | NormalizeW3URI (OUString &rName) |
| static bool | NormalizeOasisURN (OUString &rName) |
| constexpr OUStringLiteral | XML_URI_W3_PREFIX (u"http://www.w3.org/") |
| constexpr OUStringLiteral | XML_URI_XFORMS_SUFFIX (u"/xforms") |
| constexpr OUStringLiteral | XML_N_XFORMS_1_0 (u"http://www.w3.org/2002/xforms") |
| constexpr OUStringLiteral | XML_N_SVG (u"http://www.w3.org/2000/svg") |
| constexpr OUStringLiteral | XML_N_SVG_COMPAT (u"urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0") |
| constexpr OUStringLiteral | XML_N_FO (u"http://www.w3.org/1999/XSL/Format") |
| constexpr OUStringLiteral | XML_N_FO_COMPAT (u"urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0") |
| constexpr OUStringLiteral | XML_N_SMIL (u"http://www.w3.org/2001/SMIL20/") |
| constexpr OUStringLiteral | XML_N_SMIL_OLD (u"http://www.w3.org/2001/SMIL20") |
| constexpr OUStringLiteral | XML_N_SMIL_COMPAT (u"urn:oasis:names:tc:opendocument:xmlns:smil-compatible:1.0") |
| constexpr OUStringLiteral | XML_URN_OASIS_NAMES_TC (u"urn:oasis:names:tc") |
| constexpr OUStringLiteral | XML_XMLNS (u"xmlns") |
| constexpr OUStringLiteral | XML_OPENDOCUMENT (u"opendocument") |
| constexpr OUStringLiteral | XML_1_0 (u"1.0") |
| #define XML_CAST | ( | str | ) | reinterpret_cast< const char* >( str ) |
Definition at line 56 of file fastparser.cxx.
| SAL_DLLPUBLIC_EXPORT css::uno::XInterface * com_sun_star_comp_extensions_xml_sax_FastParser_get_implementation | ( | css::uno::XComponentContext * | , |
| css::uno::Sequence< css::uno::Any > const & | |||
| ) |
Definition at line 1536 of file fastparser.cxx.
|
static |
Definition at line 1597 of file fastparser.cxx.
References nPos, o3tl::starts_with(), XML_1_0(), XML_N_FO(), XML_N_FO_COMPAT(), XML_N_SMIL(), XML_N_SMIL_COMPAT(), XML_N_SMIL_OLD(), XML_N_SVG(), XML_N_SVG_COMPAT(), XML_OPENDOCUMENT(), XML_URN_OASIS_NAMES_TC(), and XML_XMLNS().
Referenced by NormalizeURI().
|
static |
Definition at line 1550 of file fastparser.cxx.
References NormalizeOasisURN(), and NormalizeW3URI().
Referenced by sax_fastparser::FastSaxParserImpl::callbackStartElement().
|
static |
Definition at line 1573 of file fastparser.cxx.
References XML_N_XFORMS_1_0(), XML_URI_W3_PREFIX(), and XML_URI_XFORMS_SUFFIX().
Referenced by NormalizeURI().
|
constexpr |
Referenced by NormalizeOasisURN().
|
constexpr |
Referenced by NormalizeOasisURN().
|
constexpr |
Referenced by NormalizeOasisURN().
|
constexpr |
Referenced by NormalizeOasisURN().
|
constexpr |
Referenced by NormalizeOasisURN().
|
constexpr |
Referenced by NormalizeOasisURN().
|
constexpr |
Referenced by NormalizeOasisURN().
|
constexpr |
Referenced by NormalizeOasisURN().
|
constexpr |
Referenced by NormalizeW3URI().
|
constexpr |
Referenced by NormalizeOasisURN().
|
constexpr |
Referenced by NormalizeW3URI().
|
constexpr |
Referenced by NormalizeW3URI().
|
constexpr |
Referenced by NormalizeOasisURN().
|
constexpr |
Referenced by NormalizeOasisURN().
|
private |
Definition at line 766 of file fastparser.cxx.
|
private |
Definition at line 765 of file fastparser.cxx.
|
private |
Definition at line 767 of file fastparser.cxx.