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 29 of file XMLCodeNameProvider.hxx.

Constructor & Destructor Documentation

◆ XMLCodeNameProvider()

XMLCodeNameProvider::XMLCodeNameProvider ( ScDocument pDoc)
explicit

Definition at line 54 of file XMLCodeNameProvider.cxx.

◆ ~XMLCodeNameProvider()

XMLCodeNameProvider::~XMLCodeNameProvider ( )
overridevirtual

Definition at line 59 of file XMLCodeNameProvider.cxx.

Member Function Documentation

◆ _getCodeName()

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

Definition at line 29 of file XMLCodeNameProvider.cxx.

Referenced by set().

◆ getByName()

uno::Any SAL_CALL XMLCodeNameProvider::getByName ( const OUString &  aName)
overridevirtual

◆ getElementNames()

uno::Sequence< OUString > SAL_CALL XMLCodeNameProvider::getElementNames ( )
overridevirtual

◆ getElementType()

uno::Type SAL_CALL XMLCodeNameProvider::getElementType ( )
overridevirtual

Definition at line 130 of file XMLCodeNameProvider.cxx.

◆ hasByName()

sal_Bool SAL_CALL XMLCodeNameProvider::hasByName ( const OUString &  aName)
overridevirtual

◆ hasElements()

sal_Bool SAL_CALL XMLCodeNameProvider::hasElements ( )
overridevirtual

◆ set()

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

Member Data Documentation

◆ mpDoc

ScDocument* XMLCodeNameProvider::mpDoc
private

Definition at line 31 of file XMLCodeNameProvider.hxx.

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


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