Commit 2a776b04 authored by Alexander.Trofimov's avatar Alexander.Trofimov

При выборе диапазона для диаграммы теперь тоже делаем абсолютные ссылки.

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@61703 954022d7-b5bf-4e40-9824-e11837661b57
parent e5e4eb5d
......@@ -712,7 +712,7 @@ function CellAddressUtils(){
};
this.getCellId = function(row, col){
return g_oCellAddressUtils.colnumToColstr(col + 1) + (row + 1);
}
};
this.getCellAddress = function(sId)
{
var oRes = this.oCellAddressCache[sId];
......
......@@ -6471,9 +6471,7 @@
WorksheetView.prototype.getSelectionRangeValue = function () {
// ToDo проблема с выбором целого столбца/строки
var ar = this.activeRange.clone(true);
// ToDo делаем ссылки только для форматированной таблицы
if (c_oAscSelectionDialogType.FormatTable === this.selectionDialogType)
ar.r1Abs = ar.c1Abs = ar.r2Abs = ar.c2Abs = true;
ar.r1Abs = ar.c1Abs = ar.r2Abs = ar.c2Abs = true;
var sName = ar.getName();
return (c_oAscSelectionDialogType.FormatTable === this.selectionDialogType) ? sName :
parserHelp.get3DRef(this.model.getName(), sName);
......
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