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
 
bool operator== (const ScFormatEntry &) const
 
virtual bool IsEqual (const ScFormatEntry &, bool bIgnoreSrcPos) const
 

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  Type {
  Type::Condition,
  Type::ExtCondition,
  Type::Colorscale,
  Type::Databar,
  Type::Iconset,
  Type::Date
}
 

Detailed Description

Definition at line 221 of file colorscale.hxx.

Constructor & Destructor Documentation

ScColorFormat::ScColorFormat ( ScDocument pDoc)

Definition at line 354 of file colorscale.cxx.

References mpParent.

ScColorFormat::~ScColorFormat ( )
overridevirtual

Definition at line 360 of file colorscale.cxx.

Member Function Documentation

void ScColorFormat::endRendering ( )
overridevirtual

Reimplemented from ScFormatEntry.

Definition at line 509 of file colorscale.cxx.

References mpCache.

double ScColorFormat::getMaxValue ( ) const
protected
double ScColorFormat::getMinValue ( ) const
protected
const ScRangeList & ScColorFormat::GetRange ( ) const
std::vector< double > & ScColorFormat::getValues ( ) const
protected
void ScColorFormat::SetParent ( ScConditionalFormat pParent)
overridevirtual
void ScColorFormat::startRendering ( )
overridevirtual

Reimplemented from ScFormatEntry.

Definition at line 504 of file colorscale.cxx.

References mpCache.

Member Data Documentation

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

Definition at line 248 of file colorscale.hxx.

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

ScConditionalFormat* ScColorFormat::mpParent
protected

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