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

void SvxChartColorTable::append ( const XColorEntry _rEntry)

Definition at line 65 of file cfgchart.cxx.

Referenced by SvxChartOptions::RetrieveOptions().

void SvxChartColorTable::clear ( )

Definition at line 60 of file cfgchart.cxx.

Referenced by SvxChartOptions::RetrieveOptions().

Color SvxChartColorTable::getColor ( size_t  _nIndex) const

Definition at line 48 of file cfgchart.cxx.

References COL_BLACK, and SAL_WARN.

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

OUString SvxChartColorTable::getDefaultName ( size_t  _nIndex)

Definition at line 114 of file cfgchart.cxx.

References aName, CuiResId(), and nPos.

Referenced by IMPL_LINK_NOARG().

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

Definition at line 138 of file cfgchart.cxx.

References getColor(), i, and m_aColorEntries.

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

Definition at line 37 of file cfgchart.cxx.

References SAL_WARN.

void SvxChartColorTable::remove ( size_t  _nIndex)

Definition at line 70 of file cfgchart.cxx.

References i.

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

Definition at line 81 of file cfgchart.cxx.

References DBG_ASSERT.

size_t SvxChartColorTable::size ( ) const

Definition at line 32 of file cfgchart.cxx.

Referenced by SvxChartOptions::ImplCommit().

void SvxChartColorTable::useDefault ( )

Definition at line 89 of file cfgchart.cxx.

References i, and ROW_COLOR_COUNT.

Member Data Documentation

std::vector< XColorEntry > SvxChartColorTable::m_aColorEntries

Definition at line 31 of file cfgchart.hxx.

Referenced by operator==().

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