LibreOffice Module dbaccess (master) 1
Public Member Functions | Protected Member Functions | Static Protected Member Functions | Private Attributes | List of all members
dbaccess::SettingsImport Class Referenceabstract

a simplified version of xmloff/DocumentSettingsContext More...

#include <settingsimport.hxx>

Inheritance diagram for dbaccess::SettingsImport:
[legend]
Collaboration diagram for dbaccess::SettingsImport:
[legend]

Public Member Functions

 SettingsImport ()
 
virtual ::rtl::Reference< SettingsImportnextState (const OUString &i_rElementName)=0
 
void startElement (const css::uno::Reference< css::xml::sax::XAttributeList > &i_rAttributes)
 
virtual void endElement ()
 
void characters (std::u16string_view i_rCharacters)
 
- Public Member Functions inherited from salhelper::SimpleReferenceObject
 SimpleReferenceObject ()
 
void acquire ()
 
void release ()
 

Protected Member Functions

virtual ~SettingsImport () override
 
const OUString & getItemName () const
 
const OUString & getItemType () const
 
const OUStringBuffer & getAccumulatedCharacters () const
 
- Protected Member Functions inherited from salhelper::SimpleReferenceObject
virtual ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE
 

Static Protected Member Functions

static void split (const OUString &i_rElementName, OUString &o_rNamespace, OUString &o_rLocalName)
 

Private Attributes

OUString m_sItemName
 
OUString m_sItemType
 
OUStringBuffer m_aCharacters
 

Additional Inherited Members

- Static Public Member Functions inherited from salhelper::SimpleReferenceObject
static void * operator new (std::size_t nSize)
 
static void * operator new (std::size_t nSize, std::nothrow_t const &rNothrow)
 
static void operator delete (void *pPtr)
 
static void operator delete (void *pPtr, std::nothrow_t const &rNothrow)
 
- Protected Attributes inherited from salhelper::SimpleReferenceObject
oslInterlockedCount m_nCount
 

Detailed Description

a simplified version of xmloff/DocumentSettingsContext

It would be nice if the DocumentSettingsContext would not be that tightly interwoven with the SvXMLImport class, so we could re-use it here ...

Definition at line 38 of file settingsimport.hxx.

Constructor & Destructor Documentation

◆ SettingsImport()

dbaccess::SettingsImport::SettingsImport ( )

Definition at line 35 of file settingsimport.cxx.

◆ ~SettingsImport()

dbaccess::SettingsImport::~SettingsImport ( )
overrideprotectedvirtual

Definition at line 39 of file settingsimport.cxx.

Member Function Documentation

◆ characters()

void dbaccess::SettingsImport::characters ( std::u16string_view  i_rCharacters)

Definition at line 57 of file settingsimport.cxx.

References m_aCharacters.

◆ endElement()

void dbaccess::SettingsImport::endElement ( )
virtual

Reimplemented in dbaccess::ConfigItemImport.

Definition at line 53 of file settingsimport.cxx.

Referenced by dbaccess::ConfigItemImport::endElement().

◆ getAccumulatedCharacters()

const OUStringBuffer & dbaccess::SettingsImport::getAccumulatedCharacters ( ) const
inlineprotected

Definition at line 62 of file settingsimport.hxx.

References m_aCharacters.

Referenced by dbaccess::ConfigItemImport::getItemValue().

◆ getItemName()

const OUString & dbaccess::SettingsImport::getItemName ( ) const
inlineprotected

Definition at line 60 of file settingsimport.hxx.

References m_sItemName.

Referenced by dbaccess::ConfigItemImport::endElement().

◆ getItemType()

const OUString & dbaccess::SettingsImport::getItemType ( ) const
inlineprotected

Definition at line 61 of file settingsimport.hxx.

References m_sItemType.

Referenced by dbaccess::ConfigItemImport::getItemValue().

◆ nextState()

virtual ::rtl::Reference< SettingsImport > dbaccess::SettingsImport::nextState ( const OUString &  i_rElementName)
pure virtual

◆ split()

void dbaccess::SettingsImport::split ( const OUString &  i_rElementName,
OUString &  o_rNamespace,
OUString &  o_rLocalName 
)
staticprotected

◆ startElement()

void dbaccess::SettingsImport::startElement ( const css::uno::Reference< css::xml::sax::XAttributeList > &  i_rAttributes)

Definition at line 43 of file settingsimport.cxx.

References m_sItemName, and m_sItemType.

Member Data Documentation

◆ m_aCharacters

OUStringBuffer dbaccess::SettingsImport::m_aCharacters
private

Definition at line 70 of file settingsimport.hxx.

Referenced by characters(), and getAccumulatedCharacters().

◆ m_sItemName

OUString dbaccess::SettingsImport::m_sItemName
private

Definition at line 66 of file settingsimport.hxx.

Referenced by getItemName(), and startElement().

◆ m_sItemType

OUString dbaccess::SettingsImport::m_sItemType
private

Definition at line 68 of file settingsimport.hxx.

Referenced by getItemType(), and startElement().


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