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

Provides access to chart type info structs for all available chart types. More...

#include <xlchart.hxx>

Public Member Functions

 XclChTypeInfoProvider ()
 
const XclChTypeInfoGetTypeInfo (XclChTypeId eType) const
 Returns chart type info for a unique chart type identifier. More...
 
const XclChTypeInfoGetTypeInfoFromRecId (sal_uInt16 nRecId) const
 Returns the first fitting chart type info for an Excel chart type record identifier. More...
 
const XclChTypeInfoGetTypeInfoFromService (const OUString &rServiceName) const
 Returns the first fitting chart type info for the passed service name. More...
 

Private Types

typedef ::std::map< XclChTypeId, const XclChTypeInfo * > XclChTypeInfoMap
 

Private Attributes

XclChTypeInfoMap maInfoMap
 

Detailed Description

Provides access to chart type info structs for all available chart types.

Definition at line 1247 of file xlchart.hxx.

Member Typedef Documentation

Definition at line 1260 of file xlchart.hxx.

Constructor & Destructor Documentation

XclChTypeInfoProvider::XclChTypeInfoProvider ( )
explicit

Definition at line 507 of file xlchart.cxx.

References maInfoMap.

Member Function Documentation

const XclChTypeInfo & XclChTypeInfoProvider::GetTypeInfo ( XclChTypeId  eType) const

Returns chart type info for a unique chart type identifier.

Definition at line 513 of file xlchart.cxx.

References maInfoMap.

Referenced by GetTypeInfoFromRecId(), and GetTypeInfoFromService().

const XclChTypeInfo & XclChTypeInfoProvider::GetTypeInfoFromRecId ( sal_uInt16  nRecId) const

Returns the first fitting chart type info for an Excel chart type record identifier.

Definition at line 520 of file xlchart.cxx.

References EXC_CHTYPEID_UNKNOWN, and GetTypeInfo().

const XclChTypeInfo & XclChTypeInfoProvider::GetTypeInfoFromService ( const OUString &  rServiceName) const

Returns the first fitting chart type info for the passed service name.

Definition at line 531 of file xlchart.cxx.

References EXC_CHTYPEID_UNKNOWN, and GetTypeInfo().

Member Data Documentation

XclChTypeInfoMap XclChTypeInfoProvider::maInfoMap
private

Definition at line 1261 of file xlchart.hxx.

Referenced by GetTypeInfo(), and XclChTypeInfoProvider().


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