LibreOffice Module sc (master) 1
|
#include <colorscale.hxx>
Private Member Functions | |
void | setListener () |
Private Attributes | |
double | mnVal |
std::unique_ptr< ScFormulaCell > | mpCell |
std::unique_ptr< ScFormulaListener > | mpListener |
ScConditionalFormat * | mpFormat |
Color | maColor |
ScColorScaleEntryType | meType |
Definition at line 42 of file colorscale.hxx.
ScColorScaleEntry::ScColorScaleEntry | ( | double | nVal, |
const Color & | rCol, | ||
ScColorScaleEntryType | eType = COLORSCALE_VALUE |
||
) |
Definition at line 161 of file colorscale.cxx.
ScColorScaleEntry::ScColorScaleEntry | ( | ) |
Definition at line 154 of file colorscale.cxx.
References meType.
ScColorScaleEntry::ScColorScaleEntry | ( | const ScColorScaleEntry & | rEntry | ) |
Definition at line 169 of file colorscale.cxx.
References maColor, meType, mpCell, mpListener, NoMakeAbsExternal, and setListener().
ScColorScaleEntry::ScColorScaleEntry | ( | ScDocument * | pDoc, |
const ScColorScaleEntry & | rEntry | ||
) |
Definition at line 184 of file colorscale.cxx.
References ScConditionalFormat::DoRepaint(), maColor, meType, mpCell, mpFormat, mpListener, NoMakeAbsExternal, and setListener().
ScColorScaleEntry::~ScColorScaleEntry | ( | ) |
Definition at line 201 of file colorscale.cxx.
References mpCell.
|
inline |
Definition at line 61 of file colorscale.hxx.
References maColor.
Referenced by ScColorScaleEntryObj::getColor().
const ScTokenArray * ScColorScaleEntry::GetFormula | ( | ) | const |
Definition at line 216 of file colorscale.cxx.
References mpCell.
Referenced by XclExpCfvo::SaveXml(), ScIconSetFrmtDataEntry::ScIconSetFrmtDataEntry(), and XclExpExtCfvo::XclExpExtCfvo().
OUString ScColorScaleEntry::GetFormula | ( | formula::FormulaGrammar::Grammar | eGrammar | ) | const |
Definition at line 226 of file colorscale.cxx.
References mpCell.
|
inline |
Definition at line 76 of file colorscale.hxx.
References meType.
Referenced by ScColorScaleEntryObj::getFormula(), ScDataBarEntryObj::getFormula(), ScIconSetEntryObj::getFormula(), ScColorScaleEntryObj::getType(), ScDataBarEntryObj::getType(), ScIconSetEntryObj::getType(), XclExpCfvo::SaveXml(), ScIconSetFrmtDataEntry::ScIconSetFrmtDataEntry(), ScColorScaleEntryObj::setFormula(), ScDataBarEntryObj::setFormula(), ScIconSetEntryObj::setFormula(), and XclExpExtCfvo::XclExpExtCfvo().
double ScColorScaleEntry::GetValue | ( | ) | const |
Definition at line 236 of file colorscale.cxx.
Referenced by ScColorScaleEntryObj::getFormula(), ScDataBarEntryObj::getFormula(), ScIconSetEntryObj::getFormula(), XclExpCfvo::SaveXml(), ScIconSetFrmtDataEntry::ScIconSetFrmtDataEntry(), and XclExpExtCfvo::XclExpExtCfvo().
void ScColorScaleEntry::SetColor | ( | const Color & | rColor | ) |
Definition at line 310 of file colorscale.cxx.
References maColor.
Referenced by ScColorScaleEntryObj::setColor().
void ScColorScaleEntry::SetFormula | ( | const OUString & | rFormula, |
ScDocument & | rDoc, | ||
const ScAddress & | rAddr, | ||
formula::FormulaGrammar::Grammar | eGrammar = formula::FormulaGrammar::GRAM_DEFAULT |
||
) |
Definition at line 207 of file colorscale.cxx.
References ScConditionalFormat::DoRepaint(), mpCell, mpFormat, and mpListener.
Referenced by ScIconSetFrmtDataEntry::CreateEntry().
|
private |
Definition at line 335 of file colorscale.cxx.
References COLORSCALE_AUTO, COLORSCALE_MAX, COLORSCALE_MIN, COLORSCALE_PERCENT, COLORSCALE_PERCENTILE, ScConditionalFormat::DoRepaint(), ScConditionalFormat::GetDocument(), ScConditionalFormat::GetRange(), meType, mpFormat, and mpListener.
Referenced by ScColorScaleEntry(), SetRepaintCallback(), SetType(), SetValue(), UpdateDeleteTab(), UpdateInsertTab(), UpdateMoveTab(), and UpdateReference().
void ScColorScaleEntry::SetRepaintCallback | ( | const std::function< void()> & | func | ) |
Definition at line 349 of file colorscale.cxx.
References mpListener.
void ScColorScaleEntry::SetRepaintCallback | ( | ScConditionalFormat * | pParent | ) |
Definition at line 315 of file colorscale.cxx.
References ScConditionalFormat::DoRepaint(), mpFormat, mpListener, and setListener().
Referenced by ScXMLDataBarFormatContext::createFastChildContext(), ScXMLIconSetFormatContext::createFastChildContext(), UpdateDeleteTab(), UpdateInsertTab(), UpdateMoveTab(), and UpdateReference().
void ScColorScaleEntry::SetType | ( | ScColorScaleEntryType | eType | ) |
Definition at line 323 of file colorscale.cxx.
References COLORSCALE_FORMULA, eType, meType, mpCell, mpListener, and setListener().
Referenced by ScIconSetFrmtDataEntry::CreateEntry(), oox::xls::ExtCfDataBarRule::finalizeImport(), ScColorScaleEntryObj::setType(), ScDataBarEntryObj::setType(), and ScIconSetEntryObj::setType().
void ScColorScaleEntry::SetValue | ( | double | nValue | ) |
Definition at line 250 of file colorscale.cxx.
References mnVal, mpCell, nValue, and setListener().
Referenced by ScIconSetFrmtDataEntry::CreateEntry(), oox::xls::ExtCfDataBarRule::finalizeImport(), ScColorScaleEntryObj::setFormula(), ScDataBarEntryObj::setFormula(), and ScIconSetEntryObj::setFormula().
void ScColorScaleEntry::UpdateDeleteTab | ( | const sc::RefUpdateDeleteTabContext & | rCxt | ) |
Definition at line 283 of file colorscale.cxx.
References mpCell, mpFormat, mpListener, setListener(), and SetRepaintCallback().
void ScColorScaleEntry::UpdateInsertTab | ( | const sc::RefUpdateInsertTabContext & | rCxt | ) |
Definition at line 270 of file colorscale.cxx.
References mpCell, mpFormat, mpListener, setListener(), and SetRepaintCallback().
void ScColorScaleEntry::UpdateMoveTab | ( | const sc::RefUpdateMoveTabContext & | rCxt | ) |
Definition at line 296 of file colorscale.cxx.
References sc::RefUpdateMoveTabContext::getNewTab(), mpCell, mpFormat, mpListener, setListener(), and SetRepaintCallback().
void ScColorScaleEntry::UpdateReference | ( | const sc::RefUpdateContext & | rCxt | ) |
Definition at line 257 of file colorscale.cxx.
References mpCell, mpFormat, mpListener, setListener(), and SetRepaintCallback().
|
private |
Definition at line 49 of file colorscale.hxx.
Referenced by SetColor().
|
private |
Definition at line 50 of file colorscale.hxx.
Referenced by setListener(), and SetType().
|
private |
Definition at line 45 of file colorscale.hxx.
Referenced by GetValue(), and SetValue().
|
private |
Definition at line 46 of file colorscale.hxx.
Referenced by GetFormula(), GetValue(), ScColorScaleEntry(), SetFormula(), SetType(), SetValue(), UpdateDeleteTab(), UpdateInsertTab(), UpdateMoveTab(), UpdateReference(), and ~ScColorScaleEntry().
|
private |
Definition at line 48 of file colorscale.hxx.
Referenced by ScColorScaleEntry(), SetFormula(), setListener(), SetRepaintCallback(), UpdateDeleteTab(), UpdateInsertTab(), UpdateMoveTab(), and UpdateReference().
|
private |
Definition at line 47 of file colorscale.hxx.
Referenced by ScColorScaleEntry(), SetFormula(), setListener(), SetRepaintCallback(), SetType(), UpdateDeleteTab(), UpdateInsertTab(), UpdateMoveTab(), and UpdateReference().