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

правка бага 21071 - [pptx] Замена цвета текста при открытии презентации

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@50577 954022d7-b5bf-4e40-9824-e11837661b57
parent 9a357b15
......@@ -1681,6 +1681,8 @@ function CPresentationBullet()
oColor.b = FirstTextPr.Color.b;
}
var old_b_color = {r: Context.m_oBrush.Color1.R, g: Context.m_oBrush.Color1.G, b: Context.m_oBrush.Color1.B};
var old_pen_color = {r: Context.m_oPen.Color.R, g: Context.m_oPen.Color.G, b: Context.m_oPen.Color.B};
Context.p_color( oColor.r, oColor.g, oColor.b, 255 );
Context.b_color1( oColor.r, oColor.g, oColor.b, 255 );
......@@ -1701,6 +1703,8 @@ function CPresentationBullet()
Context.SetFont( OldFont );
g_oTextMeasurer.SetFont( OldFont2 );
Context.p_color( old_pen_color.r, old_pen_color.g, old_pen_color.b, 255 );
Context.b_color1( old_b_color.r, old_b_color.g, old_b_color.b, 255 );
}
else
{
......
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