24#include <com/sun/star/xml/sax/XParser.hpp>
25#include <com/sun/star/embed/XStorage.hpp>
26#include <com/sun/star/uno/XComponentContext.hpp>
27#include <com/sun/star/xml/sax/XDocumentHandler.hpp>
39 const css::uno::Reference< css::uno::XComponentContext >& i_rContext,
40 const css::uno::Reference< css::embed::XStorage >& i_rParentStorage,
41 const OUString& i_rStreamName
47 void addAttribute(
const OUString& i_rName,
const OUString& i_rValue )
const;
53 void characters(
const OUString& i_rCharacters )
const;
60 css::uno::Reference< css::xml::sax::XDocumentHandler >
mxHandler;
69 const css::uno::Reference< css::uno::XComponentContext >& i_rContext,
70 const css::uno::Reference< css::embed::XStorage >& i_rParentStorage,
71 const OUString& i_rStreamName
76 const css::uno::Reference< css::xml::sax::XDocumentHandler >& i_rHandler
83 css::uno::Reference< css::xml::sax::XParser >
m_xParser;
convenience wrapper around a stream living in a storage
::rtl::Reference< comphelper::AttributeList > mxAttributes
std::stack< OUString > maElements
StorageXMLOutputStream(const css::uno::Reference< css::uno::XComponentContext > &i_rContext, const css::uno::Reference< css::embed::XStorage > &i_rParentStorage, const OUString &i_rStreamName)
void startElement(const OUString &i_rElementName)
void characters(const OUString &i_rCharacters) const
StorageXMLOutputStream & operator=(const StorageXMLOutputStream &)=delete
css::uno::Reference< css::xml::sax::XDocumentHandler > mxHandler
virtual ~StorageXMLOutputStream() override
StorageXMLOutputStream(const StorageXMLOutputStream &)=delete
void addAttribute(const OUString &i_rName, const OUString &i_rValue) const
void ignorableWhitespace(const OUString &i_rWhitespace) const