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

Member Function Documentation

void SvxChartColorTable::append ( const XColorEntry _rEntry)

Definition at line 66 of file cfgchart.cxx.

Referenced by SvxChartOptions::RetrieveOptions().

void SvxChartColorTable::clear ( )

Definition at line 61 of file cfgchart.cxx.

Referenced by SvxChartOptions::RetrieveOptions().

Color SvxChartColorTable::getColor ( size_t  _nIndex) const

Definition at line 49 of file cfgchart.cxx.

References COL_BLACK(), and SAL_WARN.

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

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().

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

Definition at line 139 of file cfgchart.cxx.

References getColor(), i, and m_aColorEntries.

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

Definition at line 38 of file cfgchart.cxx.

References SAL_WARN.

void SvxChartColorTable::remove ( size_t  _nIndex)

Definition at line 71 of file cfgchart.cxx.

References i.

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

Definition at line 82 of file cfgchart.cxx.

References DBG_ASSERT.

size_t SvxChartColorTable::size ( ) const

Definition at line 33 of file cfgchart.cxx.

Referenced by SvxChartOptions::ImplCommit().

void SvxChartColorTable::useDefault ( )

Definition at line 90 of file cfgchart.cxx.

References i, and ROW_COLOR_COUNT.

Member Data Documentation

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

Definition at line 32 of file cfgchart.hxx.

Referenced by operator==().


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