[DE] Fix Bug 35612

This commit is contained in:
Julia Radzhabova 2018-02-26 15:59:38 +03:00
parent 0773d58274
commit b6ec334a7d

View file

@ -318,7 +318,7 @@ define([
if (this.api) {
var section = this.api.asc_GetSectionProps(),
ratio = (this._state.Height>0) ? this._state.Width/this._state.Height : 1,
pagew = section.get_W() - section.get_LeftMargin() - section.get_RightMargin(),
pagew = this.api.asc_GetCurrentColumnWidth(),
pageh = section.get_H() - section.get_TopMargin() - section.get_BottomMargin(),
pageratio = pagew/pageh,
w, h;