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_Int64 SAL_CALL | getSomething (const css::uno::Sequence< sal_Int8 > &aIdentifier) 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 |
Static Public Member Functions | |
static const css::uno::Sequence< sal_Int8 > & | getUnoTunnelId () throw () |
Private Member Functions | |
SvXMLAttributeList * | GetMutableAttrList () |
Private Attributes | |
css::uno::Reference< css::xml::sax::XAttributeList > | m_xAttrList |
SvXMLAttributeList * | m_pMutableAttrList |
Definition at line 31 of file MutableAttrList.hxx.
XMLMutableAttributeList::XMLMutableAttributeList | ( | ) |
Definition at line 40 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 56 of file MutableAttrList.cxx.
References m_xAttrList.
void XMLMutableAttributeList::AddAttribute | ( | const OUString & | sName, |
const OUString & | sValue | ||
) |
Definition at line 130 of file MutableAttrList.cxx.
References SvXMLAttributeList::AddAttribute(), and GetMutableAttrList().
Referenced by XMLPersAttrListTContext::AddAttribute(), XMLTransformerBase::ProcessAttrList(), XMLChartOASISTransformerContext::StartElement(), XMLControlOASISTransformerContext::StartElement(), XMLFrameOOoTransformerContext::StartElement(), XMLDocumentTransformerContext::StartElement(), XMLFormPropOASISTransformerContext::StartElement(), XMLEventOASISTransformerContext::StartElement(), XMLProcAddAttrTransformerContext::StartElement(), XMLStyleOOoTContext::StartElement(), XMLRenameElemTransformerContext::StartElement(), and XMLPropertiesTContext_Impl::StartElement().
void XMLMutableAttributeList::AppendAttributeList | ( | const css::uno::Reference< css::xml::sax::XAttributeList > & | ) |
Definition at line 147 of file MutableAttrList.cxx.
References SvXMLAttributeList::AppendAttributeList(), and GetMutableAttrList().
|
overridevirtual |
Definition at line 117 of file MutableAttrList.cxx.
References m_xAttrList.
sal_Int16 XMLMutableAttributeList::GetIndexByName | ( | const OUString & | rName | ) | const |
Definition at line 153 of file MutableAttrList.cxx.
References SvXMLAttributeList::GetIndexByName(), i, m_pMutableAttrList, m_xAttrList, nCount, and nIndex.
Referenced by XMLEventOASISTransformerContext::StartElement(), and XMLPropertiesTContext_Impl::StartElement().
|
overridevirtual |
Definition at line 82 of file MutableAttrList.cxx.
References m_xAttrList.
Referenced by XMLChartOASISTransformerContext::StartElement(), XMLChartOOoTransformerContext::StartElement(), XMLDlgOASISTransformerContext::StartElement(), XMLDocumentTransformerContext::StartElement(), XMLAxisOOoContext::StartElement(), XMLEventOASISTransformerContext::StartElement(), XMLEventOOoTransformerContext::StartElement(), XMLNotesTransformerContext::StartElement(), XMLStyleOASISTContext::StartElement(), XMLFormPropOOoTransformerContext::StartElement(), and XMLStyleOOoTContext::StartElement().
|
private |
Definition at line 29 of file MutableAttrList.cxx.
References m_pMutableAttrList, and m_xAttrList.
Referenced by AddAttribute(), AppendAttributeList(), RemoveAttributeByIndex(), RenameAttributeByIndex(), and SetValueByIndex().
|
overridevirtual |
Definition at line 88 of file MutableAttrList.cxx.
References m_xAttrList.
|
overridevirtual |
Definition at line 72 of file MutableAttrList.cxx.
|
overridevirtual |
Definition at line 94 of file MutableAttrList.cxx.
References m_xAttrList.
|
overridevirtual |
Definition at line 104 of file MutableAttrList.cxx.
References m_xAttrList.
|
static |
Definition at line 66 of file MutableAttrList.cxx.
|
overridevirtual |
Definition at line 99 of file MutableAttrList.cxx.
References m_xAttrList.
Referenced by XMLChartOASISTransformerContext::StartElement(), XMLChartOOoTransformerContext::StartElement(), XMLDlgOASISTransformerContext::StartElement(), XMLControlOASISTransformerContext::StartElement(), XMLAxisOOoContext::StartElement(), XMLEventOASISTransformerContext::StartElement(), XMLEventOOoTransformerContext::StartElement(), XMLStyleOASISTContext::StartElement(), XMLStyleOOoTContext::StartElement(), and XMLPropertiesTContext_Impl::StartElement().
|
overridevirtual |
Definition at line 110 of file MutableAttrList.cxx.
References m_xAttrList.
void XMLMutableAttributeList::RemoveAttributeByIndex | ( | sal_Int16 | i | ) |
Definition at line 136 of file MutableAttrList.cxx.
References GetMutableAttrList(), and SvXMLAttributeList::RemoveAttributeByIndex().
Referenced by XMLTransformerBase::ProcessAttrList(), XMLChartOOoTransformerContext::StartElement(), XMLCreateElemTransformerContext::StartElement(), XMLControlOASISTransformerContext::StartElement(), XMLFrameOOoTransformerContext::StartElement(), XMLFormPropOASISTransformerContext::StartElement(), XMLEventOASISTransformerContext::StartElement(), XMLEventOOoTransformerContext::StartElement(), XMLNotesTransformerContext::StartElement(), XMLMergeElemTransformerContext::StartElement(), XMLStyleOASISTContext::StartElement(), and XMLFormPropOOoTransformerContext::StartElement().
void XMLMutableAttributeList::RenameAttributeByIndex | ( | sal_Int16 | i, |
const OUString & | rNewName | ||
) |
Definition at line 141 of file MutableAttrList.cxx.
References GetMutableAttrList(), and SvXMLAttributeList::RenameAttributeByIndex().
Referenced by XMLTransformerBase::ProcessAttrList(), XMLControlOASISTransformerContext::StartElement(), XMLDocumentTransformerContext::StartElement(), XMLFormPropOASISTransformerContext::StartElement(), XMLAxisOOoContext::StartElement(), and XMLFormPropOOoTransformerContext::StartElement().
void XMLMutableAttributeList::SetValueByIndex | ( | sal_Int16 | i, |
const OUString & | rValue | ||
) |
Definition at line 124 of file MutableAttrList.cxx.
References GetMutableAttrList(), and SvXMLAttributeList::SetValueByIndex().
Referenced by XMLTransformerBase::ProcessAttrList(), XMLChartOOoTransformerContext::StartElement(), XMLDlgOASISTransformerContext::StartElement(), XMLChartOASISTransformerContext::StartElement(), XMLControlOASISTransformerContext::StartElement(), XMLDocumentTransformerContext::StartElement(), XMLFormPropOASISTransformerContext::StartElement(), XMLAxisOOoContext::StartElement(), XMLEventOASISTransformerContext::StartElement(), XMLEventOOoTransformerContext::StartElement(), XMLNotesTransformerContext::StartElement(), XMLStyleOASISTContext::StartElement(), XMLStyleOOoTContext::StartElement(), XMLPropertiesTContext_Impl::StartElement(), and XMLTransformerBase::startElement().
|
private |
Definition at line 38 of file MutableAttrList.hxx.
Referenced by GetIndexByName(), GetMutableAttrList(), and XMLMutableAttributeList().
|
private |
Definition at line 36 of file MutableAttrList.hxx.
Referenced by createClone(), GetIndexByName(), getLength(), GetMutableAttrList(), getNameByIndex(), getTypeByIndex(), getTypeByName(), getValueByIndex(), getValueByName(), XMLMutableAttributeList(), and ~XMLMutableAttributeList().