LibreOffice Module sc (master) 1
Public Member Functions | Private Attributes | List of all members
ScCondDateFormatEntry Class Referencefinal

#include <conditio.hxx>

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

Public Member Functions

 ScCondDateFormatEntry (ScDocument *pDoc)
 
 ScCondDateFormatEntry (ScDocument *pDoc, const ScCondDateFormatEntry &rEntry)
 
bool IsValid (const ScAddress &rPos) const
 
void SetDateType (condformat::ScCondFormatDateType eType)
 
condformat::ScCondFormatDateType GetDateType () const
 
const OUString & GetStyleName () const
 
void SetStyleName (const OUString &rStyleName)
 
virtual Type GetType () const override
 
virtual void UpdateReference (sc::RefUpdateContext &) override
 
virtual void UpdateInsertTab (sc::RefUpdateInsertTabContext &) override
 
virtual void UpdateDeleteTab (sc::RefUpdateDeleteTabContext &) override
 
virtual void UpdateMoveTab (sc::RefUpdateMoveTabContext &) override
 
virtual ScFormatEntryClone (ScDocument *pDoc) const override
 
virtual void SetParent (ScConditionalFormat *) 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 ()
 
virtual void updateValues ()
 

Private Attributes

condformat::ScCondFormatDateType meType
 
std::unique_ptr< DatempCache
 
OUString maStyleName
 

Additional Inherited Members

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

Detailed Description

Definition at line 503 of file conditio.hxx.

Constructor & Destructor Documentation

◆ ScCondDateFormatEntry() [1/2]

ScCondDateFormatEntry::ScCondDateFormatEntry ( ScDocument pDoc)

Definition at line 1547 of file conditio.cxx.

References meType.

Referenced by Clone().

◆ ScCondDateFormatEntry() [2/2]

ScCondDateFormatEntry::ScCondDateFormatEntry ( ScDocument pDoc,
const ScCondDateFormatEntry rEntry 
)

Definition at line 1553 of file conditio.cxx.

References meType.

Member Function Documentation

◆ Clone()

ScFormatEntry * ScCondDateFormatEntry::Clone ( ScDocument pDoc) const
overridevirtual

Implements ScFormatEntry.

Definition at line 1703 of file conditio.cxx.

References ScCondDateFormatEntry().

◆ endRendering()

void ScCondDateFormatEntry::endRendering ( )
overridevirtual

Reimplemented from ScFormatEntry.

Definition at line 1713 of file conditio.cxx.

References mpCache.

◆ GetDateType()

condformat::ScCondFormatDateType ScCondDateFormatEntry::GetDateType ( ) const
inline

◆ GetStyleName()

const OUString & ScCondDateFormatEntry::GetStyleName ( ) const
inline

◆ GetType()

virtual Type ScCondDateFormatEntry::GetType ( ) const
inlineoverridevirtual

Implements ScFormatEntry.

Definition at line 517 of file conditio.hxx.

◆ IsValid()

bool ScCondDateFormatEntry::IsValid ( const ScAddress rPos) const

◆ SetDateType()

void ScCondDateFormatEntry::SetDateType ( condformat::ScCondFormatDateType  eType)

◆ SetParent()

virtual void ScCondDateFormatEntry::SetParent ( ScConditionalFormat )
inlineoverridevirtual

Implements ScFormatEntry.

Definition at line 525 of file conditio.hxx.

◆ SetStyleName()

void ScCondDateFormatEntry::SetStyleName ( const OUString &  rStyleName)

◆ startRendering()

void ScCondDateFormatEntry::startRendering ( )
overridevirtual

Reimplemented from ScFormatEntry.

Definition at line 1708 of file conditio.cxx.

References mpCache.

◆ UpdateDeleteTab()

virtual void ScCondDateFormatEntry::UpdateDeleteTab ( sc::RefUpdateDeleteTabContext )
inlineoverridevirtual

Implements ScFormatEntry.

Definition at line 520 of file conditio.hxx.

◆ UpdateInsertTab()

virtual void ScCondDateFormatEntry::UpdateInsertTab ( sc::RefUpdateInsertTabContext )
inlineoverridevirtual

Implements ScFormatEntry.

Definition at line 519 of file conditio.hxx.

◆ UpdateMoveTab()

virtual void ScCondDateFormatEntry::UpdateMoveTab ( sc::RefUpdateMoveTabContext )
inlineoverridevirtual

Implements ScFormatEntry.

Definition at line 521 of file conditio.hxx.

◆ UpdateReference()

virtual void ScCondDateFormatEntry::UpdateReference ( sc::RefUpdateContext )
inlineoverridevirtual

Implements ScFormatEntry.

Definition at line 518 of file conditio.hxx.

Member Data Documentation

◆ maStyleName

OUString ScCondDateFormatEntry::maStyleName
private

Definition at line 535 of file conditio.hxx.

Referenced by SetStyleName().

◆ meType

condformat::ScCondFormatDateType ScCondDateFormatEntry::meType
private

Definition at line 531 of file conditio.hxx.

Referenced by IsValid(), and SetDateType().

◆ mpCache

std::unique_ptr<Date> ScCondDateFormatEntry::mpCache
mutableprivate

Definition at line 533 of file conditio.hxx.

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


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