Commit 60550ef0 authored by Igor.Zotov's avatar Igor.Zotov Committed by Alexander.Trofimov

рефакторинг(add function)

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@63740 954022d7-b5bf-4e40-9824-e11837661b57
parent 451134d5
......@@ -413,7 +413,7 @@ var maxIndividualValues = 10000;
},
changeTableStyleInfo: function(styleName, activeRange)
changeTableStyleInfo: function(styleName, activeRange, tableName)
{
var aWs = this._getCurrentWS(), filterRange, t = this, ws = this.worksheet, cloneFilter;
var isTurnOffHistory = aWs.workbook.bUndoChanges || aWs.workbook.bRedoChanges;
......@@ -1649,6 +1649,18 @@ var maxIndividualValues = 10000;
return res;
},
iaChangeAutoFilterToTablePart: function(addFormatTableOptionsObj)
{
var res = false;
var aWs = this._getCurrentWS();
var activeRange = Asc.g_oRangeCache.getAscRange(addFormatTableOptionsObj.asc_getRange());
if(activeRange && aWs.AutoFilter && activeRange.containsRange(aWs.AutoFilter.Ref) && activeRange.r1 === aWs.AutoFilter.Ref.r1)
res = true;
return res;
},
_setStyleTablePartsAfterOpenRows: function(ref)
{
var aWs = this._getCurrentWS();
......@@ -4465,7 +4477,7 @@ var maxIndividualValues = 10000;
return result;
},
_isPartTablePartsUnderRange(range)
_isPartTablePartsUnderRange: function(range)
{
var aWs = this._getCurrentWS();
var result = false;
......@@ -4485,7 +4497,7 @@ var maxIndividualValues = 10000;
return result;
},
_isPartAutoFilterUnderRange(range)
_isPartAutoFilterUnderRange: function(range)
{
var aWs = this._getCurrentWS();
var result = 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