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

Private Attributes

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

Additional Inherited Members

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

Detailed Description

Definition at line 504 of file conditio.hxx.

Constructor & Destructor Documentation

ScCondDateFormatEntry::ScCondDateFormatEntry ( ScDocument pDoc)

Definition at line 1526 of file conditio.cxx.

References meType.

Referenced by Clone().

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

Definition at line 1532 of file conditio.cxx.

References meType.

Member Function Documentation

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

Implements ScFormatEntry.

Definition at line 1682 of file conditio.cxx.

References ScCondDateFormatEntry().

void ScCondDateFormatEntry::endRendering ( )
overridevirtual

Reimplemented from ScFormatEntry.

Definition at line 1692 of file conditio.cxx.

References mpCache.

condformat::ScCondFormatDateType ScCondDateFormatEntry::GetDateType ( ) const
inline
const OUString& ScCondDateFormatEntry::GetStyleName ( ) const
inline
virtual Type ScCondDateFormatEntry::GetType ( ) const
inlineoverridevirtual

Implements ScFormatEntry.

Definition at line 518 of file conditio.hxx.

References ScFormatEntry::Date.

bool ScCondDateFormatEntry::IsValid ( const ScAddress rPos) const
void ScCondDateFormatEntry::SetDateType ( condformat::ScCondFormatDateType  eType)
virtual void ScCondDateFormatEntry::SetParent ( ScConditionalFormat )
inlineoverridevirtual

Implements ScFormatEntry.

Definition at line 526 of file conditio.hxx.

void ScCondDateFormatEntry::SetStyleName ( const OUString &  rStyleName)
void ScCondDateFormatEntry::startRendering ( )
overridevirtual

Reimplemented from ScFormatEntry.

Definition at line 1687 of file conditio.cxx.

References mpCache.

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

Implements ScFormatEntry.

Definition at line 521 of file conditio.hxx.

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

Implements ScFormatEntry.

Definition at line 520 of file conditio.hxx.

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

Implements ScFormatEntry.

Definition at line 522 of file conditio.hxx.

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

Implements ScFormatEntry.

Definition at line 519 of file conditio.hxx.

Member Data Documentation

OUString ScCondDateFormatEntry::maStyleName
private

Definition at line 536 of file conditio.hxx.

Referenced by SetStyleName().

condformat::ScCondFormatDateType ScCondDateFormatEntry::meType
private

Definition at line 532 of file conditio.hxx.

Referenced by IsValid(), and SetDateType().

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

Definition at line 534 of file conditio.hxx.

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


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