LibreOffice Module xmlscript (master) 1
Namespaces | Typedefs | Functions | Variables
xml_impctx.cxx File Reference
#include <sal/config.h>
#include <xml_import.hxx>
#include <cppuhelper/implbase.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <com/sun/star/container/NoSuchElementException.hpp>
#include <com/sun/star/xml/input/XAttributes.hpp>
#include <com/sun/star/lang/XInitialization.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <sal/log.hxx>
#include <memory>
#include <mutex>
#include <optional>
#include <unordered_map>
#include <vector>
Include dependency graph for xml_impctx.cxx:

Go to the source code of this file.

Namespaces

namespace  xmlscript
 

Typedefs

typedef std::unordered_map< OUString, sal_Int32 > xmlscript::t_OUString2LongMap
 
typedef std::unordered_map< OUString, std::unique_ptr< PrefixEntry > > xmlscript::t_OUString2PrefixMap
 

Functions

constexpr OUStringLiteral xmlscript::g_sXMLNS_PREFIX_UNKNOWN (u"<<< unknown prefix >>>")
 
constexpr OUStringLiteral xmlscript::g_sXMLNS (u"xmlns")
 
Reference< xml::sax::XDocumentHandler > xmlscript::createDocumentHandler (Reference< xml::input::XRoot > const &xRoot)
 
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * com_sun_star_comp_xml_input_SaxDocumentHandler_get_implementation (css::uno::XComponentContext *, css::uno::Sequence< css::uno::Any > const &)
 

Variables

const sal_Int32 xmlscript::UID_UNKNOWN = -1
 

Function Documentation

◆ com_sun_star_comp_xml_input_SaxDocumentHandler_get_implementation()

SAL_DLLPUBLIC_EXPORT css::uno::XInterface * com_sun_star_comp_xml_input_SaxDocumentHandler_get_implementation ( css::uno::XComponentContext *  ,
css::uno::Sequence< css::uno::Any > const &   
)

Definition at line 713 of file xml_impctx.cxx.

Variable Documentation

◆ m_aLastPrefix_lookup

OUString m_aLastPrefix_lookup
private

Definition at line 107 of file xml_impctx.cxx.

◆ m_aLastURI_lookup

OUString m_aLastURI_lookup
private

Definition at line 103 of file xml_impctx.cxx.

◆ m_elements

std::vector< ElementEntry > m_elements
private

Definition at line 109 of file xml_impctx.cxx.

◆ m_nAttributes

sal_Int32 const m_nAttributes
private

Definition at line 300 of file xml_impctx.cxx.

◆ m_nLastPrefix_lookup

sal_Int32 m_nLastPrefix_lookup
private

Definition at line 106 of file xml_impctx.cxx.

◆ m_nLastURI_lookup

sal_Int32 m_nLastURI_lookup
private

Definition at line 102 of file xml_impctx.cxx.

◆ m_nSkipElements

sal_Int32 m_nSkipElements
private

Definition at line 110 of file xml_impctx.cxx.

◆ m_oMutex

std::optional<std::mutex> m_oMutex
mutableprivate

Definition at line 112 of file xml_impctx.cxx.

◆ m_pLocalNames

std::unique_ptr<OUString[]> m_pLocalNames
private

Definition at line 302 of file xml_impctx.cxx.

◆ m_pMutex

std::mutex* m_pMutex
private

Definition at line 80 of file xml_impctx.cxx.

◆ m_pQNames

std::unique_ptr<OUString[]> m_pQNames
private

Definition at line 303 of file xml_impctx.cxx.

◆ m_prefixes

t_OUString2PrefixMap m_prefixes

Definition at line 70 of file xml_impctx.cxx.

◆ m_pUids

std::unique_ptr<sal_Int32[]> m_pUids
private

Definition at line 301 of file xml_impctx.cxx.

◆ m_pValues

std::unique_ptr<OUString[]> m_pValues
private

Definition at line 304 of file xml_impctx.cxx.

◆ m_uid_count

sal_Int32 m_uid_count
private

Definition at line 100 of file xml_impctx.cxx.

◆ m_Uids

::std::vector< sal_Int32 > m_Uids

Definition at line 54 of file xml_impctx.cxx.

◆ m_URI2Uid

t_OUString2LongMap m_URI2Uid
private

Definition at line 99 of file xml_impctx.cxx.

◆ m_xElement

Reference< xml::input::XElement > m_xElement

Definition at line 69 of file xml_impctx.cxx.

◆ m_xRoot

Reference< xml::input::XRoot > m_xRoot
private

Definition at line 97 of file xml_impctx.cxx.