LibreOffice Module xmloff (master) 1
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_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
 

Private Member Functions

comphelper::AttributeListGetMutableAttrList ()
 

Private Attributes

css::uno::Reference< css::xml::sax::XAttributeList > m_xAttrList
 
rtl::Reference< comphelper::AttributeListm_pMutableAttrList
 

Detailed Description

Definition at line 30 of file MutableAttrList.hxx.

Constructor & Destructor Documentation

◆ XMLMutableAttributeList() [1/2]

XMLMutableAttributeList::XMLMutableAttributeList ( )

Definition at line 42 of file MutableAttrList.cxx.

References m_pMutableAttrList, and m_xAttrList.

◆ XMLMutableAttributeList() [2/2]

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

◆ ~XMLMutableAttributeList()

XMLMutableAttributeList::~XMLMutableAttributeList ( )
overridevirtual

Definition at line 57 of file MutableAttrList.cxx.

References m_xAttrList.

Member Function Documentation

◆ AddAttribute()

void XMLMutableAttributeList::AddAttribute ( const OUString &  sName,
const OUString &  sValue 
)

◆ AppendAttributeList()

void XMLMutableAttributeList::AppendAttributeList ( const css::uno::Reference< css::xml::sax::XAttributeList > &  )

◆ createClone()

Reference< XCloneable > XMLMutableAttributeList::createClone ( )
overridevirtual

Definition at line 97 of file MutableAttrList.cxx.

References m_xAttrList.

◆ GetIndexByName()

sal_Int16 XMLMutableAttributeList::GetIndexByName ( const OUString &  rName) const

Definition at line 133 of file MutableAttrList.cxx.

References i, m_pMutableAttrList, m_xAttrList, nCount, and nIndex.

◆ getLength()

sal_Int16 SAL_CALL XMLMutableAttributeList::getLength ( )
overridevirtual

Definition at line 62 of file MutableAttrList.cxx.

References m_xAttrList.

◆ GetMutableAttrList()

comphelper::AttributeList * XMLMutableAttributeList::GetMutableAttrList ( )
private

◆ getNameByIndex()

OUString SAL_CALL XMLMutableAttributeList::getNameByIndex ( sal_Int16  i)
overridevirtual

Definition at line 68 of file MutableAttrList.cxx.

References i, and m_xAttrList.

◆ getTypeByIndex()

OUString SAL_CALL XMLMutableAttributeList::getTypeByIndex ( sal_Int16  i)
overridevirtual

Definition at line 74 of file MutableAttrList.cxx.

References i, and m_xAttrList.

◆ getTypeByName()

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

Definition at line 84 of file MutableAttrList.cxx.

References m_xAttrList.

◆ getValueByIndex()

OUString SAL_CALL XMLMutableAttributeList::getValueByIndex ( sal_Int16  i)
overridevirtual

Definition at line 79 of file MutableAttrList.cxx.

References i, and m_xAttrList.

◆ getValueByName()

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

Definition at line 90 of file MutableAttrList.cxx.

References m_xAttrList.

◆ RemoveAttributeByIndex()

void XMLMutableAttributeList::RemoveAttributeByIndex ( sal_Int16  i)

◆ RenameAttributeByIndex()

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

◆ SetValueByIndex()

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

Member Data Documentation

◆ m_pMutableAttrList

rtl::Reference<comphelper::AttributeList> XMLMutableAttributeList::m_pMutableAttrList
private

Definition at line 36 of file MutableAttrList.hxx.

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

◆ m_xAttrList

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

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