20#include <com/sun/star/xml/sax/SAXException.hpp>
21#include <com/sun/star/xml/sax/XDocumentHandler.hpp>
22#include <com/sun/star/xml/sax/XAttributeList.hpp>
24#include <osl/diagnose.h>
39 &aLocalName ) == nPrefix &&
50 : m_rTransformer(rImp)
51 , m_aQName(
std::move(aQName))
56 const OUString& rLocalName,
57 const OUString& rQName,
58 const Reference< XAttributeList >& )
85 OSL_ENSURE(
false,
"context is not persistent" );
90 OSL_ENSURE(
false,
"context is not persistent" );
sal_uInt16 GetKeyByAttrName(const OUString &rAttrName, OUString *pPrefix, OUString *pLocalName, OUString *pNamespace) const
bool HasNamespace(sal_uInt16 nPrefix) const
virtual rtl::Reference< XMLTransformerContext > CreateChildContext(sal_uInt16 nPrefix, const OUString &rLocalName, const OUString &rQName, const css::uno::Reference< css::xml::sax::XAttributeList > &xAttrList)
XMLTransformerContext(XMLTransformerBase &rTransformer, OUString aQName)
virtual void ExportContent()
virtual void Characters(const OUString &rChars)
bool HasQName(sal_uInt16 nPrefix, ::xmloff::token::XMLTokenEnum eToken) const
XMLTransformerBase & GetTransformer()
virtual void StartElement(const css::uno::Reference< css::xml::sax::XAttributeList > &xAttrList)
XMLTransformerBase & m_rTransformer
virtual void EndElement()
virtual bool IsPersistent() const
XMLTokenEnum
The enumeration of all XML tokens.
bool IsXMLToken(std::u16string_view rString, enum XMLTokenEnum eToken)
compare eToken to the string