LibreOffice Module cui (master) 1
|
#include <cfgchart.hxx>
Public Member Functions | |
size_t | size () const |
const XColorEntry & | operator[] (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< XColorEntry > | m_aColorEntries |
Definition at line 26 of file cfgchart.hxx.
void SvxChartColorTable::append | ( | const XColorEntry & | _rEntry | ) |
Definition at line 67 of file cfgchart.cxx.
References m_aColorEntries.
Referenced by SvxChartOptions::GetDefaultColors(), and useDefault().
void SvxChartColorTable::clear | ( | ) |
Color SvxChartColorTable::getColor | ( | size_t | _nIndex | ) | const |
Definition at line 50 of file cfgchart.cxx.
References COL_BLACK(), m_aColorEntries, and SAL_WARN.
Referenced by operator==(), and SvxChartOptions::SetDefaultColors().
|
static |
Definition at line 116 of file cfgchart.cxx.
References aName, CuiResId(), and nPos.
Referenced by IMPL_LINK_NOARG(), remove(), and useDefault().
bool SvxChartColorTable::operator== | ( | const SvxChartColorTable & | _rOther | ) | const |
Definition at line 140 of file cfgchart.cxx.
References getColor(), i, and m_aColorEntries.
const XColorEntry & SvxChartColorTable::operator[] | ( | size_t | _nIndex | ) | const |
Definition at line 39 of file cfgchart.cxx.
References m_aColorEntries, and SAL_WARN.
void SvxChartColorTable::remove | ( | size_t | _nIndex | ) |
Definition at line 72 of file cfgchart.cxx.
References getDefaultName(), i, and m_aColorEntries.
void SvxChartColorTable::replace | ( | size_t | _nIndex, |
const XColorEntry & | _rEntry | ||
) |
Definition at line 83 of file cfgchart.cxx.
References DBG_ASSERT, and m_aColorEntries.
size_t SvxChartColorTable::size | ( | ) | const |
Definition at line 34 of file cfgchart.cxx.
References m_aColorEntries.
Referenced by SvxChartOptions::SetDefaultColors().
void SvxChartColorTable::useDefault | ( | ) |
Definition at line 91 of file cfgchart.cxx.
References append(), clear(), getDefaultName(), i, and ROW_COLOR_COUNT.
|
private |
Definition at line 29 of file cfgchart.hxx.
Referenced by append(), clear(), getColor(), operator==(), operator[](), remove(), replace(), and size().