Commit 68664c45 authored by Alexander.Trofimov's avatar Alexander.Trofimov

export functions asc_getFitToWidth and asc_getFitToHeight

parent 26c99af1
......@@ -1107,8 +1107,8 @@
asc_CPageSetup.prototype.asc_setOrientation = function (val) { this.orientation = val; };
asc_CPageSetup.prototype.asc_setWidth = function (val) { this.width = val; };
asc_CPageSetup.prototype.asc_setHeight = function (val) { this.height = val; };
asc_CPageSetup.prototype.getFitToWidth = function () { return this.fitToWidth; };
asc_CPageSetup.prototype.getFitToHeight = function () { return this.fitToHeight; };
asc_CPageSetup.prototype.asc_getFitToWidth = function () { return this.fitToWidth; };
asc_CPageSetup.prototype.asc_getFitToHeight = function () { return this.fitToHeight; };
asc_CPageSetup.prototype.asc_setFitToWidth = function (val) { this.fitToWidth = val; };
asc_CPageSetup.prototype.asc_setFitToHeight = function (val) { this.fitToHeight = val; };
......@@ -1676,6 +1676,8 @@
prot["asc_setOrientation"] = prot.asc_setOrientation;
prot["asc_setWidth"] = prot.asc_setWidth;
prot["asc_setHeight"] = prot.asc_setHeight;
prot["asc_getFitToWidth"] = prot.asc_getFitToWidth;
prot["asc_getFitToHeight"] = prot.asc_getFitToHeight;
prot["asc_setFitToWidth"] = prot.asc_setFitToWidth;
prot["asc_setFitToHeight"] = prot.asc_setFitToHeight;
......
......@@ -1637,8 +1637,8 @@
var maxRows = this.model.getRowsCount();
var lastC = -1, lastR = -1;
var activeRange = printOnlySelection ? this.activeRange : null;
var bFitToWidth = pageOptions.getFitToWidth();
var bFitToHeight = pageOptions.getFitToHeight();
var bFitToWidth = pageOptions.asc_getFitToWidth();
var bFitToHeight = pageOptions.asc_getFitToHeight();
if (null === activeRange) {
range = new asc_Range(0, 0, maxCols, maxRows);
......
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