22#include <com/sun/star/uno/XComponentContext.hpp>
44 return "com.sun.star.comp.oox.core.FastTokenHandler";
54 Sequence<OUString>
aServiceNames {
"com.sun.star.xml.sax.FastTokenHandler" };
75extern "C" SAL_DLLPUBLIC_EXPORT uno::XInterface*
77 uno::XComponentContext* , uno::Sequence<uno::Any>
const& )
css::uno::Sequence< sal_Int8 > const & getUtf8TokenName(sal_Int32 nToken) const
Returns the UTF8 name of the passed token identifier as byte sequence.
sal_Int32 getTokenFromUtf8(const css::uno::Sequence< sal_Int8 > &rUtf8Name) const
Returns the token identifier for the passed UTF8 token name.
sal_Int32 getTokenFromUTF8(const char *pToken, sal_Int32 nLength) const
Returns the token identifier for a UTF8 string passed in pToken.
Wrapper implementing the com.sun.star.xml.sax.XFastTokenHandler API interface that provides access to...
virtual sal_Int32 getTokenDirect(const char *pToken, sal_Int32 nLength) const override
const TokenMap & mrTokenMap
Reference to global token map singleton.
virtual OUString SAL_CALL getImplementationName() override
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getUTF8Identifier(sal_Int32 nToken) override
virtual sal_Int32 SAL_CALL getTokenFromUTF8(const css::uno::Sequence< sal_Int8 > &Identifier) override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual ~FastTokenHandler() override
virtual sal_Bool SAL_CALL supportsService(const OUString &rServiceName) override
Sequence< OUString > aServiceNames
SAL_DLLPUBLIC_EXPORT uno::XInterface * com_sun_star_comp_oox_core_FastTokenHandler_get_implementation(uno::XComponentContext *, uno::Sequence< uno::Any > const &)
bool CPPUHELPER_DLLPUBLIC supportsService(css::lang::XServiceInfo *implementation, rtl::OUString const &name)
TokenMap & StaticTokenMap()