[Libreoffice-commits] .: svtools/inc svtools/source
Michael Meeks
mmeeks at kemper.freedesktop.org
Tue Mar 8 03:59:32 PST 2011
svtools/inc/svtools/colorcfg.hxx | 1 +
svtools/source/config/colorcfg.cxx | 2 ++
2 files changed, 3 insertions(+)
New commits:
commit 3418cce3fa35a1d19a14affa8471b537bda57177
Author: Sébastien Le Ray <sebastien-libreoffice at orniz.org>
Date: Tue Mar 8 08:02:08 2011 +0100
Added shadow color configuration save.
diff --git a/svtools/inc/svtools/colorcfg.hxx b/svtools/inc/svtools/colorcfg.hxx
index 6231685..5c95dc1 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 c98c885..7be72cf 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
More information about the Libreoffice-commits
mailing list