LibreOffice Module sfx2 (master) 1
Public Member Functions | Static Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
DocTemplLocaleHelper Class Reference

#include <doctemplateslocal.hxx>

Inheritance diagram for DocTemplLocaleHelper:
[legend]
Collaboration diagram for DocTemplLocaleHelper:
[legend]

Public Member Functions

virtual ~DocTemplLocaleHelper () override
 
virtual void SAL_CALL startDocument () override
 
virtual void SAL_CALL endDocument () override
 
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
 
virtual void SAL_CALL characters (const OUString &aChars) override
 
virtual void SAL_CALL ignorableWhitespace (const OUString &aWhitespaces) override
 
virtual void SAL_CALL processingInstruction (const OUString &aTarget, const OUString &aData) override
 
virtual void SAL_CALL setDocumentLocator (const css::uno::Reference< css::xml::sax::XLocator > &xLocator) override
 

Static Public Member Functions

static std::vector< css::beans::StringPair > ReadGroupLocalizationSequence (const css::uno::Reference< css::io::XInputStream > &xInStream, const css::uno::Reference< css::uno::XComponentContext > &xContext)
 
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)
 
static OUString GetStandardGroupString ()
 
static std::vector< OUString > GetBuiltInGroupNames ()
 

Private Member Functions

 DocTemplLocaleHelper ()
 
std::vector< css::beans::StringPair > const & GetParsingResult () const
 

Static Private Member Functions

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)
 

Private Attributes

std::vector< css::beans::StringPair > m_aResultSeq
 
std::vector< OUString > m_aElementsSeq
 

Detailed Description

Definition at line 32 of file doctemplateslocal.hxx.

Constructor & Destructor Documentation

◆ DocTemplLocaleHelper()

DocTemplLocaleHelper::DocTemplLocaleHelper ( )
private

Definition at line 108 of file doctemplateslocal.cxx.

Referenced by ReadLocalizationSequence_Impl().

◆ ~DocTemplLocaleHelper()

DocTemplLocaleHelper::~DocTemplLocaleHelper ( )
overridevirtual

Definition at line 113 of file doctemplateslocal.cxx.

Member Function Documentation

◆ characters()

void SAL_CALL DocTemplLocaleHelper::characters ( const OUString &  aChars)
overridevirtual

Definition at line 192 of file doctemplateslocal.cxx.

◆ endDocument()

void SAL_CALL DocTemplLocaleHelper::endDocument ( )
overridevirtual

Definition at line 132 of file doctemplateslocal.cxx.

◆ endElement()

void SAL_CALL DocTemplLocaleHelper::endElement ( const OUString &  aName)
overridevirtual

Definition at line 180 of file doctemplateslocal.cxx.

References aName, and m_aElementsSeq.

◆ GetBuiltInGroupNames()

std::vector< OUString > DocTemplLocaleHelper::GetBuiltInGroupNames ( )
static

Definition at line 2632 of file doctemplates.cxx.

References SfxResId().

Referenced by TemplateLocalView::IsBuiltInRegion().

◆ GetParsingResult()

std::vector< beans::StringPair > const & DocTemplLocaleHelper::GetParsingResult ( ) const
private

Definition at line 118 of file doctemplateslocal.cxx.

References m_aElementsSeq, and m_aResultSeq.

◆ GetStandardGroupString()

OUString DocTemplLocaleHelper::GetStandardGroupString ( )
static

Definition at line 2627 of file doctemplates.cxx.

References SfxResId().

Referenced by SfxDocTemplate_Impl::Construct().

◆ ignorableWhitespace()

void SAL_CALL DocTemplLocaleHelper::ignorableWhitespace ( const OUString &  aWhitespaces)
overridevirtual

Definition at line 197 of file doctemplateslocal.cxx.

◆ processingInstruction()

void SAL_CALL DocTemplLocaleHelper::processingInstruction ( const OUString &  aTarget,
const OUString &  aData 
)
overridevirtual

Definition at line 202 of file doctemplateslocal.cxx.

◆ ReadGroupLocalizationSequence()

std::vector< beans::StringPair > DocTemplLocaleHelper::ReadGroupLocalizationSequence ( const css::uno::Reference< css::io::XInputStream > &  xInStream,
const css::uno::Reference< css::uno::XComponentContext > &  xContext 
)
static
Exceptions
css::uno::Exception

Definition at line 45 of file doctemplateslocal.cxx.

References ReadLocalizationSequence_Impl().

◆ ReadLocalizationSequence_Impl()

std::vector< beans::StringPair > DocTemplLocaleHelper::ReadLocalizationSequence_Impl ( const css::uno::Reference< css::io::XInputStream > &  xInStream,
const OUString &  aStringID,
const css::uno::Reference< css::uno::XComponentContext > &  xContext 
)
staticprivate
Exceptions
css::uno::Exception

Definition at line 89 of file doctemplateslocal.cxx.

References DocTemplLocaleHelper().

Referenced by ReadGroupLocalizationSequence().

◆ setDocumentLocator()

void SAL_CALL DocTemplLocaleHelper::setDocumentLocator ( const css::uno::Reference< css::xml::sax::XLocator > &  xLocator)
overridevirtual

Definition at line 207 of file doctemplateslocal.cxx.

◆ startDocument()

void SAL_CALL DocTemplLocaleHelper::startDocument ( )
overridevirtual

Definition at line 127 of file doctemplateslocal.cxx.

◆ startElement()

void SAL_CALL DocTemplLocaleHelper::startElement ( const OUString &  aName,
const css::uno::Reference< css::xml::sax::XAttributeList > &  xAttribs 
)
overridevirtual

Definition at line 137 of file doctemplateslocal.cxx.

References aName, m_aElementsSeq, and m_aResultSeq.

◆ WriteGroupLocalizationSequence()

void DocTemplLocaleHelper::WriteGroupLocalizationSequence ( const css::uno::Reference< css::io::XOutputStream > &  xOutStream,
const std::vector< css::beans::StringPair > &  aSequence,
const css::uno::Reference< css::uno::XComponentContext > &  xContext 
)
static
Exceptions
css::uno::Exception

Definition at line 51 of file doctemplateslocal.cxx.

References i, and u.

Member Data Documentation

◆ m_aElementsSeq

std::vector< OUString > DocTemplLocaleHelper::m_aElementsSeq
private

Definition at line 35 of file doctemplateslocal.hxx.

Referenced by endElement(), GetParsingResult(), and startElement().

◆ m_aResultSeq

std::vector< css::beans::StringPair > DocTemplLocaleHelper::m_aResultSeq
private

Definition at line 34 of file doctemplateslocal.hxx.

Referenced by GetParsingResult(), and startElement().


The documentation for this class was generated from the following files: