summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorS├ębastien Le Ray <sebastien-libreoffice@orniz.org>2011-03-08 08:02:08 +0100
committerMichael Meeks <michael.meeks@novell.com>2011-03-08 11:58:44 +0000
commit86fb5fff88be611785b7908aac2a44475d77705f (patch)
tree34bf5e3eac863a2f8f000e3ad3c078c3dc91d2bf
parente6dc9117b7ab11b954c3b2a1f440fa682331bba7 (diff)
Added shadow color configuration save.
Notes
Notes: split repo tag: libs-gui_LO-BASE-INTEGRATION-DEV300_M101
-rw-r--r--svtools/inc/svtools/colorcfg.hxx1
-rw-r--r--svtools/source/config/colorcfg.cxx2
2 files changed, 3 insertions, 0 deletions
diff --git a/svtools/inc/svtools/colorcfg.hxx b/svtools/inc/svtools/colorcfg.hxx
index eae67dc2c51b..09daa6aa75d2 100644
--- a/svtools/inc/svtools/colorcfg.hxx
+++ b/svtools/inc/svtools/colorcfg.hxx
@@ -51,6 +51,7 @@ enum ColorConfigEntry
ANCHOR ,
SPELL ,
SMARTTAGS ,
+ SHADOWCOLOR ,
WRITERTEXTGRID ,
WRITERFIELDSHADINGS ,
WRITERIDXSHADINGS ,
diff --git a/svtools/source/config/colorcfg.cxx b/svtools/source/config/colorcfg.cxx
index cc972b197fb3..def2f621a56e 100644
--- a/svtools/source/config/colorcfg.cxx
+++ b/svtools/source/config/colorcfg.cxx
@@ -137,6 +137,7 @@ uno::Sequence< OUString> ColorConfig_Impl::GetPropertyNames(const rtl::OUString&
{ RTL_CONSTASCII_USTRINGPARAM("/Anchor") ,sal_False },
{ RTL_CONSTASCII_USTRINGPARAM("/Spell") ,sal_False },
{ RTL_CONSTASCII_USTRINGPARAM("/SmartTags") ,sal_False },
+ { RTL_CONSTASCII_USTRINGPARAM("/Shadow") , sal_True },
{ RTL_CONSTASCII_USTRINGPARAM("/WriterTextGrid") ,sal_False },
{ RTL_CONSTASCII_USTRINGPARAM("/WriterFieldShadings"),sal_True },
{ RTL_CONSTASCII_USTRINGPARAM("/WriterIdxShadings") ,sal_True },
@@ -428,6 +429,7 @@ Color ColorConfig::GetDefaultColor(ColorConfigEntry eEntry)
0, // ANCHOR
0xff0000, // SPELL
COL_LIGHTMAGENTA,// SMARTTAGS
+ COL_GRAY, // SHADOWCOLOR
0xc0c0c0, // WRITERTEXTGRID
0xc0c0c0, // WRITERFIELDSHADIN
0xc0c0c0, // WRITERIDXSHADINGS