diff options
author | Kohei Yoshida <kyoshida@novell.com> | 2010-02-22 14:25:56 -0500 |
---|---|---|
committer | Kohei Yoshida <kyoshida@novell.com> | 2010-02-22 14:25:56 -0500 |
commit | e91ccd784a2155f62195d3e80900741f3e6e970f (patch) | |
tree | a8025180471f0332302debc8103203bfab2bda98 /sc/inc | |
parent | d5daccbdb1ab66b03ef50c7105b483312be94dfa (diff) |
calctabcolor: Entirely removed storage of tabcolor from ScViewDataTable.
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/document.hxx | 5 | ||||
-rw-r--r-- | sc/inc/table.hxx | 6 |
2 files changed, 6 insertions, 5 deletions
diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx index 2c21d35861ae..b3591e9ac03f 100644 --- a/sc/inc/document.hxx +++ b/sc/inc/document.hxx @@ -588,8 +588,9 @@ public: Color& rColor, USHORT& rFlags ) const; SC_DLLPUBLIC void SetScenarioData( SCTAB nTab, const String& rComment, const Color& rColor, USHORT nFlags ); - Color GetTabColor( SCTAB nTab ) const; - void SetTabColor( SCTAB nTab, const Color& rColor ); + Color GetTabBgColor( SCTAB nTab ) const; + void SetTabBgColor( SCTAB nTab, const Color& rColor ); + bool IsDefaultTabBgColor( SCTAB nTab ) const; void GetScenarioFlags( SCTAB nTab, USHORT& rFlags ) const; SC_DLLPUBLIC BOOL IsActiveScenario( SCTAB nTab ) const; SC_DLLPUBLIC void SetActiveScenario( SCTAB nTab, BOOL bActive ); // nur fuer Undo etc. diff --git a/sc/inc/table.hxx b/sc/inc/table.hxx index 3b5a161328f2..9f3dcdbff5e2 100644 --- a/sc/inc/table.hxx +++ b/sc/inc/table.hxx @@ -155,7 +155,7 @@ private: ScRangeList* pScenarioRanges; Color aScenarioColor; - Color aTabColor; + Color aTabBgColor; USHORT nScenarioFlags; BOOL bActiveScenario; @@ -211,8 +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); + const Color& GetTabBgColor() const; + void SetTabBgColor(const Color& rColor); USHORT GetScenarioFlags() const { return nScenarioFlags; } void SetScenarioFlags(USHORT nNew) { nScenarioFlags = nNew; } void SetActiveScenario(BOOL bSet) { bActiveScenario = bSet; } |