diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2015-05-14 01:26:26 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2015-05-14 02:05:50 +0200 |
commit | d8d078f4927ecc173e30c90d2859f756a601957a (patch) | |
tree | 4517139ca7609055f66607f776fa3b47eba45418 /sc/source/filter/inc/condformatbuffer.hxx | |
parent | be62a97a96734e40576784bb69b020ec82a195fc (diff) |
better databar negative color and axis color import
Should finally handle themed colors and tints. There seem to be a few
issue left that I need to understand.
Change-Id: Icdd0a2d26519eb1c4171d6888913ba2c6944a443
Diffstat (limited to 'sc/source/filter/inc/condformatbuffer.hxx')
-rw-r--r-- | sc/source/filter/inc/condformatbuffer.hxx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sc/source/filter/inc/condformatbuffer.hxx b/sc/source/filter/inc/condformatbuffer.hxx index 18523d8675d7..32042cef3d63 100644 --- a/sc/source/filter/inc/condformatbuffer.hxx +++ b/sc/source/filter/inc/condformatbuffer.hxx @@ -224,15 +224,15 @@ struct ExCfRuleModel bool mbGradient; OUString maAxisPosition; // AxisColor - sal_uInt32 mnAxisColor; + ::Color mnAxisColor; // NegativeFillColor - sal_uInt32 mnNegativeColor; + ::Color mnNegativeColor; // Cfvo bool mbIsLower; OUString maColorScaleType; }; -class ExtCfRule +class ExtCfRule : public WorksheetHelper { enum RuleType { @@ -246,7 +246,8 @@ class ExtCfRule RuleType mnRuleType; ScDataBarFormatData* mpTarget; public: - ExtCfRule(ScDataBarFormatData* pTarget = NULL ) : mnRuleType( ExtCfRule::UNKNOWN ), mpTarget(pTarget) {} + + ExtCfRule(ScDataBarFormatData* pTarget, WorksheetHelper& rParent); void finalizeImport(); void importDataBar( const AttributeList& rAttribs ); void importNegativeFillColor( const AttributeList& rAttribs ); |