Commit d871d690 authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

ToDo реализовать скрытие всех строк!

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@64404 954022d7-b5bf-4e40-9824-e11837661b57
parent 50b79b6f
...@@ -3858,7 +3858,7 @@ Woorksheet.prototype.setRowHidden=function(bHidden, start, stop){ ...@@ -3858,7 +3858,7 @@ Woorksheet.prototype.setRowHidden=function(bHidden, start, stop){
else else
row.flags &= ~g_nRowFlag_hd; row.flags &= ~g_nRowFlag_hd;
if(row.index === stop || row.index === gc_nMaxRow0) if(row.index === stop)
{ {
if(isAddPrevBlock) if(isAddPrevBlock)
History.Add(g_oUndoRedoWorksheet, historyitem_Worksheet_RowHide, oThis.getId(), row._getUpdateRange(), new UndoRedoData_FromToRowCol(bHidden, startIndex, row.index)); History.Add(g_oUndoRedoWorksheet, historyitem_Worksheet_RowHide, oThis.getId(), row._getUpdateRange(), new UndoRedoData_FromToRowCol(bHidden, startIndex, row.index));
...@@ -3882,10 +3882,7 @@ Woorksheet.prototype.setRowHidden=function(bHidden, start, stop){ ...@@ -3882,10 +3882,7 @@ Woorksheet.prototype.setRowHidden=function(bHidden, start, stop){
}; };
if(0 == start && gc_nMaxRow0 == stop) if(0 == start && gc_nMaxRow0 == stop)
{ {
fProcessRow(false == bHidden ? this.oSheetFormatPr.oAllRow : this.getAllRow()); // ToDo реализовать скрытие всех строк!
for(i in this.aGCells)
fProcessRow(this.aGCells[i]);
} }
else else
{ {
......
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