Commit 19d3d171 authored by Alexander.Trofimov's avatar Alexander.Trofimov

fix bug 32403

parent fd360d8c
......@@ -7567,5 +7567,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;
......@@ -3323,7 +3323,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 ) );
}
}
};
......@@ -3335,7 +3335,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