Commit 6b2e1583 authored by Sergey.Luzyanin's avatar Sergey.Luzyanin Committed by Alexander.Trofimov

Shd

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@55923 954022d7-b5bf-4e40-9824-e11837661b57
parent 21e7102e
...@@ -3832,7 +3832,10 @@ asc_docs_api.prototype.put_ParagraphShade = function(is_flag, color) ...@@ -3832,7 +3832,10 @@ asc_docs_api.prototype.put_ParagraphShade = function(is_flag, color)
this.WordControl.m_oLogicDocument.Set_ParagraphShd( { Value : shd_Nil } ); this.WordControl.m_oLogicDocument.Set_ParagraphShd( { Value : shd_Nil } );
else else
{ {
this.WordControl.m_oLogicDocument.Set_ParagraphShd( { Value : shd_Clear, Color : { r : color.get_r(), g : color.get_g(), b : color.get_b() } } ); var Unifill = new CUniFill();
Unifill.fill = new CSolidFill();
Unifill.fill.color = CorrectUniColor(color, Unifill.fill.color);
this.WordControl.m_oLogicDocument.Set_ParagraphShd( { Value : shd_Clear, Color : { r : color.get_r(), g : color.get_g(), b : color.get_b() }, Unifill: Unifill } );
} }
} }
} }
......
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