diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-08-14 01:24:33 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-08-14 01:32:22 +0200 |
commit | 1885266f274575327cdeee9852945a3e91f32f15 (patch) | |
tree | 3d3495b94ac883030206ca84fa681dcec2a15a8f /sc/inc/conditio.hxx | |
parent | 65457cbaf0acbfb1925c21f2d03ffec8e20e84bd (diff) |
implement dumper for new cond format test
Change-Id: I2a7f0cf20fa54cbcafcb30d8b8834fd1adf3821d
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; } |