LibreOffice Module sc (master)  1
Public Member Functions | Static Public Member Functions | Static Private Member Functions | Private Attributes | List of all members
XMLCodeNameProvider Class Reference

#include <XMLCodeNameProvider.hxx>

Inheritance diagram for XMLCodeNameProvider:
[legend]
Collaboration diagram for XMLCodeNameProvider:
[legend]

Public Member Functions

 XMLCodeNameProvider (ScDocument *pDoc)
 
virtual ~XMLCodeNameProvider () override
 
virtual sal_Bool SAL_CALL hasByName (const OUString &aName) override
 
virtual css::uno::Any SAL_CALL getByName (const OUString &aName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getElementNames () override
 
virtual css::uno::Type SAL_CALL getElementType () override
 
virtual sal_Bool SAL_CALL hasElements () override
 

Static Public Member Functions

static void set (const css::uno::Reference< css::container::XNameAccess > &xNameAccess, ScDocument *pDoc)
 

Static Private Member Functions

static bool _getCodeName (const css::uno::Any &aAny, OUString &rCodeName)
 

Private Attributes

ScDocumentmpDoc
 

Detailed Description

Definition at line 30 of file XMLCodeNameProvider.hxx.

Constructor & Destructor Documentation

XMLCodeNameProvider::XMLCodeNameProvider ( ScDocument pDoc)
explicit

Definition at line 52 of file XMLCodeNameProvider.cxx.

XMLCodeNameProvider::~XMLCodeNameProvider ( )
overridevirtual

Definition at line 57 of file XMLCodeNameProvider.cxx.

Member Function Documentation

bool XMLCodeNameProvider::_getCodeName ( const css::uno::Any &  aAny,
OUString &  rCodeName 
)
staticprivate

Definition at line 27 of file XMLCodeNameProvider.cxx.

Referenced by set().

uno::Any SAL_CALL XMLCodeNameProvider::getByName ( const OUString &  aName)
overridevirtual
uno::Sequence< OUString > SAL_CALL XMLCodeNameProvider::getElementNames ( )
overridevirtual
uno::Type SAL_CALL XMLCodeNameProvider::getElementType ( )
overridevirtual

Definition at line 132 of file XMLCodeNameProvider.cxx.

sal_Bool SAL_CALL XMLCodeNameProvider::hasByName ( const OUString &  aName)
overridevirtual
sal_Bool SAL_CALL XMLCodeNameProvider::hasElements ( )
overridevirtual
void XMLCodeNameProvider::set ( const css::uno::Reference< css::container::XNameAccess > &  xNameAccess,
ScDocument pDoc 
)
static

Member Data Documentation

ScDocument* XMLCodeNameProvider::mpDoc
private

Definition at line 32 of file XMLCodeNameProvider.hxx.

Referenced by getByName(), getElementNames(), hasByName(), and hasElements().


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