summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authormatteocam <matteo.campanelli@gmail.com>2014-06-03 15:55:26 -0400
committerFridrich Štrba <fridrich.strba@bluewin.ch>2014-06-30 22:54:41 +0200
commit3959563228d1b9de57a3dd80188cc88357af5a32 (patch)
tree6bfc463f69493dccc0c19eb58a773ebc78944175 /editeng
parentfd0e1ea165f4bf24a1992733aeaac9df9dce80b6 (diff)
DbgOutItem supports Font Background Color
Change-Id: I1067e73593fdd116c3fc264b07f8bfd77057af0f (cherry picked from commit 2bcaa1ca791ff64a1629d2451bd52323e7e814e3)
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/editeng/editdbg.cxx11
1 files changed, 11 insertions, 0 deletions
diff --git a/editeng/source/editeng/editdbg.cxx b/editeng/source/editeng/editdbg.cxx
index 442bda24c81e..4e4f55b1c402 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: