Commit 1970f6e4 authored by GoshaZotov's avatar GoshaZotov

add getHidden function into row prototype

parent 4f26ed19
......@@ -5516,11 +5516,11 @@ Woorksheet.prototype.isApplyFilterBySheet = function(){
var aRows = this.worksheet._getRows();
for(var i in aRows)
{
if (excludeHiddenRows && this.worksheet.getRowHidden(i)) {
var row = aRows[i];
if (excludeHiddenRows && row.getHidden())
{
continue;
}
var row = aRows[i];
if( null != actionRow )
{
var oRes = actionRow(row);
......@@ -5543,13 +5543,14 @@ Woorksheet.prototype.isApplyFilterBySheet = function(){
{
var minR = Math.min(oBBox.r2,this.worksheet.getRowsCount());
for(var i = oBBox.r1; i <= minR; i++){
if (excludeHiddenRows && this.worksheet.getRowHidden(i)) {
continue;
}
var row = this.worksheet._getRowNoEmpty(i);
if(row)
{
if (excludeHiddenRows && row.getHidden())
{
continue;
}
if( null != actionRow )
{
var oRes = actionRow(row);
......
......@@ -2977,6 +2977,11 @@ Row.prototype =
var oRes = this.ws.workbook.oStyleManager.setVerticalText(this, val);
if(History.Is_On() && oRes.oldVal != oRes.newVal)
History.Add(AscCommonExcel.g_oUndoRedoRow, AscCH.historyitem_RowCol_Angle, this.ws.getId(), this._getUpdateRange(), new UndoRedoData_IndexSimpleProp(this.index, true, oRes.oldVal, oRes.newVal));
},
getHidden: function()
{
return 0 != (AscCommonExcel.g_nRowFlag_hd & this.flags);
}
};
var g_oCCellValueMultiTextProperties = {
......
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