Commit 9ebbb460 authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

delete method asc_isFreezePane from api.js

add method in class asc_getIsFreezePane asc_CSheetViewSettings

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@55900 954022d7-b5bf-4e40-9824-e11837661b57
parent c28ea296
...@@ -2722,10 +2722,6 @@ var ASC_DOCS_API_USE_EMBEDDED_FONTS = "@@ASC_DOCS_API_USE_EMBEDDED_FONTS"; ...@@ -2722,10 +2722,6 @@ var ASC_DOCS_API_USE_EMBEDDED_FONTS = "@@ASC_DOCS_API_USE_EMBEDDED_FONTS";
this.wb.getWorksheet().freezePane(); this.wb.getWorksheet().freezePane();
}, },
asc_isFreezePane: function () {
return null !== this.wb.getWorksheet().getFrozenCell();
},
// Cell interface // Cell interface
asc_getCellInfo: function (bExt) { asc_getCellInfo: function (bExt) {
return this.wb.getWorksheet().getSelectionInfo(!!bExt); return this.wb.getWorksheet().getSelectionInfo(!!bExt);
...@@ -3741,7 +3737,6 @@ var ASC_DOCS_API_USE_EMBEDDED_FONTS = "@@ASC_DOCS_API_USE_EMBEDDED_FONTS"; ...@@ -3741,7 +3737,6 @@ var ASC_DOCS_API_USE_EMBEDDED_FONTS = "@@ASC_DOCS_API_USE_EMBEDDED_FONTS";
// Frozen pane // Frozen pane
prot["asc_freezePane"] = prot.asc_freezePane; prot["asc_freezePane"] = prot.asc_freezePane;
prot["asc_isFreezePane"] = prot.asc_isFreezePane;
// Cell interface // Cell interface
prot["asc_getCellInfo"] = prot.asc_getCellInfo; prot["asc_getCellInfo"] = prot.asc_getCellInfo;
......
...@@ -210,7 +210,7 @@ ...@@ -210,7 +210,7 @@
g_sheetViewSettings = api.asc_getSheetViewSettings(); g_sheetViewSettings = api.asc_getSheetViewSettings();
$("#showGridLines").attr("checked", g_sheetViewSettings.asc_getShowGridLines()); $("#showGridLines").attr("checked", g_sheetViewSettings.asc_getShowGridLines());
$("#showHeaders").attr("checked", g_sheetViewSettings.asc_getShowRowColHeaders()); $("#showHeaders").attr("checked", g_sheetViewSettings.asc_getShowRowColHeaders());
$("#freezePane").attr("checked", api.asc_isFreezePane()); $("#freezePane").attr("checked", g_sheetViewSettings.asc_getIsFreezePane());
} }
function onTabNavigationBtnClicked(event) { function onTabNavigationBtnClicked(event) {
......
...@@ -1000,6 +1000,7 @@ ...@@ -1000,6 +1000,7 @@
}, },
asc_getShowGridLines: function () { return false !== this.showGridLines; }, asc_getShowGridLines: function () { return false !== this.showGridLines; },
asc_getShowRowColHeaders: function () { return false !== this.showRowColHeaders; }, asc_getShowRowColHeaders: function () { return false !== this.showRowColHeaders; },
asc_getIsFreezePane: function () { return null !== this.pane; },
asc_setShowGridLines: function (val) { this.showGridLines = val; }, asc_setShowGridLines: function (val) { this.showGridLines = val; },
asc_setShowRowColHeaders: function (val) { this.showRowColHeaders = val; }, asc_setShowRowColHeaders: function (val) { this.showRowColHeaders = val; },
getType : function () { getType : function () {
...@@ -1425,6 +1426,7 @@ ...@@ -1425,6 +1426,7 @@
prot = asc_CSheetViewSettings.prototype; prot = asc_CSheetViewSettings.prototype;
prot["asc_getShowGridLines"] = prot.asc_getShowGridLines; prot["asc_getShowGridLines"] = prot.asc_getShowGridLines;
prot["asc_getShowRowColHeaders"] = prot.asc_getShowRowColHeaders; prot["asc_getShowRowColHeaders"] = prot.asc_getShowRowColHeaders;
prot["asc_getIsFreezePane"] = prot.asc_getIsFreezePane;
prot["asc_setShowGridLines"] = prot.asc_setShowGridLines; prot["asc_setShowGridLines"] = prot.asc_setShowGridLines;
prot["asc_setShowRowColHeaders"] = prot.asc_setShowRowColHeaders; prot["asc_setShowRowColHeaders"] = prot.asc_setShowRowColHeaders;
......
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