Commit a680dd18 authored by Alexander.Trofimov's avatar Alexander.Trofimov

fix bug 32403

parent 47188654
......@@ -7591,5 +7591,9 @@ function ParagraphContent_Read_FromBinary(Reader)
//--------------------------------------------------------export----------------------------------------------------
window['AscCommonWord'] = window['AscCommonWord'] || {};
window['AscCommonWord'].ParaNewLine = ParaNewLine;
window['AscCommonWord'].ParaTextPr = ParaTextPr;
window['AscCommonWord'].ParaDrawing = ParaDrawing;
window['AscCommonWord'].break_Page = break_Page;
window['AscCommonWord'].break_Column = break_Column;
......@@ -3347,7 +3347,7 @@ asc_docs_api.prototype.put_AddPageBreak = function()
if ( null === Document.Hyperlink_Check(false) )
{
this.WordControl.m_oLogicDocument.Create_NewHistoryPoint(AscDFH.historydescription_Document_AddPageBreak);
this.WordControl.m_oLogicDocument.Paragraph_Add( new ParaNewLine( break_Page ) );
this.WordControl.m_oLogicDocument.Paragraph_Add( new AscCommonWord.ParaNewLine( AscCommonWord.break_Page ) );
}
}
};
......@@ -3359,7 +3359,7 @@ asc_docs_api.prototype.put_AddColumnBreak = function()
if (null === Document.Hyperlink_Check(false))
{
this.WordControl.m_oLogicDocument.Create_NewHistoryPoint(AscDFH.historydescription_Document_AddPageBreak);
this.WordControl.m_oLogicDocument.Paragraph_Add(new ParaNewLine(break_Column));
this.WordControl.m_oLogicDocument.Paragraph_Add(new AscCommonWord.ParaNewLine(AscCommonWord.break_Column));
}
}
};
......
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