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

CDocumentSectionProps -> Asc.CDocumentSectionProps

parent e8733eb8
...@@ -1464,7 +1464,7 @@ define([ ...@@ -1464,7 +1464,7 @@ define([
this.onSectionProps(section); this.onSectionProps(section);
return; return;
} else { } else {
var props = new CDocumentSectionProps(); var props = new Asc.CDocumentSectionProps();
props.put_TopMargin(item.value[0]); props.put_TopMargin(item.value[0]);
props.put_LeftMargin(item.value[1]); props.put_LeftMargin(item.value[1]);
props.put_BottomMargin(item.value[2]); props.put_BottomMargin(item.value[2]);
......
...@@ -201,7 +201,7 @@ define([ ...@@ -201,7 +201,7 @@ define([
}, },
getSettings: function() { getSettings: function() {
var props = new CDocumentSectionProps(); var props = new Asc.CDocumentSectionProps();
props.put_TopMargin(Common.Utils.Metric.fnRecalcToMM(this.spnTop.getNumberValue())); props.put_TopMargin(Common.Utils.Metric.fnRecalcToMM(this.spnTop.getNumberValue()));
props.put_BottomMargin(Common.Utils.Metric.fnRecalcToMM(this.spnBottom.getNumberValue())); props.put_BottomMargin(Common.Utils.Metric.fnRecalcToMM(this.spnBottom.getNumberValue()));
props.put_LeftMargin(Common.Utils.Metric.fnRecalcToMM(this.spnLeft.getNumberValue())); props.put_LeftMargin(Common.Utils.Metric.fnRecalcToMM(this.spnLeft.getNumberValue()));
......
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