Commit bd103299 authored by Ilya Kirillov's avatar Ilya Kirillov Committed by Alexander.Trofimov

Fixed bug #35226

parent 978f618a
......@@ -2025,6 +2025,7 @@ function ParagraphContent_Read_FromBinary(Reader)
//--------------------------------------------------------export----------------------------------------------------
window['AscCommonWord'] = window['AscCommonWord'] || {};
window['AscCommonWord'].ParaNewLine = ParaNewLine;
window['AscCommonWord'].ParaText = ParaText;
window['AscCommonWord'].break_Page = break_Page;
window['AscCommonWord'].break_Column = break_Column;
......@@ -7219,7 +7219,7 @@ background-repeat: no-repeat;\
oLogicDocument.TurnOff_Recalculate();
for (var nIndex = 0, nLen = sDefaultText.length; nIndex < nLen; ++nIndex)
{
oContentControl.AddToParagraph(new ParaText(sDefaultText.charAt(nIndex)));
oContentControl.AddToParagraph(new AscCommonWord.ParaText(sDefaultText.charAt(nIndex)));
}
oLogicDocument.SelectContentControl(oContentControl.GetId());
oLogicDocument.TurnOn_Recalculate();
......@@ -7249,7 +7249,7 @@ background-repeat: no-repeat;\
{
for (var nIndex = 0, nLen = sDefaultText.length; nIndex < nLen; ++nIndex)
{
oContentControl.Add(new ParaText(sDefaultText.charAt(nIndex)));
oContentControl.Add(new AscCommonWord.ParaText(sDefaultText.charAt(nIndex)));
}
oContentControl.SelectThisElement();
}
......
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