Commit 2c1964a9 authored by Oleg Korshul's avatar Oleg Korshul

mobile web: excel: new tracks (developing...)

parent cf062104
......@@ -2855,6 +2855,14 @@
T: type
};
};
WorkbookView.prototype.GetCaptionSize = function()
{
var ws = this.getWorksheet();
return {
W: ws.cellsLeft * asc_getcvt(1/*pt*/, 3/*mm*/, ws._getPPIX()),
H: ws.cellsTop * asc_getcvt(1/*pt*/, 3/*mm*/, ws._getPPIY())
};
};
WorkbookView.prototype.ConvertXYToLogic = function (x, y) {
return this.getWorksheet().ConvertXYToLogic(x, y);
};
......
This diff is collapsed.
......@@ -48,7 +48,8 @@
FlowObj : 5,
Cursor : 6,
TableMove : 7,
TableRuler : 8
TableRuler : 8,
SelectTrack : 9
};
AscCommon.MobileTouchContextMenuType =
......@@ -565,6 +566,7 @@
this.RectSelect2 = null;
this.PageSelect1 = 0;
this.PageSelect2 = 0;
this.RectSelectType = 0; // excel
this.TrackTargetEps = 20;
......@@ -1386,6 +1388,8 @@
if (!_select)
return;
this.RectSelectType = (_select.Type === undefined) ? 0 : _select.Type;
var _rect1 = _select.Start;
var _rect2 = _select.End;
......
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