Commit bdbeeeb4 authored by GoshaZotov's avatar GoshaZotov

add function bIsApplyFilterBySheet

parent 5613e914
...@@ -5465,6 +5465,28 @@ Woorksheet.prototype.getTableNameColumnByIndex = function(tableName, columnIndex ...@@ -5465,6 +5465,28 @@ Woorksheet.prototype.getTableNameColumnByIndex = function(tableName, columnIndex
} }
return res; return res;
}; };
Woorksheet.prototype.bIsApplyFilterBySheet = function(){
var res = false;
if(this.AutoFilter && this.AutoFilter.isApplyAutoFilter())
{
res = true;
}
if(false === res && this.TableParts)
{
for(var i = 0; i < this.TableParts.length; i++)
{
if(true === this.TableParts[i].isApplyAutoFilter())
{
res = true;
break;
}
}
}
return res;
};
function inCache(aCache, sFormula, aRefs) function inCache(aCache, sFormula, aRefs)
{ {
......
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