46 std::unique_ptr<ScFormulaCell>
mpCell;
62 void SetColor(
const Color&);
80 void SetRepaintCallback(
const std::function<
void()>& func);
110 maPositiveColor(r.maPositiveColor),
111 maAxisColor(r.maAxisColor),
112 mbGradient(r.mbGradient),
114 meAxisPosition(r.meAxisPosition),
115 mnMinLength(r.mnMinLength),
116 mnMaxLength(r.mnMaxLength),
117 mbOnlyBar(r.mbOnlyBar)
184 std::unique_ptr<ScColorScaleEntry, o3tl::default_delete<ScColorScaleEntry>>
mpUpperLimit;
185 std::unique_ptr<ScColorScaleEntry, o3tl::default_delete<ScColorScaleEntry>>
mpLowerLimit;
227 void SetCache(
const std::vector<double>& aValues);
228 std::vector<double> GetCache()
const;
232 virtual void startRendering()
override;
233 virtual void endRendering()
override;
234 virtual void updateValues()
override;
237 std::vector<double>& getValues()
const;
239 double getMinValue()
const;
240 double getMaxValue()
const;
250 mutable std::unique_ptr<ScColorFormatCache>
mpCache;
253typedef std::vector<std::unique_ptr<ScColorScaleEntry, o3tl::default_delete<ScColorScaleEntry>>>
ScColorScaleEntries;
260 double GetMinValue()
const;
261 double GetMaxValue()
const;
263 void calcMinMax(
double& nMin,
double& nMax)
const;
264 double CalcValue(
double nMin,
double nMax,
const ScColorScaleEntries::const_iterator& rItr)
const;
273 std::optional<Color> GetColor(
const ScAddress& rAddr)
const;
276 bool IsEqual(
const ScFormatEntry& r,
bool bIgnoreSrcPos)
const override;
283 virtual Type GetType()
const override;
284 ScColorScaleEntries::iterator
begin();
285 ScColorScaleEntries::const_iterator
begin()
const;
286 ScColorScaleEntries::iterator
end();
287 ScColorScaleEntries::const_iterator
end()
const;
310 std::unique_ptr<ScDataBarInfo> GetDataBarInfo(
const ScAddress& rAddr)
const;
316 bool IsEqual(
const ScFormatEntry& r,
bool bIgnoreSrcPos)
const override;
323 virtual Type GetType()
const override;
332 double getMin(
double nMin,
double nMax)
const;
333 double getMax(
double nMin,
double nMax)
const;
346 typedef std::vector<std::unique_ptr<ScColorScaleEntry, o3tl::default_delete<ScColorScaleEntry>>>
Entries_t;
374 std::unique_ptr<ScIconSetInfo> GetIconSetInfo(
const ScAddress& rAddr)
const;
385 virtual Type GetType()
const override;
390 static OUString getIconName(
ScIconSetType eType, sal_Int32 nIndex);
393 typedef ScIconSetFormatData::Entries_t::iterator
iterator;
411 double GetMinValue()
const;
412 double GetMaxValue()
const;
std::unique_ptr< ScFormulaListener > mpListener
ScColorScaleEntryType meType
ScColorScaleEntryType GetType() const
std::unique_ptr< ScFormulaCell > mpCell
ScConditionalFormat * mpFormat
constexpr ::Color COL_BLACK(0x00, 0x00, 0x00)
std::vector< std::unique_ptr< ScColorScaleEntry, o3tl::default_delete< ScColorScaleEntry > > > ScColorScaleEntries
@ IconSet_3TrafficLights1
@ IconSet_3TrafficLights2
virtual void SetValue(tools::Long nNew) override
std::unique_ptr< sal_Int32[]> pData
enumrange< T >::Iterator begin(enumrange< T >)
std::map< OUString, BitmapEx > IconSetBitmapMap
css::uno::Reference< css::animations::XAnimationNode > Clone(const css::uno::Reference< css::animations::XAnimationNode > &xSourceNode, const SdPage *pSource=nullptr, const SdPage *pTarget=nullptr)
Context for reference update during shifting, moving or copying of cell ranges.