Commit 8afde349 authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

Правка бага http://bugzserver/show_bug.cgi?id=22276

Для merge ячеек неправильное расположение по высоте

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@52654 954022d7-b5bf-4e40-9824-e11837661b57
parent 1fbf072f
...@@ -2257,7 +2257,7 @@ ...@@ -2257,7 +2257,7 @@
var h = this.rows[rowB].top + this.rows[rowB].height - offsetY - y1; var h = this.rows[rowB].top + this.rows[rowB].height - offsetY - y1;
var x2 = x1 + w - (isTrimmedR ? 0 : this.width_1px); var x2 = x1 + w - (isTrimmedR ? 0 : this.width_1px);
var y2 = y1 + h - this.height_1px; var y2 = y1 + h - this.height_1px;
var bl = !isMerged ? (y2 - this.rows[rowB].descender) : (y2 - ct.metrics.height + ct.metrics.baseline); var bl = !isMerged ? (y2 - this.rows[rowB].descender) : (y2 - ct.metrics.height + ct.metrics.baseline - this.height_1px);
var x1ct = isMerged ? x1 : this.cols[col].left - offsetX; var x1ct = isMerged ? x1 : this.cols[col].left - offsetX;
var x2ct = isMerged ? x2 : x1ct + this.cols[col].width - this.width_1px; var x2ct = isMerged ? x2 : x1ct + this.cols[col].width - this.width_1px;
var textX = this._calcTextHorizPos(x1ct, x2ct, ct.metrics, ct.cellHA); var textX = this._calcTextHorizPos(x1ct, x2ct, ct.metrics, ct.cellHA);
......
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