LibreOffice Module sc (master) 1
Public Types | Public Member Functions | Protected Attributes | List of all members
ScFormatEntry Class Referenceabstract

#include <conditio.hxx>

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

Public Types

enum class  Type {
  Condition ,
  ExtCondition ,
  Colorscale ,
  Databar ,
  Iconset ,
  Date
}
 

Public Member Functions

 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 ()
 
virtual void updateValues ()
 

Protected Attributes

ScDocumentmpDoc
 

Detailed Description

Definition at line 223 of file conditio.hxx.

Member Enumeration Documentation

◆ Type

enum class ScFormatEntry::Type
strong
Enumerator
Condition 
ExtCondition 
Colorscale 
Databar 
Iconset 
Date 

Definition at line 229 of file conditio.hxx.

Constructor & Destructor Documentation

◆ ScFormatEntry()

ScFormatEntry::ScFormatEntry ( ScDocument pDoc)

Definition at line 51 of file conditio.cxx.

◆ ~ScFormatEntry()

virtual ScFormatEntry::~ScFormatEntry ( )
inlinevirtual

Definition at line 227 of file conditio.hxx.

Member Function Documentation

◆ Clone()

virtual ScFormatEntry * ScFormatEntry::Clone ( ScDocument pDoc) const
pure virtual

◆ endRendering()

void ScFormatEntry::endRendering ( )
virtual

Reimplemented in ScColorFormat, ScConditionEntry, and ScCondDateFormatEntry.

Definition at line 73 of file conditio.cxx.

◆ GetType()

virtual Type ScFormatEntry::GetType ( ) const
pure virtual

◆ IsEqual()

bool ScFormatEntry::IsEqual ( const ScFormatEntry ,
bool  bIgnoreSrcPos 
) const
virtual

Reimplemented in ScColorScaleFormat, ScDataBarFormat, ScConditionEntry, and ScCondFormatEntry.

Definition at line 62 of file conditio.cxx.

Referenced by operator==().

◆ operator==()

bool ScFormatEntry::operator== ( const ScFormatEntry r) const

Definition at line 56 of file conditio.cxx.

References IsEqual().

Referenced by ScValidationData::EqualEntries().

◆ SetParent()

virtual void ScFormatEntry::SetParent ( ScConditionalFormat pNew)
pure virtual

◆ startRendering()

void ScFormatEntry::startRendering ( )
virtual

Reimplemented in ScColorFormat, ScConditionEntry, and ScCondDateFormatEntry.

Definition at line 69 of file conditio.cxx.

◆ UpdateDeleteTab()

virtual void ScFormatEntry::UpdateDeleteTab ( sc::RefUpdateDeleteTabContext rCxt)
pure virtual

◆ UpdateInsertTab()

virtual void ScFormatEntry::UpdateInsertTab ( sc::RefUpdateInsertTabContext rCxt)
pure virtual

◆ UpdateMoveTab()

virtual void ScFormatEntry::UpdateMoveTab ( sc::RefUpdateMoveTabContext rCxt)
pure virtual

◆ UpdateReference()

virtual void ScFormatEntry::UpdateReference ( sc::RefUpdateContext rCxt)
pure virtual

◆ updateValues()

void ScFormatEntry::updateValues ( )
virtual

Reimplemented in ScColorFormat.

Definition at line 77 of file conditio.cxx.

Member Data Documentation

◆ mpDoc

ScDocument* ScFormatEntry::mpDoc
protected

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