Commit bc5f3176 authored by Oleg.Korshul's avatar Oleg.Korshul Committed by Alexander.Trofimov

баг с выставлением шрифта

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@61037 954022d7-b5bf-4e40-9824-e11837661b57
parent f02c8093
......@@ -1734,7 +1734,7 @@ asc_docs_api.prototype.put_TextPrFontName = function(name)
if (false === isasync)
{
this.WordControl.m_oLogicDocument.Create_NewHistoryPoint();
this.WordControl.m_oLogicDocument.Paragraph_Add( new ParaTextPr( { FontFamily : { Name : fontinfo.Name , Index : nIndex } } ) );
this.WordControl.m_oLogicDocument.Paragraph_Add( new ParaTextPr( { FontFamily : { Name : fontinfo.Name , Index : -1 } } ) );
}
}
asc_docs_api.prototype.put_TextPrFontSize = function(size)
......
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