22#include <com/sun/star/frame/XModel.hpp>
23#include <com/sun/star/script/XLibraryContainer2.hpp>
25#include <osl/mutex.hxx>
26#include <rtl/ustrbuf.hxx>
37 const css::uno::Reference<css::xml::sax::XFastAttributeList>& xAttributes);
50 const css::uno::Reference<css::frame::XModel>& rxModel);
54 const css::uno::Reference<css::xml::sax::XFastAttributeList>& Attribs)
override;
61 css::uno::Reference<css::container::XNameContainer>
m_xLib;
68 const css::uno::Reference<css::script::XLibraryContainer2>& rxLibContainer,
69 OUString aLibName,
bool bReadOnly);
73 const css::uno::Reference<css::xml::sax::XFastAttributeList>& Attribs)
override;
80 css::uno::Reference<css::container::XNameContainer>
m_xLib;
85 const css::uno::Reference<css::container::XNameContainer>& rxLib,
90 const css::uno::Reference<css::xml::sax::XFastAttributeList>& Attribs)
override;
96 css::uno::Reference<css::container::XNameContainer>
m_xLib;
102 const css::uno::Reference<css::container::XNameContainer>& rxLib,
105 virtual void SAL_CALL
characters(
const OUString& rChars)
override;
106 virtual void SAL_CALL
endFastElement(sal_Int32 nElement)
override;
This class deliberately does not support XWeak, to improve performance when loading large documents.
BasicElementBase(SvXMLImport &rImport)
static bool getBoolAttr(bool *pRet, sal_Int32 nToken, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttributes)
OUString const m_aLibName
css::uno::Reference< css::container::XNameContainer > m_xLib
virtual void SAL_CALL endFastElement(sal_Int32 nElement) override
endFastElement is called before a context will be destructed, but after an elements context has been ...
virtual css::uno::Reference< XFastContextHandler > SAL_CALL createFastChildContext(sal_Int32 Element, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override
css::uno::Reference< css::script::XLibraryContainer2 > m_xLibContainer
BasicEmbeddedLibraryElement(SvXMLImport &rImport, const css::uno::Reference< css::script::XLibraryContainer2 > &rxLibContainer, OUString aLibName, bool bReadOnly)
virtual css::uno::Reference< XFastContextHandler > SAL_CALL createFastChildContext(sal_Int32 Element, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override
css::uno::Reference< css::script::XLibraryContainer2 > m_xLibContainer
BasicLibrariesElement(SvXMLImport &rImport, const css::uno::Reference< css::frame::XModel > &rxModel)
virtual css::uno::Reference< XFastContextHandler > SAL_CALL createFastChildContext(sal_Int32 Element, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override
BasicModuleElement(SvXMLImport &rImport, const css::uno::Reference< css::container::XNameContainer > &rxLib, OUString aName)
css::uno::Reference< css::container::XNameContainer > m_xLib
css::uno::Reference< css::container::XNameContainer > m_xLib
virtual void SAL_CALL characters(const OUString &rChars) override
This method is called for all characters that are contained in the current element.
virtual void SAL_CALL endFastElement(sal_Int32 nElement) override
endFastElement is called before a context will be destructed, but after an elements context has been ...
BasicSourceCodeElement(SvXMLImport &rImport, const css::uno::Reference< css::container::XNameContainer > &rxLib, OUString rName)