LibreOffice Module sc (master) 1
|
#include <conditio.hxx>
Public Member Functions | |
ScCondFormatEntry (ScConditionMode eOper, const OUString &rExpr1, const OUString &rExpr2, ScDocument &rDocument, const ScAddress &rPos, OUString aStyle, const OUString &rExprNmsp1=OUString(), const OUString &rExprNmsp2=OUString(), formula::FormulaGrammar::Grammar eGrammar1=formula::FormulaGrammar::GRAM_DEFAULT, formula::FormulaGrammar::Grammar eGrammar2=formula::FormulaGrammar::GRAM_DEFAULT, Type eType=Type::Condition) | |
ScCondFormatEntry (ScConditionMode eOper, const ScTokenArray *pArr1, const ScTokenArray *pArr2, ScDocument &rDocument, const ScAddress &rPos, OUString aStyle) | |
ScCondFormatEntry (const ScCondFormatEntry &r) | |
ScCondFormatEntry (ScDocument &rDocument, const ScCondFormatEntry &r) | |
virtual | ~ScCondFormatEntry () override |
bool | IsEqual (const ScFormatEntry &r, bool bIgnoreSrcPos) const override |
const OUString & | GetStyle () const |
void | UpdateStyleName (const OUString &rNew) |
virtual ScFormatEntry * | Clone (ScDocument *pDoc) const override |
virtual Type | GetType () const override |
Public Member Functions inherited from ScConditionEntry | |
ScConditionEntry (ScConditionMode eOper, const OUString &rExpr1, const OUString &rExpr2, ScDocument &rDocument, const ScAddress &rPos, const OUString &rExprNmsp1, const OUString &rExprNmsp2, formula::FormulaGrammar::Grammar eGrammar1, formula::FormulaGrammar::Grammar eGrammar2, Type eType=Type::Condition) | |
ScConditionEntry (ScConditionMode eOper, const ScTokenArray *pArr1, const ScTokenArray *pArr2, ScDocument &rDocument, const ScAddress &rPos) | |
ScConditionEntry (const ScConditionEntry &r) | |
ScConditionEntry (ScDocument &rDocument, const ScConditionEntry &r) | |
virtual | ~ScConditionEntry () override |
bool | IsEqual (const ScFormatEntry &r, bool bIgnoreSrcPos) const override |
virtual void | SetParent (ScConditionalFormat *pNew) override |
bool | IsCellValid (ScRefCellValue &rCell, const ScAddress &rPos) const |
ScConditionMode | GetOperation () const |
void | SetOperation (ScConditionMode eMode) |
bool | IsIgnoreBlank () const |
void | SetIgnoreBlank (bool bSet) |
const OUString & | GetSrcString () const |
const ScAddress & | GetSrcPos () const |
ScAddress | GetValidSrcPos () const |
Return a position that's adjusted to allow textual representation of expressions if possible. More... | |
void | SetSrcString (const OUString &rNew) |
void | SetFormula1 (const ScTokenArray &rArray) |
void | SetFormula2 (const ScTokenArray &rArray) |
OUString | GetExpression (const ScAddress &rCursor, sal_uInt16 nPos, sal_uInt32 nNumFmt=0, const formula::FormulaGrammar::Grammar eGrammar=formula::FormulaGrammar::GRAM_DEFAULT) const |
std::unique_ptr< ScTokenArray > | CreateFlatCopiedTokenArray (sal_uInt16 nPos) const |
Create a flat copy using ScTokenArray copy-ctor with shared tokens. More... | |
void | CompileAll () |
Delete formula cells, so we re-compile at the next IsValid. More... | |
void | CompileXML () |
virtual void | UpdateReference (sc::RefUpdateContext &rCxt) override |
virtual void | UpdateInsertTab (sc::RefUpdateInsertTabContext &rCxt) override |
virtual void | UpdateDeleteTab (sc::RefUpdateDeleteTabContext &rCxt) override |
virtual void | UpdateMoveTab (sc::RefUpdateMoveTabContext &rCxt) override |
bool | MarkUsedExternalReferences () const |
virtual Type | GetType () const override |
virtual ScFormatEntry * | Clone (ScDocument *pDoc) const override |
virtual void | endRendering () override |
virtual void | startRendering () override |
bool | NeedsRepaint () const |
void | CalcAll () |
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 ScFormatEntry * | Clone (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 Member Functions | |
virtual void | DataChanged () const override |
Private Attributes | |
OUString | aStyleName |
Type | eCondFormatType = Type::Condition |
Additional Inherited Members | |
Public Types inherited from ScFormatEntry | |
enum class | Type { Condition , ExtCondition , Colorscale , Databar , Iconset , Date } |
Static Public Member Functions inherited from ScConditionEntry | |
static ScConditionMode | GetModeFromApi (css::sheet::ConditionOperator nOperator) |
Protected Member Functions inherited from ScConditionEntry | |
virtual void | DataChanged () const |
ScDocument * | GetDocument () const |
Protected Attributes inherited from ScConditionEntry | |
ScConditionalFormat * | pCondFormat |
Protected Attributes inherited from ScFormatEntry | |
ScDocument * | mpDoc |
Definition at line 448 of file conditio.hxx.
ScCondFormatEntry::ScCondFormatEntry | ( | ScConditionMode | eOper, |
const OUString & | rExpr1, | ||
const OUString & | rExpr2, | ||
ScDocument & | rDocument, | ||
const ScAddress & | rPos, | ||
OUString | aStyle, | ||
const OUString & | rExprNmsp1 = OUString() , |
||
const OUString & | rExprNmsp2 = OUString() , |
||
formula::FormulaGrammar::Grammar | eGrammar1 = formula::FormulaGrammar::GRAM_DEFAULT , |
||
formula::FormulaGrammar::Grammar | eGrammar2 = formula::FormulaGrammar::GRAM_DEFAULT , |
||
Type | eType = Type::Condition |
||
) |
Referenced by Clone().
ScCondFormatEntry::ScCondFormatEntry | ( | ScConditionMode | eOper, |
const ScTokenArray * | pArr1, | ||
const ScTokenArray * | pArr2, | ||
ScDocument & | rDocument, | ||
const ScAddress & | rPos, | ||
OUString | aStyle | ||
) |
Definition at line 1490 of file conditio.cxx.
ScCondFormatEntry::ScCondFormatEntry | ( | const ScCondFormatEntry & | r | ) |
Definition at line 1499 of file conditio.cxx.
ScCondFormatEntry::ScCondFormatEntry | ( | ScDocument & | rDocument, |
const ScCondFormatEntry & | r | ||
) |
Definition at line 1506 of file conditio.cxx.
|
overridevirtual |
Definition at line 1520 of file conditio.cxx.
|
overridevirtual |
Reimplemented from ScConditionEntry.
Definition at line 1530 of file conditio.cxx.
References ScCondFormatEntry().
|
overrideprivatevirtual |
Reimplemented from ScConditionEntry.
Definition at line 1524 of file conditio.cxx.
References ScConditionalFormat::DoRepaint(), and ScConditionEntry::pCondFormat.
|
inline |
Definition at line 473 of file conditio.hxx.
Referenced by ScXMLExport::ExportConditionalFormat(), ScConditionalFormat::GetCellStyle(), ScConditionalFormat::GetData(), ScConditionEntryObj::getPropertyValue(), ScConditionalFormat::RenameCellStyle(), XclExpCFImpl::SaveXml(), XclExpExtCF::SaveXml(), ScConditionFrmtEntry::ScConditionFrmtEntry(), ScFormulaFrmtEntry::ScFormulaFrmtEntry(), XclExpCFImpl::XclExpCFImpl(), and XclExpDxfs::XclExpDxfs().
|
inlineoverridevirtual |
Reimplemented from ScConditionEntry.
Definition at line 476 of file conditio.hxx.
|
overridevirtual |
Reimplemented from ScConditionEntry.
Definition at line 1514 of file conditio.cxx.
References aStyleName, and ScConditionEntry::IsEqual().
|
inline |
Definition at line 474 of file conditio.hxx.
Referenced by ScConditionalFormat::RenameCellStyle(), and ScConditionEntryObj::setPropertyValue().
|
private |
Definition at line 450 of file conditio.hxx.
Referenced by IsEqual().
|
private |
Definition at line 451 of file conditio.hxx.