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 (std::u16string_view 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 1248 of file xlchart.hxx.

Member Typedef Documentation

◆ XclChTypeInfoMap

Definition at line 1261 of file xlchart.hxx.

Constructor & Destructor Documentation

◆ XclChTypeInfoProvider()

XclChTypeInfoProvider::XclChTypeInfoProvider ( )
explicit

Definition at line 509 of file xlchart.cxx.

References maInfoMap.

Member Function Documentation

◆ GetTypeInfo()

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

Returns chart type info for a unique chart type identifier.

Definition at line 515 of file xlchart.cxx.

References maInfoMap.

Referenced by GetTypeInfoFromRecId(), and GetTypeInfoFromService().

◆ GetTypeInfoFromRecId()

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 522 of file xlchart.cxx.

References EXC_CHTYPEID_UNKNOWN, and GetTypeInfo().

◆ GetTypeInfoFromService()

const XclChTypeInfo & XclChTypeInfoProvider::GetTypeInfoFromService ( std::u16string_view  rServiceName) const

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

Definition at line 533 of file xlchart.cxx.

References o3tl::equalsAscii(), EXC_CHTYPEID_UNKNOWN, and GetTypeInfo().

Member Data Documentation

◆ maInfoMap

XclChTypeInfoMap XclChTypeInfoProvider::maInfoMap
private

Definition at line 1262 of file xlchart.hxx.

Referenced by GetTypeInfo(), and XclChTypeInfoProvider().


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