24#include <com/sun/star/xml/sax/XDocumentHandler.hpp>
26#include <rtl/ustring.hxx>
29#include <unordered_map>
72 const OUString& aName,
73 const css::uno::Reference< css::xml::sax::XAttributeList > &xAttribs)
override;
75 virtual void SAL_CALL
endElement(
const OUString& aName)
override;
77 virtual void SAL_CALL
characters(
const OUString& aChars)
override;
82 const OUString& aData)
override;
85 const css::uno::Reference< css::xml::sax::XLocator > &xLocator)
override;
99 css::uno::Reference< css::xml::sax::XLocator >
m_xLocator;
106 const css::uno::Reference< css::container::XIndexAccess >& rStatusBarItems,
107 const css::uno::Reference< css::xml::sax::XDocumentHandler >& rWriteDocHandler );
118 const OUString& rCommandURL,
bool m_bStatusBarItemStartFound
virtual void SAL_CALL setDocumentLocator(const css::uno::Reference< css::xml::sax::XLocator > &xLocator) override
OUString getErrorLineString()
virtual void SAL_CALL characters(const OUString &aChars) override
virtual void SAL_CALL processingInstruction(const OUString &aTarget, const OUString &aData) override
virtual void SAL_CALL startElement(const OUString &aName, const css::uno::Reference< css::xml::sax::XAttributeList > &xAttribs) override
@ SB_ELEMENT_STATUSBARITEM
bool m_bStatusBarStartFound
virtual void SAL_CALL startDocument() override
css::uno::Reference< css::xml::sax::XLocator > m_xLocator
virtual void SAL_CALL endDocument() override
virtual void SAL_CALL endElement(const OUString &aName) override
StatusBarHashMap m_aStatusBarMap
virtual void SAL_CALL ignorableWhitespace(const OUString &aWhitespaces) override
OReadStatusBarDocumentHandler(const css::uno::Reference< css::container::XIndexContainer > &aStatusBarItems)
virtual ~OReadStatusBarDocumentHandler() override
css::uno::Reference< css::container::XIndexContainer > m_aStatusBarItems
css::uno::Reference< css::xml::sax::XDocumentHandler > m_xWriteDocumentHandler
OWriteStatusBarDocumentHandler(const css::uno::Reference< css::container::XIndexAccess > &rStatusBarItems, const css::uno::Reference< css::xml::sax::XDocumentHandler > &rWriteDocHandler)
css::uno::Reference< css::xml::sax::XAttributeList > m_xEmptyList
void WriteStatusBarDocument()
void WriteStatusBarItem(const OUString &rCommandURL, sal_Int16 nOffset, sal_Int16 nStyle, sal_Int16 nWidth)
css::uno::Reference< css::container::XIndexAccess > m_aStatusBarItems
~OWriteStatusBarDocumentHandler()
OUString m_aXMLStatusBarNS