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

Частичная правка бага http://bugzserver/show_bug.cgi?id=19666

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@59775 954022d7-b5bf-4e40-9824-e11837661b57
parent 17799914
......@@ -2965,6 +2965,7 @@ Woorksheet.prototype.isDefaultWidthHidden=function(){
return null != this.oAllCol && this.oAllCol.hd;
};
Woorksheet.prototype.getDefaultHeight=function(){
// ToDo http://bugzserver/show_bug.cgi?id=19666 (флага CustomHeight нет)
var dRes = null;
// Нужно возвращать выставленную, только если флаг CustomHeight = true
if(null != this.oSheetFormatPr.oAllRow && this.oSheetFormatPr.oAllRow.CustomHeight)
......
......@@ -1096,8 +1096,8 @@
// ToDo разобраться со значениями
this.maxRowHeight = asc_calcnpt(409, this._getPPIY());
this.defaultRowDescender = this._calcRowDescender(defaultFontSize);
this.defaultRowHeight = asc_calcnpt(defaultFontSize * this.vspRatio, this._getPPIY()) + this.height_1px;
gc_dDefaultRowHeightAttribute = this.model.getDefaultHeight() || this.defaultRowHeight;
gc_dDefaultRowHeightAttribute = this.defaultRowHeight = this.model.getDefaultHeight() ||
asc_calcnpt(defaultFontSize * this.vspRatio, this._getPPIY()) + this.height_1px;
this._setFont(undefined, this.model.getDefaultFontName(), defaultFontSize);
var tm = this._roundTextMetrics(this.stringRender.measureString("A"));
......@@ -1310,7 +1310,7 @@
var visibleH = this.drawingCtx.getHeight();
var obr = this.objectRender ? this.objectRender.getDrawingAreaMetrics() : {maxCol: 0, maxRow: 0};
var l = Math.max(this.model.getRowsCount() + 1, this.nRowsCount, obr.maxRow);
var defaultH = this.model.getDefaultHeight() || this.defaultRowHeight;
var defaultH = this.defaultRowHeight;
var i = 0, h, hR, isCustomHeight, row, hiddenH = 0;
if (1 === fullRecalc) {
......
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