20#ifndef INCLUDED_OOX_CORE_FRAGMENTHANDLER2_HXX
21#define INCLUDED_OOX_CORE_FRAGMENTHANDLER2_HXX
23#include <com/sun/star/uno/Reference.hxx>
29#include <rtl/ustring.hxx>
33 namespace xml::sax {
class XFastAttributeList; }
34 namespace xml::sax {
class XFastContextHandler; }
39 class SequenceInputStream;
51 const OUString& rFragmentPath,
52 bool bEnableTrimSpace =
true );
61 virtual void SAL_CALL
acquire() noexcept
override { FragmentHandler::acquire(); }
62 virtual void SAL_CALL
release() noexcept
override { FragmentHandler::release(); }
66 virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL
67 createFastChildContext(
69 const css::uno::Reference< css::xml::sax::XFastAttributeList >& rxAttribs )
final override;
71 virtual void SAL_CALL startFastElement(
73 const css::uno::Reference< css::xml::sax::XFastAttributeList >& rxAttribs )
final override;
75 virtual void SAL_CALL characters(
const OUString& rChars )
final override;
77 virtual void SAL_CALL endFastElement( sal_Int32 nElement )
final override;
81 virtual void SAL_CALL startDocument()
override;
83 virtual void SAL_CALL endDocument()
override;
89 virtual void endRecord( sal_Int32 nRecId )
override;
94 virtual void onStartElement(
const AttributeList& rAttribs )
override;
95 virtual void onCharacters(
const OUString& rChars )
override;
96 virtual void onEndElement()
override;
100 virtual void onEndRecord()
override;
104 virtual void initializeImport();
105 virtual void finalizeImport();
Provides access to attribute values of an element.
virtual void SAL_CALL release() noexcept override
virtual void SAL_CALL acquire() noexcept override
FragmentHandler2(FragmentHandler2 const &)=default
FragmentHandler2(FragmentHandler2 &&)=default
::rtl::Reference< FragmentHandler2 > FragmentHandler2Ref