LibreOffice Module oox (master)  1
Public Member Functions | Private Attributes | List of all members
oox::core::FastTokenHandler Class Referencefinal

Wrapper implementing the com.sun.star.xml.sax.XFastTokenHandler API interface that provides access to the tokens generated from the internal token name list. More...

#include <fasttokenhandler.hxx>

Inheritance diagram for oox::core::FastTokenHandler:
[legend]
Collaboration diagram for oox::core::FastTokenHandler:
[legend]

Public Member Functions

 FastTokenHandler ()
 
virtual ~FastTokenHandler () override
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &rServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () 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 sal_Int32 getTokenDirect (const char *pToken, sal_Int32 nLength) const override
 

Private Attributes

const TokenMapmrTokenMap
 Reference to global token map singleton. More...
 

Detailed Description

Wrapper implementing the com.sun.star.xml.sax.XFastTokenHandler API interface that provides access to the tokens generated from the internal token name list.

Definition at line 40 of file fasttokenhandler.hxx.

Constructor & Destructor Documentation

oox::core::FastTokenHandler::FastTokenHandler ( )
explicit

Definition at line 32 of file fasttokenhandler.cxx.

References get().

oox::core::FastTokenHandler::~FastTokenHandler ( )
overridevirtual

Definition at line 37 of file fasttokenhandler.cxx.

Member Function Documentation

OUString SAL_CALL oox::core::FastTokenHandler::getImplementationName ( )
overridevirtual

Definition at line 42 of file fasttokenhandler.cxx.

Sequence< OUString > SAL_CALL oox::core::FastTokenHandler::getSupportedServiceNames ( )
overridevirtual

Definition at line 52 of file fasttokenhandler.cxx.

References aServiceNames.

sal_Int32 oox::core::FastTokenHandler::getTokenDirect ( const char *  pToken,
sal_Int32  nLength 
) const
overridevirtual

Definition at line 68 of file fasttokenhandler.cxx.

References oox::TokenMap::getTokenFromUTF8(), and mrTokenMap.

virtual sal_Int32 SAL_CALL oox::core::FastTokenHandler::getTokenFromUTF8 ( const css::uno::Sequence< sal_Int8 > &  Identifier)
overridevirtual
Sequence< sal_Int8 > oox::core::FastTokenHandler::getUTF8Identifier ( sal_Int32  nToken)
overridevirtual

Definition at line 58 of file fasttokenhandler.cxx.

References oox::TokenMap::getUtf8TokenName(), and mrTokenMap.

sal_Bool SAL_CALL oox::core::FastTokenHandler::supportsService ( const OUString &  rServiceName)
overridevirtual

Definition at line 47 of file fasttokenhandler.cxx.

References cppu::supportsService().

Member Data Documentation

const TokenMap& oox::core::FastTokenHandler::mrTokenMap
private

Reference to global token map singleton.

Definition at line 60 of file fasttokenhandler.hxx.

Referenced by getTokenDirect(), and getUTF8Identifier().


The documentation for this class was generated from the following files: