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

Bug 23086 - Игнорируется выбранный на панели инструментов шрифт при наборе текста в автофигуре

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@57296 954022d7-b5bf-4e40-9824-e11837661b57
parent 48e1e998
......@@ -1017,6 +1017,28 @@ DrawingObjectsController.prototype =
content.Set_ApplyToAll(false);
ret = true;
}
else
{
if(arr[i].getObjectType() === historyitem_type_Shape)
{
if(arr[i].bWordShape)
{
arr[i].createTextBoxContent();
}
else
{
arr[i].createTextBody();
}
content = arr[i].getDocContent();
if(content)
{
content.Set_ApplyToAll(true);
f.apply(content, args);
content.Set_ApplyToAll(false);
ret = true;
}
}
}
}
}
return ret;
......
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