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