diff options
Diffstat (limited to 'sc/inc/conditio.hxx')
-rw-r--r-- | sc/inc/conditio.hxx | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sc/inc/conditio.hxx b/sc/inc/conditio.hxx index d25a39ff7a7b..4967e826242b 100644 --- a/sc/inc/conditio.hxx +++ b/sc/inc/conditio.hxx @@ -48,6 +48,8 @@ class ScTokenArray; // nOptions Flags #define SC_COND_NOBLANKS 1 +#define DUMP_FORMAT_INFO 1 + // ordering of ScConditionMode and ScQueryOp is equal, // to facilitate the merging of both in the future @@ -108,6 +110,10 @@ public: virtual ScFormatEntry* Clone( ScDocument* pDoc = NULL ) const = 0; virtual void SetParent( ScConditionalFormat* pNew ) = 0; + +#if DUMP_FORMAT_INFO + virtual void dumpInfo() const = 0; +#endif protected: ScDocument* mpDoc; @@ -204,6 +210,10 @@ public: static ScConditionMode GetModeFromApi(sal_Int32 nOperator); +#if DUMP_FORMAT_INFO + virtual void dumpInfo() const {} +#endif + protected: virtual void DataChanged( const ScRange* pModified ) const; ScDocument* GetDocument() const { return mpDoc; } @@ -303,6 +313,10 @@ public: bool MarkUsedExternalReferences() const; +#if DUMP_FORMAT_INFO + void dumpInfo() const; +#endif + // sorted (via PTRARR) by Index // operator== only for sorting bool operator ==( const ScConditionalFormat& r ) const { return nKey == r.nKey; } |