diff options
author | Szymon Kłos <szymon.klos@collabora.com> | 2018-03-20 16:40:35 +0100 |
---|---|---|
committer | Szymon Kłos <szymon.klos@collabora.com> | 2018-03-21 17:54:47 +0100 |
commit | fb29b8262488d045a926504725669a362bacb5bb (patch) | |
tree | c8cb6e160267b46742e0051a8eded6206fb5c1f1 /sc/inc/viewopti.hxx | |
parent | fc3f43b6fe3df5e46ca869d5934d4c3333444881 (diff) |
tdf#116241 Customizing value highlighting colors
Change-Id: I5d77e6207d1e29326282d7184c9348e59292977a
Reviewed-on: https://gerrit.libreoffice.org/51653
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Diffstat (limited to 'sc/inc/viewopti.hxx')
-rw-r--r-- | sc/inc/viewopti.hxx | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sc/inc/viewopti.hxx b/sc/inc/viewopti.hxx index 8bc3d380b28a..965d1ac73b69 100644 --- a/sc/inc/viewopti.hxx +++ b/sc/inc/viewopti.hxx @@ -94,6 +94,15 @@ public: void SetGridColor( const Color& rCol, const OUString& rName ) { aGridCol = rCol; aGridColName = rName;} Color const & GetGridColor( OUString* pStrName = nullptr ) const; + void SetValueColor( const Color& rCol ) { aValueCol = rCol; } + Color const & GetValueColor() const { return aValueCol; } + + void SetFormulaColor(const Color& rCol) { aFormulaCol = rCol; } + Color const & GetFormulaColor() const { return aFormulaCol; } + + void SetTextColor(const Color& rCol) { aTextCol = rCol; } + Color const & GetTextColor() const { return aTextCol; } + const ScGridOptions& GetGridOptions() const { return aGridOpt; } void SetGridOptions( const ScGridOptions& rNew ) { aGridOpt = rNew; } SvxGridItem* CreateGridItem() const; @@ -108,6 +117,9 @@ private: Color aGridCol; OUString aGridColName; ScGridOptions aGridOpt; + Color aValueCol; + Color aFormulaCol; + Color aTextCol; }; // Item for the options dialog - View |