Commit 8142c071 authored by GoshaZotov's avatar GoshaZotov Committed by Alexander.Trofimov

add api function - asc_changeSelectionFormatTable

parent 0f485337
...@@ -656,6 +656,11 @@ var editor; ...@@ -656,6 +656,11 @@ var editor;
return ws.clearFilter(); return ws.clearFilter();
}; };
spreadsheet_api.prototype.asc_changeSelectionFormatTable = function(tableName, optionType) {
var ws = this.wb.getWorksheet();
return ws.af_changeSelectionFormatTable(tableName, optionType);
};
spreadsheet_api.prototype.asc_setMobileVersion = function(isMobile) { spreadsheet_api.prototype.asc_setMobileVersion = function(isMobile) {
this.isMobileVersion = isMobile; this.isMobileVersion = isMobile;
AscCommon.AscBrowser.isMobileVersion = isMobile; AscCommon.AscBrowser.isMobileVersion = isMobile;
...@@ -3348,13 +3353,14 @@ var editor; ...@@ -3348,13 +3353,14 @@ var editor;
prot["asc_getDefaultDefinedName"] = prot.asc_getDefaultDefinedName; prot["asc_getDefaultDefinedName"] = prot.asc_getDefaultDefinedName;
prot["asc_checkDefinedName"] = prot.asc_checkDefinedName; prot["asc_checkDefinedName"] = prot.asc_checkDefinedName;
// Auto filters interface // Auto filters interface + format as table
prot["asc_addAutoFilter"] = prot.asc_addAutoFilter; prot["asc_addAutoFilter"] = prot.asc_addAutoFilter;
prot["asc_changeAutoFilter"] = prot.asc_changeAutoFilter; prot["asc_changeAutoFilter"] = prot.asc_changeAutoFilter;
prot["asc_applyAutoFilter"] = prot.asc_applyAutoFilter; prot["asc_applyAutoFilter"] = prot.asc_applyAutoFilter;
prot["asc_sortColFilter"] = prot.asc_sortColFilter; prot["asc_sortColFilter"] = prot.asc_sortColFilter;
prot["asc_getAddFormatTableOptions"] = prot.asc_getAddFormatTableOptions; prot["asc_getAddFormatTableOptions"] = prot.asc_getAddFormatTableOptions;
prot["asc_clearFilter"] = prot.asc_clearFilter; prot["asc_clearFilter"] = prot.asc_clearFilter;
prot["asc_changeSelectionFormatTable"] = prot.asc_changeSelectionFormatTable;
// Drawing objects interface // Drawing objects interface
......
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