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

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::unique_ptr< SvXMLAttributeList_Implm_pImpl
 
const OUString sType
 

Detailed Description

Definition at line 35 of file attrlist.hxx.

Constructor & Destructor Documentation

SvXMLAttributeList::SvXMLAttributeList ( )

Definition at line 131 of file attrlist.cxx.

References m_pImpl, and sType.

Referenced by createClone().

SvXMLAttributeList::SvXMLAttributeList ( const SvXMLAttributeList r)

Definition at line 70 of file attrlist.cxx.

References lang, m_pImpl, util, and xml.

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

Definition at line 138 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 167 of file attrlist.cxx.

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

Referenced by XMLMutableAttributeList::AppendAttributeList().

void SvXMLAttributeList::Clear ( )

Definition at line 151 of file attrlist.cxx.

References getLength(), and m_pImpl.

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

Definition at line 124 of file attrlist.cxx.

References SvXMLAttributeList().

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

Definition at line 213 of file attrlist.cxx.

References m_pImpl.

Referenced by exportXFormsBinding(), and XMLMutableAttributeList::GetIndexByName().

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

Definition at line 91 of file attrlist.cxx.

References m_pImpl, and o3tl::make_unsigned().

OUString SAL_CALL SvXMLAttributeList::getTypeByIndex ( sal_Int16  i)
overridevirtual

Definition at line 97 of file attrlist.cxx.

References sType.

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

Definition at line 107 of file attrlist.cxx.

References sType.

OUString SAL_CALL SvXMLAttributeList::getValueByIndex ( sal_Int16  i)
overridevirtual

Definition at line 102 of file attrlist.cxx.

References m_pImpl, and o3tl::make_unsigned().

Referenced by exportXFormsBinding().

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

Definition at line 112 of file attrlist.cxx.

References m_pImpl.

Referenced by SvXMLExportPropertyMapper::_exportXML().

void SvXMLAttributeList::RemoveAttribute ( const OUString &  sName)

Definition at line 158 of file attrlist.cxx.

References m_pImpl.

Referenced by SvXMLExportPropertyMapper::_exportXML().

void SvXMLAttributeList::RemoveAttributeByIndex ( sal_Int16  i)

Definition at line 196 of file attrlist.cxx.

References m_pImpl, and o3tl::make_unsigned().

Referenced by XMLMutableAttributeList::RemoveAttributeByIndex().

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

Definition at line 203 of file attrlist.cxx.

References m_pImpl, and o3tl::make_unsigned().

Referenced by XMLMutableAttributeList::RenameAttributeByIndex().

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

Member Data Documentation

std::unique_ptr<SvXMLAttributeList_Impl> SvXMLAttributeList::m_pImpl
private
const OUString SvXMLAttributeList::sType
private

Definition at line 74 of file attrlist.hxx.

Referenced by getTypeByIndex(), and getTypeByName().


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