Commit 9b7de99a authored by Alexander.Trofimov's avatar Alexander.Trofimov

fix bug 32407

parent 1acb24b2
...@@ -114,7 +114,7 @@ Asc['asc_docs_api'].prototype["Call_Common"] = function(type, param) ...@@ -114,7 +114,7 @@ Asc['asc_docs_api'].prototype["Call_Common"] = function(type, param)
Asc['asc_docs_api'].prototype["Call_HR_Tabs"] = function(arrT, arrP) Asc['asc_docs_api'].prototype["Call_HR_Tabs"] = function(arrT, arrP)
{ {
var _arr = new CParaTabs(); var _arr = new AscCommonWord.CParaTabs();
var _c = arrT.length; var _c = arrT.length;
for (var i = 0; i < _c; i++) for (var i = 0; i < _c; i++)
{ {
...@@ -5142,7 +5142,7 @@ CStylesPainter.prototype = ...@@ -5142,7 +5142,7 @@ CStylesPainter.prototype =
par.Add_ToContent(0, run); par.Add_ToContent(0, run);
par.Style_Add(style.Id, false); par.Style_Add(style.Id, false);
par.Set_Align(AscCommon.align_Left); par.Set_Align(AscCommon.align_Left);
par.Set_Tabs(new CParaTabs()); par.Set_Tabs(new AscCommonWord.CParaTabs());
var _brdL = style.ParaPr.Brd.Left; var _brdL = style.ParaPr.Brd.Left;
if ( undefined !== _brdL && null !== _brdL ) if ( undefined !== _brdL && null !== _brdL )
......
...@@ -1935,7 +1935,7 @@ asc_docs_api.prototype.paraApply = function(Props) ...@@ -1935,7 +1935,7 @@ asc_docs_api.prototype.paraApply = function(Props)
if ( undefined != Props.Tabs ) if ( undefined != Props.Tabs )
{ {
var Tabs = new CParaTabs(); var Tabs = new AscCommonWord.CParaTabs();
Tabs.Set_FromObject( Props.Tabs.Tabs ); Tabs.Set_FromObject( Props.Tabs.Tabs );
graphicObjects.setParagraphTabs( Tabs ); graphicObjects.setParagraphTabs( Tabs );
} }
......
...@@ -10736,6 +10736,7 @@ asc_CStyle.prototype["put_Link"] = asc_CStyle.prototype.put_Link; ...@@ -10736,6 +10736,7 @@ asc_CStyle.prototype["put_Link"] = asc_CStyle.prototype.put_Link;
window["AscCommonWord"].CDocumentColor = CDocumentColor; window["AscCommonWord"].CDocumentColor = CDocumentColor;
window["AscCommonWord"].CStyle = CStyle; window["AscCommonWord"].CStyle = CStyle;
window["AscCommonWord"].CTextPr = CTextPr; window["AscCommonWord"].CTextPr = CTextPr;
window["AscCommonWord"].CParaTabs = CParaTabs;
window["AscCommonWord"].g_dKoef_pt_to_mm = g_dKoef_pt_to_mm; window["AscCommonWord"].g_dKoef_pt_to_mm = g_dKoef_pt_to_mm;
window["AscCommonWord"].border_Single = border_Single; window["AscCommonWord"].border_Single = border_Single;
window["AscCommonWord"].Default_Tab_Stop = Default_Tab_Stop; window["AscCommonWord"].Default_Tab_Stop = Default_Tab_Stop;
......
...@@ -2701,7 +2701,7 @@ asc_docs_api.prototype.paraApply = function(Props) ...@@ -2701,7 +2701,7 @@ asc_docs_api.prototype.paraApply = function(Props)
if ( undefined != Props.Tabs ) if ( undefined != Props.Tabs )
{ {
var Tabs = new CParaTabs(); var Tabs = new AscCommonWord.CParaTabs();
Tabs.Set_FromObject( Props.Tabs.Tabs ); Tabs.Set_FromObject( Props.Tabs.Tabs );
this.WordControl.m_oLogicDocument.Set_ParagraphTabs( Tabs ); this.WordControl.m_oLogicDocument.Set_ParagraphTabs( Tabs );
} }
......
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