Kaydet (Commit) f9e02022 authored tarafından matteocam's avatar matteocam Kaydeden (comit) Fridrich Štrba

Added case in editdoc.cxx

Change-Id: I572d79dfd770eaa13d24b27f1c689a059cb79153
(cherry picked from commit 073be3ab)
üst c7d80ccb
......@@ -131,13 +131,14 @@ void EditCharAttribUnderline::SetFont( SvxFont& rFont, OutputDevice* pOutDev )
Color aColor = RGB_COLORDATA(0x66,0x66, 0xFF); // blue-ish
rFont.SetUnderline( (FontUnderline)((const SvxUnderlineItem*)GetItem())->GetValue() );
if ( pOutDev ) // FIXME(matteocam)
pOutDev->SetTextLineColor( aColor );
//pOutDev->SetTextLineColor( ((const SvxUnderlineItem*)GetItem())->GetColor() );
// FIXME(matteocam)
/* FIXME(matteocam) */
rFont.SetFillColor(aColor);
// end FIXME
if ( pOutDev )
pOutDev->SetTextFillColor(aColor);
pOutDev->SetTextLineColor( ((const SvxUnderlineItem*)GetItem())->GetColor() );
}
......
......@@ -404,6 +404,11 @@ EditCharAttrib* MakeCharAttrib( SfxItemPool& rPool, const SfxPoolItem& rAttr, sa
pNew = new EditCharAttribField( (const SvxFieldItem&)rNew, nS );
}
break;
case EE_CHAR_BKGCOLOR:
{
pNew = new EditCharAttribBackgroundColor( (const SvxBackgroundColorItem&)rNew, nS, nE );
}
break;
default:
{
OSL_FAIL( "Invalid Attribute!" );
......
......@@ -24,7 +24,8 @@
/*
* NOTE: Changes in this file will probably require
* consistent changes in eerdll.cxx as well.
* consistent changes in eerdll.cxx and editdoc.cxx
* as well.
*/
#define EE_ITEMS_START (OWN_ATTR_VALUE_END+1)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment