LibreOffice Module xmloff (master) 1
Classes | Public Member Functions | Private Attributes | List of all members
SvXMLAttributeList Class Referencefinal

#include <attrlist.hxx>

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

Classes

struct  SvXMLTagAttribute_Impl
 

Public Member Functions

 SvXMLAttributeList ()
 
 SvXMLAttributeList (const SvXMLAttributeList &)
 
 SvXMLAttributeList (const css::uno::Reference< css::xml::sax::XAttributeList > &rAttrList)
 
virtual ~SvXMLAttributeList () 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 AddAttribute (const OUString &sName, const OUString &sValue)
 
void Clear ()
 
void RemoveAttribute (const OUString &sName)
 
void AppendAttributeList (const css::uno::Reference< css::xml::sax::XAttributeList > &)
 
void SetValueByIndex (sal_Int16 i, const OUString &rValue)
 
void RemoveAttributeByIndex (sal_Int16 i)
 
void RenameAttributeByIndex (sal_Int16 i, const OUString &rNewName)
 
sal_Int16 GetIndexByName (const OUString &rName) const
 

Private Attributes

std::vector< SvXMLTagAttribute_ImplvecAttribute
 

Detailed Description

Definition at line 33 of file attrlist.hxx.

Constructor & Destructor Documentation

◆ SvXMLAttributeList() [1/3]

SvXMLAttributeList::SvXMLAttributeList ( )

Definition at line 99 of file attrlist.cxx.

References vecAttribute.

Referenced by createClone().

◆ SvXMLAttributeList() [2/3]

SvXMLAttributeList::SvXMLAttributeList ( const SvXMLAttributeList r)

Definition at line 40 of file attrlist.cxx.

◆ SvXMLAttributeList() [3/3]

SvXMLAttributeList::SvXMLAttributeList ( const css::uno::Reference< css::xml::sax::XAttributeList > &  rAttrList)

◆ ~SvXMLAttributeList()

SvXMLAttributeList::~SvXMLAttributeList ( )
overridevirtual

Definition at line 105 of file attrlist.cxx.

Member Function Documentation

◆ AddAttribute()

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

◆ AppendAttributeList()

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

Definition at line 132 of file attrlist.cxx.

References getLength(), i, sName, u, and vecAttribute.

Referenced by XMLMutableAttributeList::AppendAttributeList().

◆ Clear()

void SvXMLAttributeList::Clear ( )

Definition at line 118 of file attrlist.cxx.

References vecAttribute.

◆ createClone()

uno::Reference< css::util::XCloneable > SvXMLAttributeList::createClone ( )
overridevirtual

Definition at line 92 of file attrlist.cxx.

References SvXMLAttributeList().

◆ GetIndexByName()

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

Definition at line 177 of file attrlist.cxx.

References vecAttribute.

Referenced by exportXFormsBinding().

◆ getLength()

sal_Int16 SAL_CALL SvXMLAttributeList::getLength ( )
overridevirtual

◆ getNameByIndex()

OUString SAL_CALL SvXMLAttributeList::getNameByIndex ( sal_Int16  i)
overridevirtual

Definition at line 57 of file attrlist.cxx.

References i, o3tl::make_unsigned(), and vecAttribute.

◆ getTypeByIndex()

OUString SAL_CALL SvXMLAttributeList::getTypeByIndex ( sal_Int16  i)
overridevirtual

Definition at line 64 of file attrlist.cxx.

◆ getTypeByName()

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

Definition at line 75 of file attrlist.cxx.

◆ getValueByIndex()

OUString SAL_CALL SvXMLAttributeList::getValueByIndex ( sal_Int16  i)
overridevirtual

Definition at line 69 of file attrlist.cxx.

References i, o3tl::make_unsigned(), and vecAttribute.

Referenced by exportXFormsBinding().

◆ getValueByName()

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

Definition at line 80 of file attrlist.cxx.

References sName, and vecAttribute.

Referenced by SvXMLExportPropertyMapper::_exportXML().

◆ RemoveAttribute()

void SvXMLAttributeList::RemoveAttribute ( const OUString &  sName)

Definition at line 123 of file attrlist.cxx.

References sName, and vecAttribute.

Referenced by SvXMLExportPropertyMapper::_exportXML().

◆ RemoveAttributeByIndex()

void SvXMLAttributeList::RemoveAttributeByIndex ( sal_Int16  i)

Definition at line 160 of file attrlist.cxx.

References i, o3tl::make_unsigned(), and vecAttribute.

Referenced by XMLMutableAttributeList::RemoveAttributeByIndex().

◆ RenameAttributeByIndex()

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

Definition at line 167 of file attrlist.cxx.

References i, o3tl::make_unsigned(), and vecAttribute.

Referenced by XMLMutableAttributeList::RenameAttributeByIndex().

◆ SetValueByIndex()

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

Definition at line 150 of file attrlist.cxx.

References i, o3tl::make_unsigned(), and vecAttribute.

Referenced by XMLMutableAttributeList::SetValueByIndex().

Member Data Documentation

◆ vecAttribute

std::vector<SvXMLTagAttribute_Impl> SvXMLAttributeList::vecAttribute
private

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