[Libreoffice-commits] core.git: Branch 'feature/gsoc14-draw-text-background-color' - editeng/source
matteocam
matteo.campanelli at gmail.com
Tue Jun 3 12:58:03 PDT 2014
editeng/source/editeng/editdbg.cxx | 11 +++++++++++
1 file changed, 11 insertions(+)
New commits:
commit 2bcaa1ca791ff64a1629d2451bd52323e7e814e3
Author: matteocam <matteo.campanelli at gmail.com>
Date: Tue Jun 3 15:55:26 2014 -0400
DbgOutItem supports Font Background Color
Change-Id: I1067e73593fdd116c3fc264b07f8bfd77057af0f
diff --git a/editeng/source/editeng/editdbg.cxx b/editeng/source/editeng/editdbg.cxx
index 442bda2..4e4f55b 100644
--- a/editeng/source/editeng/editdbg.cxx
+++ b/editeng/source/editeng/editdbg.cxx
@@ -177,6 +177,17 @@ OString DbgOutItem(const SfxItemPool& rPool, const SfxPoolItem& rItem)
aDebStr.append(static_cast<sal_Int32>(aColor.GetBlue()));
}
break;
+ case EE_CHAR_BKGCOLOR:
+ {
+ aDebStr.append("FillColor= ");
+ Color aColor( ((SvxColorBackgroundItem&)rItem).GetValue() );
+ aDebStr.append(static_cast<sal_Int32>(aColor.GetRed()));
+ aDebStr.append(", ");
+ aDebStr.append(static_cast<sal_Int32>(aColor.GetGreen()));
+ aDebStr.append(", ");
+ aDebStr.append(static_cast<sal_Int32>(aColor.GetBlue()));
+ }
+ break;
case EE_CHAR_FONTINFO:
case EE_CHAR_FONTINFO_CJK:
case EE_CHAR_FONTINFO_CTL:
More information about the Libreoffice-commits
mailing list