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

add Range.promoteFromTo

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@54715 954022d7-b5bf-4e40-9824-e11837661b57
parent 3deb33a5
This diff is collapsed.
...@@ -2220,6 +2220,10 @@ Col.prototype = ...@@ -2220,6 +2220,10 @@ Col.prototype =
this.BestFit = null; this.BestFit = null;
} }
}, },
getStyle : function()
{
return this.xfs;
},
setStyle : function(xfs) setStyle : function(xfs)
{ {
var oldVal = this.xfs; var oldVal = this.xfs;
...@@ -2422,7 +2426,7 @@ Row.prototype = ...@@ -2422,7 +2426,7 @@ Row.prototype =
}, },
isEmpty : function() isEmpty : function()
{ {
if(null != this.xfs || null != this.h || null != this.hd || null != this.CustomHeight) if(!this.isEmptyProp())
return false; return false;
var bEmptyCells = true; var bEmptyCells = true;
for(var i in this.c) for(var i in this.c)
...@@ -2434,6 +2438,10 @@ Row.prototype = ...@@ -2434,6 +2438,10 @@ Row.prototype =
return false; return false;
return true; return true;
}, },
isEmptyProp : function()
{
return null == this.xfs && null == this.h && null == this.hd && null == this.CustomHeight;
},
Remove : function() Remove : function()
{ {
this.ws._removeRow(this.index); this.ws._removeRow(this.index);
...@@ -2495,6 +2503,10 @@ Row.prototype = ...@@ -2495,6 +2503,10 @@ Row.prototype =
this.CustomHeight = otherRow.CustomHeight; this.CustomHeight = otherRow.CustomHeight;
this.hd = otherRow.hd; this.hd = otherRow.hd;
}, },
getStyle : function()
{
return this.xfs;
},
setStyle : function(xfs) setStyle : function(xfs)
{ {
var oldVal = this.xfs; var oldVal = this.xfs;
......
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