20#ifndef INCLUDED_SFX2_SOURCE_DOC_DOCTEMPLATESLOCAL_HXX
21#define INCLUDED_SFX2_SOURCE_DOC_DOCTEMPLATESLOCAL_HXX
23#include <com/sun/star/xml/sax/XDocumentHandler.hpp>
24#include <com/sun/star/beans/StringPair.hpp>
25#include <com/sun/star/io/XInputStream.hpp>
26#include <com/sun/star/io/XOutputStream.hpp>
27#include <com/sun/star/uno/XComponentContext.hpp>
41 static std::vector< css::beans::StringPair >
ReadLocalizationSequence_Impl(
const css::uno::Reference< css::io::XInputStream >& xInStream,
const OUString& aStringID,
const css::uno::Reference< css::uno::XComponentContext >& xContext );
49 std::vector< css::beans::StringPair >
51 const css::uno::Reference< css::io::XInputStream >& xInStream,
52 const css::uno::Reference< css::uno::XComponentContext >& xContext );
58 const css::uno::Reference< css::io::XOutputStream >& xOutStream,
59 const std::vector< css::beans::StringPair >& aSequence,
60 const css::uno::Reference< css::uno::XComponentContext >& xContext );
68 virtual void SAL_CALL
startElement(
const OUString& aName,
const css::uno::Reference< css::xml::sax::XAttributeList >& xAttribs )
override;
69 virtual void SAL_CALL
endElement(
const OUString& aName )
override;
70 virtual void SAL_CALL
characters(
const OUString& aChars )
override;
73 virtual void SAL_CALL
setDocumentLocator(
const css::uno::Reference< css::xml::sax::XLocator >& xLocator )
override;
std::vector< css::beans::StringPair > m_aResultSeq
std::vector< OUString > m_aElementsSeq
virtual void SAL_CALL startElement(const OUString &aName, const css::uno::Reference< css::xml::sax::XAttributeList > &xAttribs) override
virtual void SAL_CALL endElement(const OUString &aName) override
static std::vector< css::beans::StringPair > ReadGroupLocalizationSequence(const css::uno::Reference< css::io::XInputStream > &xInStream, const css::uno::Reference< css::uno::XComponentContext > &xContext)
virtual void SAL_CALL characters(const OUString &aChars) override
virtual void SAL_CALL processingInstruction(const OUString &aTarget, const OUString &aData) override
static std::vector< css::beans::StringPair > ReadLocalizationSequence_Impl(const css::uno::Reference< css::io::XInputStream > &xInStream, const OUString &aStringID, const css::uno::Reference< css::uno::XComponentContext > &xContext)
std::vector< css::beans::StringPair > const & GetParsingResult() const
virtual void SAL_CALL ignorableWhitespace(const OUString &aWhitespaces) override
static std::vector< OUString > GetBuiltInGroupNames()
virtual void SAL_CALL endDocument() override
virtual void SAL_CALL startDocument() override
static void WriteGroupLocalizationSequence(const css::uno::Reference< css::io::XOutputStream > &xOutStream, const std::vector< css::beans::StringPair > &aSequence, const css::uno::Reference< css::uno::XComponentContext > &xContext)
virtual void SAL_CALL setDocumentLocator(const css::uno::Reference< css::xml::sax::XLocator > &xLocator) override
static OUString GetStandardGroupString()
virtual ~DocTemplLocaleHelper() override