Kaydet (Commit) 4921b03d authored tarafından Miklos Vajna's avatar Miklos Vajna

sw: don't hardcode sprmCCvUl (underline color)

Change-Id: Ie7eefcadc0344654dd0b57bda0363b6f6f7aceec
üst 0e30cae5
......@@ -310,6 +310,7 @@ const sal_uInt16 LN_TDxaFromTextRight = 0x941e;
const sal_uInt16 LN_TDyaFromTextBottom = 0x941f;
const sal_uInt16 LN_TFNoAllowOverlap = 0x3465;
const sal_uInt16 LN_CCv = 0x6870;
const sal_uInt16 LN_CCvUl = 0x6877;
}
#endif // INCLUDED_SW_SOURCE_FILTER_WW8_SPRMIDS_HXX
......
......@@ -1272,7 +1272,7 @@ void WW8AttributeOutput::CharUnderline( const SvxUnderlineItem& rUnderline )
Color aColor = rUnderline.GetColor();
if( aColor != COL_TRANSPARENT )
{
m_rWW8Export.InsUInt16( 0x6877 );
m_rWW8Export.InsUInt16( NS_sprm::LN_CCvUl );
m_rWW8Export.InsUInt32( wwUtility::RGBToBGR( aColor.GetColor() ) );
}
......
......@@ -6134,7 +6134,7 @@ const wwSprmDispatcher *GetWW8SprmDispatcher()
{0x6815, 0}, //undocumented
{0x6816, 0}, //undocumented
{NS_sprm::LN_CCv, &SwWW8ImplReader::Read_TextForeColor},
{0x6877, &SwWW8ImplReader::Read_UnderlineColor},
{NS_sprm::LN_CCvUl, &SwWW8ImplReader::Read_UnderlineColor},
{0xC64D, &SwWW8ImplReader::Read_ParaBackColor},
{0x6467, 0}, //undocumented
{0xF617, 0}, //undocumented
......
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