35 #include <osl/diagnose.h>
38 #include <com/sun/star/util/XUpdatable.hpp>
39 #include <com/sun/star/xforms/XModel2.hpp>
42 using com::sun::star::util::XUpdatable;
65 assert(
false &&
"this should not happen" );
71 sal_Int32 nElementToken,
76 switch( nElementToken )
92 assert(
false &&
"Boooo!" );
import the xforms:binding element
SvXMLImport & GetImport()
css::uno::Reference< css::frame::XModel2 > mxModel
virtual void HandleAttribute(const sax_fastparser::FastAttributeList::FastAttributeIter &aIter) override
will be called for each attribute
#define XMLOFF_WARN_UNKNOWN(area, rIter)
handle attributes through an SvXMLTokenMap
css::uno::Reference< css::xforms::XModel2 > mxModel
sal_Int32 getToken() const
import the data type declarations from an xsd:schema element
import the xforms:instance element
import the xforms:submission element
OUString toString() const
This class deliberately does not support XWeak, to improve performance when loading large documents...
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 SvXMLImportContext * HandleChild(sal_Int32 nElementToken, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
will be called for each child element
Handling of tokens in XML:
#define XML_ELEMENT(prefix, name)
void SetError(sal_Int32 nId, const css::uno::Sequence< OUString > &rMsgParams, const OUString &rExceptionMessage, const css::uno::Reference< css::xml::sax::XLocator > &rLocator)
Record an error condition that occurred during import.
virtual void initXForms()
constexpr sal_Int32 TOKEN_MASK
#define XMLOFF_WARN_UNKNOWN_ELEMENT(area, token)
XFormsModelContext(SvXMLImport &rImport)
#define XMLERROR_XFORMS_NO_SCHEMA_SUPPORT