Commit 89e92f0e authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

Переход от worksheet._getMergedCellsRange на model.getMergedByCell

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@50506 954022d7-b5bf-4e40-9824-e11837661b57
parent bee65f5b
......@@ -98,12 +98,12 @@ var c_oAscAlignType = {
};
var c_oAscCsvDelimiter = {
None:0,
Tab:1,
Semicolon:2,
Сolon:3,
Comma:4,
Space:5
None : 0,
Tab : 1,
Semicolon : 2,
Сolon : 3,
Comma : 4,
Space : 5
};
var c_oAscAdvancedOptionsID = {
......
......@@ -7036,7 +7036,7 @@
canChangeColWidth = c_oAscCanChangeColWidth.numbers;
break;
case "changeFontSize":
mc = t._getMergedCellsRange(arn.startCol, arn.startRow);
mc = t.getMergedByCell(arn.startRow, arn.startCol);
c = mc ? mc.c1 : arn.startCol;
r = mc ? mc.r1 : arn.startRow;
cell = t._getVisibleCell(c, r);
......@@ -7205,7 +7205,7 @@
val.hyperlinkModel.Ref = range;
range.setHyperlink(val.hyperlinkModel);
// Вставим текст в активную ячейку (а не так, как MSExcel в первую ячейку диапазона)
mc = t._getMergedCellsRange(arn.startCol, arn.startRow);
mc = t.getMergedByCell(arn.startRow, arn.startCol);
c = mc ? mc.c1 : arn.startCol;
r = mc ? mc.r1 : arn.startRow;
if (null !== val.asc_getText()) {
......
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