23#include <com/sun/star/uno/Reference.hxx>
26 namespace xml::sax {
class XAttributeList; }
27 namespace xml::dom {
class XDocument; }
29 namespace xforms {
class XModel2; }
38 css::uno::Reference<css::xforms::XModel2>
mxModel;
39 css::uno::Reference<css::xml::dom::XDocument>
mxInstance;
45 const css::uno::Reference<css::xforms::XModel2> & xModel );
53 sal_Int32 nElement,
const css::uno::Reference< css::xml::sax::XFastAttributeList >& AttrList )
override;
55 const OUString& Namespace,
const OUString& Name,
56 const css::uno::Reference< css::xml::sax::XFastAttributeList >& Attribs )
override;
59 virtual void SAL_CALL
endUnknownElement(
const OUString & Namespace,
const OUString & Name)
override;
65 sal_Int32 nElementToken,
66 const css::uno::Reference<css::xml::sax::XFastAttributeList>& xAttrList )
override;
This class deliberately does not support XWeak, to improve performance when loading large documents.
handle attributes through an SvXMLTokenMap
import the xforms:instance element
css::uno::Reference< css::xml::dom::XDocument > mxInstance
virtual SvXMLImportContext * HandleChild(sal_Int32 nElementToken, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
will be called for each child element
XFormsInstanceContext(SvXMLImport &rImport, const css::uno::Reference< css::xforms::XModel2 > &xModel)
virtual void SAL_CALL endFastElement(sal_Int32 nElement) override
endFastElement is called before a context will be destructed, but after an elements context has been ...
virtual void SAL_CALL endUnknownElement(const OUString &Namespace, const OUString &Name) override
css::uno::Reference< css::xforms::XModel2 > mxModel
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &AttrList) override
call HandleChild for each child element in the token map; create a warning for all others.
virtual void HandleAttribute(const sax_fastparser::FastAttributeList::FastAttributeIter &aIter) override
will be called for each attribute
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
class SAL_NO_VTABLE XPropertySet