LibreOffice Module sc (master)
1
|
#include <colorscale.hxx>
Public Types | |
typedef ScIconSetFormatData::Entries_t::iterator | iterator |
typedef ScIconSetFormatData::Entries_t::const_iterator | const_iterator |
![]() | |
enum | Type { Type::Condition, Type::ExtCondition, Type::Colorscale, Type::Databar, Type::Iconset, Type::Date } |
Static Public Member Functions | |
static const char * | getIconSetName (ScIconSetType eType) |
static sal_Int32 | getIconSetElements (ScIconSetType eType) |
static OUString | getIconName (ScIconSetType eType, sal_Int32 nIndex) |
static BitmapEx & | getBitmap (sc::IconSetBitmapMap &rBitmapMap, ScIconSetType eType, sal_Int32 nIndex) |
Static Public Attributes | |
static const ScIconSetMap | g_IconSetMap [] |
Private Member Functions | |
double | GetMinValue () const |
double | GetMaxValue () const |
double | CalcValue (double nMin, double nMax, const ScIconSetFormat::const_iterator &itr) const |
Private Attributes | |
std::unique_ptr< ScIconSetFormatData > | mpFormatData |
Additional Inherited Members | |
![]() | |
std::vector< double > & | getValues () const |
double | getMinValue () const |
double | getMaxValue () const |
![]() | |
ScConditionalFormat * | mpParent |
![]() | |
ScDocument * | mpDoc |
Definition at line 358 of file colorscale.hxx.
typedef ScIconSetFormatData::Entries_t::const_iterator ScIconSetFormat::const_iterator |
Definition at line 388 of file colorscale.hxx.
typedef ScIconSetFormatData::Entries_t::iterator ScIconSetFormat::iterator |
Definition at line 387 of file colorscale.hxx.
ScIconSetFormat::ScIconSetFormat | ( | ScDocument * | pDoc | ) |
Definition at line 985 of file colorscale.cxx.
Referenced by Clone().
ScIconSetFormat::ScIconSetFormat | ( | ScDocument * | pDoc, |
const ScIconSetFormat & | rFormat | ||
) |
Definition at line 991 of file colorscale.cxx.
ScIconSetFormat::iterator ScIconSetFormat::begin | ( | ) |
Definition at line 1125 of file colorscale.cxx.
References mpFormatData.
Referenced by GetIconSetInfo(), GetMinValue(), SetParent(), UpdateDeleteTab(), UpdateInsertTab(), UpdateMoveTab(), and UpdateReference().
ScIconSetFormat::const_iterator ScIconSetFormat::begin | ( | ) | const |
Definition at line 1130 of file colorscale.cxx.
References mpFormatData.
|
private |
Definition at line 1169 of file colorscale.cxx.
References COLORSCALE_MAX, COLORSCALE_MIN, COLORSCALE_PERCENT, COLORSCALE_PERCENTILE, and ScColorFormat::getValues().
Referenced by GetIconSetInfo().
|
overridevirtual |
Implements ScFormatEntry.
Definition at line 997 of file colorscale.cxx.
References ScIconSetFormat().
ScIconSetFormat::iterator ScIconSetFormat::end | ( | ) |
Definition at line 1135 of file colorscale.cxx.
References mpFormatData.
Referenced by GetIconSetInfo(), SetParent(), UpdateDeleteTab(), UpdateInsertTab(), UpdateMoveTab(), and UpdateReference().
ScIconSetFormat::const_iterator ScIconSetFormat::end | ( | ) | const |
Definition at line 1140 of file colorscale.cxx.
References mpFormatData.
void ScIconSetFormat::EnsureSize | ( | ) |
Makes sure that the mpFormatData does not contain valid entries.
Should be called when it is not sure that the format is valid.
Definition at line 1422 of file colorscale.cxx.
References g_IconSetMap, i, and mpFormatData.
|
static |
Definition at line 1405 of file colorscale.cxx.
References assert(), and getIconName().
|
static |
Definition at line 1387 of file colorscale.cxx.
Referenced by getBitmap(), and ScIconSetFrmtDataEntry::ScIconSetFrmtDataEntry().
const ScIconSetFormatData * ScIconSetFormat::GetIconSetData | ( | ) | const |
Definition at line 1022 of file colorscale.cxx.
References mpFormatData.
Referenced by ScXMLExport::ExportConditionalFormat(), ScIconSetEntryObj::getCoreObject(), ScIconSetFormatObj::getPropertyValue(), XclExpIconSet::SaveXml(), ScIconSetFrmtEntry::ScIconSetFrmtEntry(), ScIconSetFormatObj::setPropertyValue(), XclExpCondfmt::XclExpCondfmt(), XclExpExtConditionalFormatting::XclExpExtConditionalFormatting(), and XclExpExtIconSet::XclExpExtIconSet().
ScIconSetFormatData * ScIconSetFormat::GetIconSetData | ( | ) |
Definition at line 1017 of file colorscale.cxx.
References mpFormatData.
|
static |
Definition at line 1378 of file colorscale.cxx.
References ScIconSetMap::nElements.
Referenced by ScCellShell::ExecuteEdit().
std::unique_ptr< ScIconSetInfo > ScIconSetFormat::GetIconSetInfo | ( | const ScAddress & | rAddr | ) | const |
Definition at line 1027 of file colorscale.cxx.
References begin(), CalcValue(), end(), GetMaxValue(), GetMinValue(), ScRefCellValue::getValue(), ScRefCellValue::hasNumeric(), ScFormatEntry::mpDoc, and mpFormatData.
Referenced by ScConditionalFormat::GetData().
|
static |
Definition at line 1369 of file colorscale.cxx.
References ScIconSetMap::pName.
Referenced by ScXMLExport::ExportConditionalFormat(), XclExpIconSet::SaveXml(), XclExpExtIcon::XclExpExtIcon(), and XclExpExtIconSet::XclExpExtIconSet().
|
private |
Definition at line 1157 of file colorscale.cxx.
References COLORSCALE_FORMULA, COLORSCALE_VALUE, ScColorFormat::getMaxValue(), and mpFormatData.
Referenced by GetIconSetInfo().
|
private |
Definition at line 1145 of file colorscale.cxx.
References begin(), COLORSCALE_FORMULA, COLORSCALE_VALUE, and ScColorFormat::getMinValue().
Referenced by GetIconSetInfo().
|
overridevirtual |
Implements ScFormatEntry.
Definition at line 1088 of file colorscale.cxx.
References ScFormatEntry::Iconset.
void ScIconSetFormat::SetIconSetData | ( | ScIconSetFormatData * | pData | ) |
Definition at line 1011 of file colorscale.cxx.
References mpFormatData, ScColorFormat::mpParent, and SetParent().
Referenced by ScCellShell::ExecuteEdit(), ScIconSetFrmtEntry::GetEntry(), ScXMLIconSetFormatContext::ScXMLIconSetFormatContext(), and oox::xls::IconSetRule::SetData().
|
overridevirtual |
Reimplemented from ScColorFormat.
Definition at line 1002 of file colorscale.cxx.
References begin(), end(), and ScColorFormat::SetParent().
Referenced by SetIconSetData().
size_t ScIconSetFormat::size | ( | ) | const |
Definition at line 1224 of file colorscale.cxx.
References mpFormatData.
Referenced by ScIconSetFormatObj::getPropertyValue().
|
overridevirtual |
Implements ScFormatEntry.
Definition at line 1109 of file colorscale.cxx.
|
overridevirtual |
Implements ScFormatEntry.
Definition at line 1101 of file colorscale.cxx.
|
overridevirtual |
Implements ScFormatEntry.
Definition at line 1117 of file colorscale.cxx.
|
overridevirtual |
Implements ScFormatEntry.
Definition at line 1093 of file colorscale.cxx.
|
static |
Definition at line 381 of file colorscale.hxx.
Referenced by EnsureSize(), IMPL_LINK_NOARG(), and ScXMLIconSetFormatContext::ScXMLIconSetFormatContext().
|
private |
Definition at line 409 of file colorscale.hxx.
Referenced by begin(), end(), EnsureSize(), GetIconSetData(), GetIconSetInfo(), GetMaxValue(), SetIconSetData(), and size().