Commit 7919cb5d authored by GoshaZotov's avatar GoshaZotov Committed by Alexander.Trofimov

add function asc_getTableRange(class asc_CFormatTableInfo)

parent 402852ac
...@@ -673,7 +673,7 @@ var editor; ...@@ -673,7 +673,7 @@ var editor;
spreadsheet_api.prototype.asc_deleteCellsInTable = function(tableName, optionType) { spreadsheet_api.prototype.asc_deleteCellsInTable = function(tableName, optionType) {
var ws = this.wb.getWorksheet(); var ws = this.wb.getWorksheet();
return ws.asc_deleteCellsInTable(tableName, optionType); return ws.af_deleteCellsInTable(tableName, optionType);
}; };
spreadsheet_api.prototype.asc_setMobileVersion = function(isMobile) { spreadsheet_api.prototype.asc_setMobileVersion = function(isMobile) {
......
...@@ -178,6 +178,8 @@ ...@@ -178,6 +178,8 @@
this.isShowRowStripes = null; this.isShowRowStripes = null;
this.isShowTotalRow = null; this.isShowTotalRow = null;
this.isShowHeaderRow = null; this.isShowHeaderRow = null;
this.tableRange = null;
} }
asc_CFormatTableInfo.prototype = { asc_CFormatTableInfo.prototype = {
...@@ -191,6 +193,7 @@ ...@@ -191,6 +193,7 @@
asc_getLastCol: function () { return this.lastCol; }, asc_getLastCol: function () { return this.lastCol; },
asc_getBandVer: function () { return this.bandVer; }, asc_getBandVer: function () { return this.bandVer; },
asc_getFilterButton: function () { return this.filterButton; } asc_getFilterButton: function () { return this.filterButton; }
asc_getTableRange: function () { return this.tableRange; }
}; };
window["Asc"].asc_CFormatTableInfo = window["Asc"]["asc_CFormatTableInfo"] = asc_CFormatTableInfo; window["Asc"].asc_CFormatTableInfo = window["Asc"]["asc_CFormatTableInfo"] = asc_CFormatTableInfo;
...@@ -206,6 +209,8 @@ ...@@ -206,6 +209,8 @@
prot["asc_getLastCol"] = prot.asc_getLastCol; prot["asc_getLastCol"] = prot.asc_getLastCol;
prot["asc_getBandVer"] = prot.asc_getBandVer; prot["asc_getBandVer"] = prot.asc_getBandVer;
prot["asc_getFilterButton"] = prot.asc_getFilterButton; prot["asc_getFilterButton"] = prot.asc_getFilterButton;
prot["asc_getTableRange"] = prot.asc_getTableRange;
/** @constructor */ /** @constructor */
......
...@@ -7312,6 +7312,7 @@ ...@@ -7312,6 +7312,7 @@
} }
cell_info.formatTableInfo.lastRow = curTablePart.TotalsRowCount !== null ? true : false; cell_info.formatTableInfo.lastRow = curTablePart.TotalsRowCount !== null ? true : false;
cell_info.formatTableInfo.firstRow = curTablePart.HeaderRowCount === null ? true : false; cell_info.formatTableInfo.firstRow = curTablePart.HeaderRowCount === null ? true : false;
cell_info.formatTableInfo.tableRange = curTablePart.Ref.getAbsName();
//cell_info.formatTableInfo.filterButton = curTablePart.HeaderRowCount !== null ? true : false; //cell_info.formatTableInfo.filterButton = curTablePart.HeaderRowCount !== null ? true : false;
} }
......
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