LibreOffice Module xmloff (master)
1
|
#include <attrlist.hxx>
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_Impl > | vecAttribute |
Definition at line 33 of file attrlist.hxx.
SvXMLAttributeList::SvXMLAttributeList | ( | ) |
SvXMLAttributeList::SvXMLAttributeList | ( | const SvXMLAttributeList & | r | ) |
Definition at line 40 of file attrlist.cxx.
SvXMLAttributeList::SvXMLAttributeList | ( | const css::uno::Reference< css::xml::sax::XAttributeList > & | rAttrList | ) |
|
overridevirtual |
Definition at line 105 of file attrlist.cxx.
void SvXMLAttributeList::AddAttribute | ( | const OUString & | sName, |
const OUString & | sValue | ||
) |
Definition at line 110 of file attrlist.cxx.
References assert(), u, and vecAttribute.
Referenced by SvXMLExportPropertyMapper::_exportXML(), XMLMutableAttributeList::AddAttribute(), XMLAutoTextEventExport::addNamespaces(), XMLMetaExportComponent::exportDoc(), exportXFormsBinding(), XMLChartExportPropertyMapper::handleSpecialItem(), and XMLTextExportPropertySetMapper::handleSpecialItem().
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.
|
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().
|
overridevirtual |
Definition at line 34 of file attrlist.cxx.
References vecAttribute.
Referenced by AppendAttributeList(), SvxXMLNumRuleExport::exportLevelStyle(), xmloff::OFormExport::exportSubTags(), and SvXMLExportPropertyMapper::exportXML().
|
overridevirtual |
Definition at line 57 of file attrlist.cxx.
References assert(), o3tl::make_unsigned(), sName, and vecAttribute.
|
overridevirtual |
Definition at line 64 of file attrlist.cxx.
|
overridevirtual |
Definition at line 75 of file attrlist.cxx.
|
overridevirtual |
Definition at line 69 of file attrlist.cxx.
References assert(), o3tl::make_unsigned(), and vecAttribute.
Referenced by exportXFormsBinding().
|
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 | ) |
Definition at line 160 of file attrlist.cxx.
References assert(), o3tl::make_unsigned(), and vecAttribute.
Referenced by XMLMutableAttributeList::RemoveAttributeByIndex().
void SvXMLAttributeList::RenameAttributeByIndex | ( | sal_Int16 | i, |
const OUString & | rNewName | ||
) |
Definition at line 167 of file attrlist.cxx.
References assert(), o3tl::make_unsigned(), and vecAttribute.
Referenced by XMLMutableAttributeList::RenameAttributeByIndex().
void SvXMLAttributeList::SetValueByIndex | ( | sal_Int16 | i, |
const OUString & | rValue | ||
) |
Definition at line 150 of file attrlist.cxx.
References assert(), o3tl::make_unsigned(), XMLImageStyle::rValue, and vecAttribute.
Referenced by XMLMutableAttributeList::SetValueByIndex().
|
private |
Definition at line 43 of file attrlist.hxx.
Referenced by AddAttribute(), AppendAttributeList(), Clear(), GetIndexByName(), getLength(), getNameByIndex(), getValueByIndex(), getValueByName(), RemoveAttribute(), RemoveAttributeByIndex(), RenameAttributeByIndex(), SetValueByIndex(), and SvXMLAttributeList().