CDocumentSectionProps -> Asc.CDocumentSectionProps

This commit is contained in:
Alexander.Trofimov 2016-05-06 18:20:32 +03:00
parent e8733eb8b2
commit e436a3a17f
2 changed files with 2 additions and 2 deletions

View file

@ -1464,7 +1464,7 @@ define([
this.onSectionProps(section);
return;
} else {
var props = new CDocumentSectionProps();
var props = new Asc.CDocumentSectionProps();
props.put_TopMargin(item.value[0]);
props.put_LeftMargin(item.value[1]);
props.put_BottomMargin(item.value[2]);

View file

@ -201,7 +201,7 @@ define([
},
getSettings: function() {
var props = new CDocumentSectionProps();
var props = new Asc.CDocumentSectionProps();
props.put_TopMargin(Common.Utils.Metric.fnRecalcToMM(this.spnTop.getNumberValue()));
props.put_BottomMargin(Common.Utils.Metric.fnRecalcToMM(this.spnBottom.getNumberValue()));
props.put_LeftMargin(Common.Utils.Metric.fnRecalcToMM(this.spnLeft.getNumberValue()));