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::SvXMLAttributeList ( )

Definition at line 99 of file attrlist.cxx.

References vecAttribute.

Referenced by createClone().

SvXMLAttributeList::SvXMLAttributeList ( const SvXMLAttributeList r)

Definition at line 40 of file attrlist.cxx.

References lang, util, and xml.

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

Definition at line 105 of file attrlist.cxx.

Member Function Documentation

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

Definition at line 132 of file attrlist.cxx.

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

Referenced by XMLMutableAttributeList::AppendAttributeList().

void SvXMLAttributeList::Clear ( )

Definition at line 118 of file attrlist.cxx.

References vecAttribute.

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

Definition at line 92 of file attrlist.cxx.

References SvXMLAttributeList().

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

Definition at line 177 of file attrlist.cxx.

References vecAttribute.

Referenced by exportXFormsBinding().

sal_Int16 SAL_CALL SvXMLAttributeList::getLength ( )
overridevirtual
OUString SAL_CALL SvXMLAttributeList::getNameByIndex ( sal_Int16  i)
overridevirtual

Definition at line 57 of file attrlist.cxx.

References assert(), o3tl::make_unsigned(), sName, and vecAttribute.

OUString SAL_CALL SvXMLAttributeList::getTypeByIndex ( sal_Int16  i)
overridevirtual

Definition at line 64 of file attrlist.cxx.

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

Definition at line 75 of file attrlist.cxx.

OUString SAL_CALL SvXMLAttributeList::getValueByIndex ( sal_Int16  i)
overridevirtual

Definition at line 69 of file attrlist.cxx.

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

Referenced by exportXFormsBinding().

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

Definition at line 80 of file attrlist.cxx.

References vecAttribute.

Referenced by SvXMLExportPropertyMapper::_exportXML().

void SvXMLAttributeList::RemoveAttribute ( const OUString &  sName)

Definition at line 123 of file attrlist.cxx.

References vecAttribute.

Referenced by SvXMLExportPropertyMapper::_exportXML().

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

Member Data Documentation

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

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