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

#include <cfgchart.hxx>

Public Member Functions

size_t size () const
 
const XColorEntryoperator[] (size_t _nIndex) const
 
Color getColor (size_t _nIndex) const
 
void clear ()
 
void append (const XColorEntry &_rEntry)
 
void remove (size_t _nIndex)
 
void replace (size_t _nIndex, const XColorEntry &_rEntry)
 
void useDefault ()
 
bool operator== (const SvxChartColorTable &_rOther) const
 

Static Public Member Functions

static OUString getDefaultName (size_t _nIndex)
 

Private Attributes

std::vector< XColorEntrym_aColorEntries
 

Detailed Description

Definition at line 28 of file cfgchart.hxx.

Member Function Documentation

◆ append()

void SvxChartColorTable::append ( const XColorEntry _rEntry)

Definition at line 66 of file cfgchart.cxx.

References m_aColorEntries.

Referenced by SvxChartOptions::RetrieveOptions(), and useDefault().

◆ clear()

void SvxChartColorTable::clear ( )

Definition at line 61 of file cfgchart.cxx.

References m_aColorEntries.

Referenced by SvxChartOptions::RetrieveOptions(), and useDefault().

◆ getColor()

Color SvxChartColorTable::getColor ( size_t  _nIndex) const

Definition at line 49 of file cfgchart.cxx.

References COL_BLACK(), m_aColorEntries, and SAL_WARN.

Referenced by SvxChartOptions::ImplCommit(), and operator==().

◆ getDefaultName()

OUString SvxChartColorTable::getDefaultName ( size_t  _nIndex)
static

Definition at line 115 of file cfgchart.cxx.

References aName, CuiResId(), and nPos.

Referenced by IMPL_LINK_NOARG(), remove(), and useDefault().

◆ operator==()

bool SvxChartColorTable::operator== ( const SvxChartColorTable _rOther) const

Definition at line 139 of file cfgchart.cxx.

References getColor(), i, and m_aColorEntries.

◆ operator[]()

const XColorEntry & SvxChartColorTable::operator[] ( size_t  _nIndex) const

Definition at line 38 of file cfgchart.cxx.

References m_aColorEntries, and SAL_WARN.

◆ remove()

void SvxChartColorTable::remove ( size_t  _nIndex)

Definition at line 71 of file cfgchart.cxx.

References getDefaultName(), i, and m_aColorEntries.

◆ replace()

void SvxChartColorTable::replace ( size_t  _nIndex,
const XColorEntry _rEntry 
)

Definition at line 82 of file cfgchart.cxx.

References DBG_ASSERT, and m_aColorEntries.

◆ size()

size_t SvxChartColorTable::size ( ) const

Definition at line 33 of file cfgchart.cxx.

References m_aColorEntries.

Referenced by SvxChartOptions::ImplCommit().

◆ useDefault()

void SvxChartColorTable::useDefault ( )

Definition at line 90 of file cfgchart.cxx.

References append(), clear(), getDefaultName(), i, and ROW_COLOR_COUNT.

Member Data Documentation

◆ m_aColorEntries

std::vector< XColorEntry > SvxChartColorTable::m_aColorEntries
private

Definition at line 31 of file cfgchart.hxx.

Referenced by append(), clear(), getColor(), operator==(), operator[](), remove(), replace(), and size().


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