Commit e4dbbf06 authored by Sergey.Konovalov's avatar Sergey.Konovalov Committed by Alexander.Trofimov

setRowHeight add param isNoCustom

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@67102 954022d7-b5bf-4e40-9824-e11837661b57
parent 248ae8ca
......@@ -3916,7 +3916,7 @@ Woorksheet.prototype.getRowHeight=function(index){
else
return -1;
};
Woorksheet.prototype.setRowHeight=function(height, start, stop){
Woorksheet.prototype.setRowHeight=function(height, start, stop, isNoCustom){
if(0 == height)
return this.setRowHidden(true, start, stop);
//start, stop 0 based
......@@ -3940,7 +3940,9 @@ Woorksheet.prototype.setRowHeight=function(height, start, stop){
{
var oOldProps = row.getHeightProp();
row.h = height;
row.flags |= g_nRowFlag_CustomHeight;
if (!isNoCustom) {
row.flags |= g_nRowFlag_CustomHeight;
}
row.flags &= ~g_nRowFlag_hd;
var oNewProps = row.getHeightProp();
if(false === oOldProps.isEqual(oNewProps))
......
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