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

#include <MutableAttrList.hxx>

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

Public Member Functions

 XMLMutableAttributeList ()
 
 XMLMutableAttributeList (const css::uno::Reference< css::xml::sax::XAttributeList > &rAttrList, bool bClone=false)
 
virtual ~XMLMutableAttributeList () override
 
virtual sal_Int64 SAL_CALL getSomething (const css::uno::Sequence< sal_Int8 > &aIdentifier) override
 
virtual sal_Int16 SAL_CALL getLength () override
 
virtual OUString SAL_CALL getNameByIndex (sal_Int16 i) override
 
virtual OUString SAL_CALL getTypeByIndex (sal_Int16 i) override
 
virtual OUString SAL_CALL getTypeByName (const OUString &aName) override
 
virtual OUString SAL_CALL getValueByIndex (sal_Int16 i) override
 
virtual OUString SAL_CALL getValueByName (const OUString &aName) override
 
virtual css::uno::Reference< css::util::XCloneable > SAL_CALL createClone () override
 
void SetValueByIndex (sal_Int16 i, const OUString &rValue)
 
void AddAttribute (const OUString &sName, const OUString &sValue)
 
void RemoveAttributeByIndex (sal_Int16 i)
 
void RenameAttributeByIndex (sal_Int16 i, const OUString &rNewName)
 
void AppendAttributeList (const css::uno::Reference< css::xml::sax::XAttributeList > &)
 
sal_Int16 GetIndexByName (const OUString &rName) const
 

Static Public Member Functions

static const css::uno::Sequence< sal_Int8 > & getUnoTunnelId () throw ()
 

Private Member Functions

SvXMLAttributeListGetMutableAttrList ()
 

Private Attributes

css::uno::Reference< css::xml::sax::XAttributeList > m_xAttrList
 
SvXMLAttributeListm_pMutableAttrList
 

Detailed Description

Definition at line 31 of file MutableAttrList.hxx.

Constructor & Destructor Documentation

XMLMutableAttributeList::XMLMutableAttributeList ( )

Definition at line 40 of file MutableAttrList.cxx.

References m_pMutableAttrList, and m_xAttrList.

XMLMutableAttributeList::XMLMutableAttributeList ( const css::uno::Reference< css::xml::sax::XAttributeList > &  rAttrList,
bool  bClone = false 
)
XMLMutableAttributeList::~XMLMutableAttributeList ( )
overridevirtual

Definition at line 56 of file MutableAttrList.cxx.

References m_xAttrList.

Member Function Documentation

void XMLMutableAttributeList::AddAttribute ( const OUString &  sName,
const OUString &  sValue 
)
void XMLMutableAttributeList::AppendAttributeList ( const css::uno::Reference< css::xml::sax::XAttributeList > &  )
Reference< XCloneable > XMLMutableAttributeList::createClone ( )
overridevirtual

Definition at line 117 of file MutableAttrList.cxx.

References m_xAttrList.

sal_Int16 XMLMutableAttributeList::GetIndexByName ( const OUString &  rName) const
sal_Int16 SAL_CALL XMLMutableAttributeList::getLength ( )
overridevirtual
SvXMLAttributeList * XMLMutableAttributeList::GetMutableAttrList ( )
private
OUString SAL_CALL XMLMutableAttributeList::getNameByIndex ( sal_Int16  i)
overridevirtual

Definition at line 88 of file MutableAttrList.cxx.

References m_xAttrList.

sal_Int64 SAL_CALL XMLMutableAttributeList::getSomething ( const css::uno::Sequence< sal_Int8 > &  aIdentifier)
overridevirtual

Definition at line 72 of file MutableAttrList.cxx.

OUString SAL_CALL XMLMutableAttributeList::getTypeByIndex ( sal_Int16  i)
overridevirtual

Definition at line 94 of file MutableAttrList.cxx.

References m_xAttrList.

OUString SAL_CALL XMLMutableAttributeList::getTypeByName ( const OUString &  aName)
overridevirtual

Definition at line 104 of file MutableAttrList.cxx.

References m_xAttrList.

const css::uno::Sequence< sal_Int8 > & XMLMutableAttributeList::getUnoTunnelId ( )
throw (
)
static

Definition at line 66 of file MutableAttrList.cxx.

OUString SAL_CALL XMLMutableAttributeList::getValueByIndex ( sal_Int16  i)
overridevirtual
OUString SAL_CALL XMLMutableAttributeList::getValueByName ( const OUString &  aName)
overridevirtual

Definition at line 110 of file MutableAttrList.cxx.

References m_xAttrList.

void XMLMutableAttributeList::RemoveAttributeByIndex ( sal_Int16  i)
void XMLMutableAttributeList::RenameAttributeByIndex ( sal_Int16  i,
const OUString &  rNewName 
)
void XMLMutableAttributeList::SetValueByIndex ( sal_Int16  i,
const OUString &  rValue 
)

Member Data Documentation

SvXMLAttributeList* XMLMutableAttributeList::m_pMutableAttrList
private

Definition at line 38 of file MutableAttrList.hxx.

Referenced by GetIndexByName(), GetMutableAttrList(), and XMLMutableAttributeList().

css::uno::Reference< css::xml::sax::XAttributeList> XMLMutableAttributeList::m_xAttrList
private

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