Commit cf3aef93 authored by Alexey.Musinov's avatar Alexey.Musinov Committed by Alexander.Trofimov

[ios] internal data range links

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@68165 954022d7-b5bf-4e40-9824-e11837661b57
parent 26fd1414
...@@ -5262,8 +5262,6 @@ function offline_apply_event(type,params) { ...@@ -5262,8 +5262,6 @@ function offline_apply_event(type,params) {
} }
ws.objectRender.controller.setGraphicObjectProps(_imagePr); ws.objectRender.controller.setGraphicObjectProps(_imagePr);
// _api.asc_setGraphicObjectProps(_imagePr);
} }
break; break;
} }
...@@ -5884,6 +5882,28 @@ function offline_apply_event(type,params) { ...@@ -5884,6 +5882,28 @@ function offline_apply_event(type,params) {
break; break;
} }
case 5000: // ASC_SPREADSHEETS_EVENT_TYPE_GO_LINK_TYPE_INTERNAL_DATA_RANGE
{
var cellX = params[0];
var cellY = params[1];
var isViewerMode = false;
var ws = _api.wb.getWorksheet();
var ct = ws.getCursorTypeFromXY(cellX, cellY, isViewerMode);
var curIndex = _api.asc_getActiveWorksheetIndex();
if (c_oTargetType.Hyperlink === ct.target) {
_api._asc_setWorksheetRange(ct.hyperlink);
}
_stream = global_memory_stream_menu;
_stream["ClearNoAttack"]();
_stream["WriteBool"](!(curIndex === _api.asc_getActiveWorksheetIndex()));
_return = _stream;
break;
}
default: default:
break; break;
} }
......
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