LibreOffice Module xmloff (master)
1
|
#include <xmlprcon.hxx>
Public Member Functions | |
SvXMLPropertySetContext (SvXMLImport &rImport, sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList, sal_uInt32 nFamily,::std::vector< XMLPropertyState > &rProps, const rtl::Reference< SvXMLImportPropertyMapper > &rMap, sal_Int32 nStartIdx=-1, sal_Int32 nEndIdx=-1) | |
virtual | ~SvXMLPropertySetContext () override |
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL | createFastChildContext (sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &AttrList) override |
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > | createFastChildContext (sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList,::std::vector< XMLPropertyState > &rProperties, const XMLPropertyState &rProp) |
This method is called from this instance implementation of CreateChildContext if the element matches an entry in the SvXMLImportItemMapper with the mid flag MID_FLAG_ELEMENT. More... | |
![]() | |
SvXMLImportContext (SvXMLImport &rImport) | |
A contexts constructor does anything that is required if an element starts. More... | |
virtual | ~SvXMLImportContext () |
A contexts destructor does anything that is required if an element ends. More... | |
virtual void SAL_CALL | startFastElement (sal_Int32 Element, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override |
virtual void SAL_CALL | startUnknownElement (const OUString &Namespace, const OUString &Name, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override |
virtual void SAL_CALL | endFastElement (sal_Int32 Element) override |
endFastElement is called before a context will be destructed, but after an elements context has been parsed. More... | |
virtual void SAL_CALL | endUnknownElement (const OUString &Namespace, const OUString &Name) override |
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL | createUnknownChildContext (const OUString &Namespace, const OUString &Name, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override |
virtual void SAL_CALL | characters (const OUString &aChars) override |
This method is called for all characters that are contained in the current element. More... | |
virtual css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &aType) final override |
virtual void SAL_CALL | acquire () final override throw () |
virtual void SAL_CALL | release () final override throw () |
virtual css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes () final override |
virtual css::uno::Sequence< sal_Int8 > SAL_CALL | getImplementationId () final override |
Protected Attributes | |
sal_Int32 | mnStartIdx |
sal_Int32 | mnEndIdx |
sal_uInt32 | mnFamily |
::std::vector< XMLPropertyState > & | mrProperties |
rtl::Reference< SvXMLImportPropertyMapper > | mxMapper |
Additional Inherited Members | |
![]() | |
SvXMLImport & | GetImport () |
const SvXMLImport & | GetImport () const |
Definition at line 30 of file xmlprcon.hxx.
SvXMLPropertySetContext::SvXMLPropertySetContext | ( | SvXMLImport & | rImport, |
sal_Int32 | nElement, | ||
const css::uno::Reference< css::xml::sax::XFastAttributeList > & | xAttrList, | ||
sal_uInt32 | nFamily, | ||
::std::vector< XMLPropertyState > & | rProps, | ||
const rtl::Reference< SvXMLImportPropertyMapper > & | rMap, | ||
sal_Int32 | nStartIdx = -1 , |
||
sal_Int32 | nEndIdx = -1 |
||
) |
Definition at line 31 of file xmlprcon.cxx.
References SvXMLImportContext::GetImport(), mnEndIdx, mnFamily, mnStartIdx, mrProperties, and mxMapper.
|
overridevirtual |
Definition at line 51 of file xmlprcon.cxx.
|
overridevirtual |
Reimplemented from SvXMLImportContext.
Definition at line 55 of file xmlprcon.cxx.
References MID_FLAG_ELEMENT_ITEM_IMPORT, mnEndIdx, mnFamily, mnStartIdx, mrProperties, mxMapper, and XMLOFF_WARN_UNKNOWN_ELEMENT.
Referenced by XMLChartPropertyContext::createFastChildContext(), XMLTextPropertySetContext::createFastChildContext(), XMLShapePropertySetContext::createFastChildContext(), and PagePropertySetContext::createFastChildContext().
|
virtual |
This method is called from this instance implementation of CreateChildContext if the element matches an entry in the SvXMLImportItemMapper with the mid flag MID_FLAG_ELEMENT.
Reimplemented in PagePropertySetContext, XMLTextPropertySetContext, XMLShapePropertySetContext, and XMLChartPropertyContext.
Definition at line 78 of file xmlprcon.cxx.
References XMLOFF_WARN_UNKNOWN_ELEMENT.
|
protected |
Definition at line 34 of file xmlprcon.hxx.
Referenced by createFastChildContext(), and SvXMLPropertySetContext().
|
protected |
Definition at line 35 of file xmlprcon.hxx.
Referenced by createFastChildContext(), and SvXMLPropertySetContext().
|
protected |
Definition at line 33 of file xmlprcon.hxx.
Referenced by createFastChildContext(), and SvXMLPropertySetContext().
|
protected |
Definition at line 36 of file xmlprcon.hxx.
Referenced by createFastChildContext(), XMLShapePropertySetContext::endFastElement(), and SvXMLPropertySetContext().
|
protected |
Definition at line 37 of file xmlprcon.hxx.
Referenced by XMLChartPropertyContext::createFastChildContext(), XMLShapePropertySetContext::createFastChildContext(), XMLTextPropertySetContext::createFastChildContext(), PagePropertySetContext::createFastChildContext(), createFastChildContext(), and SvXMLPropertySetContext().