LibreOffice Module xmloff (master) 1
|
#include <MutableAttrList.hxx>
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::AttributeList * | GetMutableAttrList () |
Private Attributes | |
css::uno::Reference< css::xml::sax::XAttributeList > | m_xAttrList |
rtl::Reference< comphelper::AttributeList > | m_pMutableAttrList |
Definition at line 30 of file MutableAttrList.hxx.
XMLMutableAttributeList::XMLMutableAttributeList | ( | ) |
Definition at line 42 of file MutableAttrList.cxx.
References m_pMutableAttrList, and m_xAttrList.
XMLMutableAttributeList::XMLMutableAttributeList | ( | const css::uno::Reference< css::xml::sax::XAttributeList > & | rAttrList, |
bool | bClone = false |
||
) |
|
overridevirtual |
Definition at line 57 of file MutableAttrList.cxx.
References m_xAttrList.
void XMLMutableAttributeList::AddAttribute | ( | const OUString & | sName, |
const OUString & | sValue | ||
) |
Definition at line 110 of file MutableAttrList.cxx.
References comphelper::AttributeList::AddAttribute(), and GetMutableAttrList().
Referenced by XMLControlOASISTransformerContext::StartElement().
void XMLMutableAttributeList::AppendAttributeList | ( | const css::uno::Reference< css::xml::sax::XAttributeList > & | ) |
Definition at line 127 of file MutableAttrList.cxx.
References comphelper::AttributeList::AppendAttributeList(), and GetMutableAttrList().
|
overridevirtual |
Definition at line 97 of file MutableAttrList.cxx.
References m_xAttrList.
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.
|
overridevirtual |
Definition at line 62 of file MutableAttrList.cxx.
References m_xAttrList.
|
private |
Definition at line 31 of file MutableAttrList.cxx.
References m_pMutableAttrList, and m_xAttrList.
Referenced by AddAttribute(), AppendAttributeList(), RemoveAttributeByIndex(), RenameAttributeByIndex(), and SetValueByIndex().
|
overridevirtual |
Definition at line 68 of file MutableAttrList.cxx.
References i, and m_xAttrList.
|
overridevirtual |
Definition at line 74 of file MutableAttrList.cxx.
References i, and m_xAttrList.
|
overridevirtual |
Definition at line 84 of file MutableAttrList.cxx.
References m_xAttrList.
|
overridevirtual |
Definition at line 79 of file MutableAttrList.cxx.
References i, and m_xAttrList.
|
overridevirtual |
Definition at line 90 of file MutableAttrList.cxx.
References m_xAttrList.
void XMLMutableAttributeList::RemoveAttributeByIndex | ( | sal_Int16 | i | ) |
Definition at line 116 of file MutableAttrList.cxx.
References GetMutableAttrList(), i, and comphelper::AttributeList::RemoveAttributeByIndex().
void XMLMutableAttributeList::RenameAttributeByIndex | ( | sal_Int16 | i, |
const OUString & | rNewName | ||
) |
Definition at line 121 of file MutableAttrList.cxx.
References GetMutableAttrList(), i, and comphelper::AttributeList::RenameAttributeByIndex().
void XMLMutableAttributeList::SetValueByIndex | ( | sal_Int16 | i, |
const OUString & | rValue | ||
) |
Definition at line 104 of file MutableAttrList.cxx.
References GetMutableAttrList(), i, and comphelper::AttributeList::SetValueByIndex().
|
private |
Definition at line 36 of file MutableAttrList.hxx.
Referenced by GetIndexByName(), GetMutableAttrList(), and XMLMutableAttributeList().
|
private |
Definition at line 34 of file MutableAttrList.hxx.
Referenced by createClone(), GetIndexByName(), getLength(), GetMutableAttrList(), getNameByIndex(), getTypeByIndex(), getTypeByName(), getValueByIndex(), getValueByName(), XMLMutableAttributeList(), and ~XMLMutableAttributeList().