40 const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList )
52 sal_Int32 nElement,
const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList )
57 if( pContext ==
nullptr )
65 const OUString& Namespace,
const OUString& Name,
const css::uno::Reference< css::xml::sax::XFastAttributeList >& )
83 const sal_Unicode* pEnd = &( pBegin[ rCharacters.getLength() ] );
SvXMLImport & GetImport()
FastAttributeList & castToFastAttributeList(const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList)
#define XMLERROR_UNKNOWN_ELEMENT
static bool lcl_IsWhiteSpace(sal_Unicode c)
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 &rChars) override
Create a warning for all non-namespace character content.
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...
static const OUString & getNameFromToken(sal_Int32 nToken)
This class deliberately does not support XWeak, to improve performance when loading large documents...
virtual SvXMLImportContext * HandleChild(sal_Int32 nElementToken, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList)=0
will be called for each child element
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.
TokenContext(SvXMLImport &rImport)
virtual void SAL_CALL startFastElement(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
call HandleAttribute for each attribute in the token map; create a warning for all others...
virtual void HandleAttribute(const sax_fastparser::FastAttributeList::FastAttributeIter &aIter)=0
will be called for each attribute
#define XMLERROR_UNKNOWN_CHARACTERS