diff options
author | Frank Meies <fme@openoffice.org> | 2002-12-05 09:06:50 +0000 |
---|---|---|
committer | Frank Meies <fme@openoffice.org> | 2002-12-05 09:06:50 +0000 |
commit | 2282738734e2a795267ffd9fbd25b34b16a164b4 (patch) | |
tree | 551d3cec16cf2cc108f06acda9213c926eeafc02 /sw/source/ui/config | |
parent | cea05642190a039bab568a18074f814fc8070d71 (diff) |
#105984# New color config entry FontColor
Diffstat (limited to 'sw/source/ui/config')
-rw-r--r-- | sw/source/ui/config/viewopt.cxx | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/sw/source/ui/config/viewopt.cxx b/sw/source/ui/config/viewopt.cxx index b1545326a24e..9238f58585e9 100644 --- a/sw/source/ui/config/viewopt.cxx +++ b/sw/source/ui/config/viewopt.cxx @@ -2,9 +2,9 @@ * * $RCSfile: viewopt.cxx,v $ * - * $Revision: 1.16 $ + * $Revision: 1.17 $ * - * last change: $Author: os $ $Date: 2002-09-20 12:09:54 $ + * last change: $Author: fme $ $Date: 2002-12-05 10:06:50 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -135,6 +135,7 @@ Color SwViewOption::aVisitedLinksColor(COL_RED); Color SwViewOption::aDirectCursorColor(COL_BLUE); Color SwViewOption::aTextGridColor(COL_LIGHTGRAY); Color SwViewOption::aSpellColor(COL_LIGHTRED); +Color SwViewOption::aFontColor(COL_BLACK); Color SwViewOption::aFieldShadingsColor(COL_LIGHTGRAY); Color SwViewOption::aSectionBoundColor(COL_LIGHTGRAY); Color SwViewOption::aPageBreakColor(COL_BLUE); @@ -730,6 +731,13 @@ Color& SwViewOption::GetSpellColor() { return aSpellColor; } +/*-- 06.12.2002 10:50:11--------------------------------------------------- + + -----------------------------------------------------------------------*/ +Color& SwViewOption::GetFontColor() +{ + return aFontColor; +} /*-- 24.04.2002 10:50:15--------------------------------------------------- -----------------------------------------------------------------------*/ @@ -811,6 +819,8 @@ void SwViewOption::ApplyColorConfigValues(const svx::ColorConfig& rConfig ) aSpellColor.SetColor(rConfig.GetColorValue(svx::SPELL).nColor); + aFontColor.SetColor(rConfig.GetColorValue(svx::FONTCOLOR).nColor); + aValue = rConfig.GetColorValue(svx::WRITERFIELDSHADINGS); aFieldShadingsColor.SetColor(aValue.nColor); if(aValue.bIsVisible) |