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

export functions asc_getFitToWidth and asc_getFitToHeight

parent 413f7be5
......@@ -1083,8 +1083,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; };
......@@ -1652,6 +1652,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;
......
......@@ -1608,8 +1608,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