summaryrefslogtreecommitdiff
path: root/sc/inc/table.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kyoshida@novell.com>2010-02-22 11:48:02 -0500
committerKohei Yoshida <kyoshida@novell.com>2010-02-22 11:48:02 -0500
commitcc0d82f6a35cf377214df4ab10f06ce64188948e (patch)
tree28a370088f77880eea6a91818b4741c9e4e275c9 /sc/inc/table.hxx
parentb9fce326449160ed0c6f5c07446baa64d38fa3d3 (diff)
calctabcolor: Added data member to ScTable to store tab color.
Diffstat (limited to 'sc/inc/table.hxx')
-rw-r--r--sc/inc/table.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sc/inc/table.hxx b/sc/inc/table.hxx
index f400054d00b7..3b5a161328f2 100644
--- a/sc/inc/table.hxx
+++ b/sc/inc/table.hxx
@@ -155,6 +155,7 @@ private:
ScRangeList* pScenarioRanges;
Color aScenarioColor;
+ Color aTabColor;
USHORT nScenarioFlags;
BOOL bActiveScenario;
@@ -210,6 +211,8 @@ public:
void SetScenarioComment( const String& rComment ) { aComment = rComment; }
const Color& GetScenarioColor() const { return aScenarioColor; }
void SetScenarioColor(const Color& rNew) { aScenarioColor = rNew; }
+ const Color& GetTabColor() const;
+ void SetTabColor(const Color& rColor);
USHORT GetScenarioFlags() const { return nScenarioFlags; }
void SetScenarioFlags(USHORT nNew) { nScenarioFlags = nNew; }
void SetActiveScenario(BOOL bSet) { bActiveScenario = bSet; }