LibreOffice Module sc (master) 1
Classes | Public Member Functions | Protected Member Functions | Protected Attributes | Private Attributes | List of all members
ScColorFormat Class Reference

#include <colorscale.hxx>

Inheritance diagram for ScColorFormat:
[legend]
Collaboration diagram for ScColorFormat:
[legend]

Classes

struct  ScColorFormatCache
 

Public Member Functions

 ScColorFormat (ScDocument *pDoc)
 
virtual ~ScColorFormat () override
 
const ScRangeListGetRange () const
 
virtual void SetParent (ScConditionalFormat *pParent) override
 
virtual void startRendering () override
 
virtual void endRendering () override
 
- Public Member Functions inherited from ScFormatEntry
 ScFormatEntry (ScDocument *pDoc)
 
virtual ~ScFormatEntry ()
 
virtual Type GetType () const =0
 
virtual void UpdateReference (sc::RefUpdateContext &rCxt)=0
 
virtual void UpdateInsertTab (sc::RefUpdateInsertTabContext &rCxt)=0
 
virtual void UpdateDeleteTab (sc::RefUpdateDeleteTabContext &rCxt)=0
 
virtual void UpdateMoveTab (sc::RefUpdateMoveTabContext &rCxt)=0
 
virtual ScFormatEntryClone (ScDocument *pDoc) const =0
 
virtual void SetParent (ScConditionalFormat *pNew)=0
 
bool operator== (const ScFormatEntry &) const
 
virtual bool IsEqual (const ScFormatEntry &, bool bIgnoreSrcPos) const
 
virtual void startRendering ()
 
virtual void endRendering ()
 

Protected Member Functions

std::vector< double > & getValues () const
 
double getMinValue () const
 
double getMaxValue () const
 

Protected Attributes

ScConditionalFormatmpParent
 
- Protected Attributes inherited from ScFormatEntry
ScDocumentmpDoc
 

Private Attributes

std::unique_ptr< ScColorFormatCachempCache
 

Additional Inherited Members

- Public Types inherited from ScFormatEntry
enum class  Type {
  Condition ,
  ExtCondition ,
  Colorscale ,
  Databar ,
  Iconset ,
  Date
}
 

Detailed Description

Definition at line 220 of file colorscale.hxx.

Constructor & Destructor Documentation

◆ ScColorFormat()

ScColorFormat::ScColorFormat ( ScDocument pDoc)

Definition at line 354 of file colorscale.cxx.

References mpParent.

◆ ~ScColorFormat()

ScColorFormat::~ScColorFormat ( )
overridevirtual

Definition at line 360 of file colorscale.cxx.

Member Function Documentation

◆ endRendering()

void ScColorFormat::endRendering ( )
overridevirtual

Reimplemented from ScFormatEntry.

Definition at line 509 of file colorscale.cxx.

References mpCache.

◆ getMaxValue()

double ScColorFormat::getMaxValue ( ) const
protected

◆ getMinValue()

double ScColorFormat::getMinValue ( ) const
protected

◆ GetRange()

const ScRangeList & ScColorFormat::GetRange ( ) const

◆ getValues()

std::vector< double > & ScColorFormat::getValues ( ) const
protected

◆ SetParent()

void ScColorFormat::SetParent ( ScConditionalFormat pParent)
overridevirtual

◆ startRendering()

void ScColorFormat::startRendering ( )
overridevirtual

Reimplemented from ScFormatEntry.

Definition at line 504 of file colorscale.cxx.

References mpCache.

Member Data Documentation

◆ mpCache

std::unique_ptr<ScColorFormatCache> ScColorFormat::mpCache
mutableprivate

Definition at line 247 of file colorscale.hxx.

Referenced by endRendering(), getValues(), and startRendering().

◆ mpParent

ScConditionalFormat* ScColorFormat::mpParent
protected

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