Commit 48655a28 authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

Ctlr+5 - горячая клавиша для зачеркнутого текста (поддержал в редакторе ячейки...

Ctlr+5 - горячая клавиша для зачеркнутого текста (поддержал в редакторе ячейки и в EventsController)
Поправил тестовый документ для коментариев

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@48772 954022d7-b5bf-4e40-9824-e11837661b57
parent 5777172f
function getTestWorkbook() {
return "XLSY;v2;3296;BAKAAgAAA94DAAAE8QMAAADXDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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HQATQBvAGQAAUANAwD7AkcAAAD6AAD7AD4AAAD6AAUAAAA1ADAAMAAwADAAAQUAAAA1ADAAMAAwADAAAgUAAAA1ADAAMAAwADAAAwUAAAA1ADAAMAAwADAA+wQEAAAAAAAAAA==";
}
......@@ -1558,7 +1558,10 @@
val = (null === val) ? ((format.u) ? !format.u : true) : val;
format.u = val;
break;
case "s": format.s = val; break;
case "s":
val = (null === val) ? ((format.s) ? !format.s : true) : val;
format.s = val;
break;
case "fa": format.va = val; break;
case "c":
format.c = asc.numberToCSSColor(val.getRgb());
......@@ -1725,6 +1728,18 @@
event.shiftKey ? t._selectChars(kind) : t._moveCursor(kind);
return false;
case 53: // 5
if (event.ctrlKey) {
if (!t.hasFocus) {t.setFocus(true);}
// Отключим стандартную обработку браузера нажатия ctlr + 5
event.stopPropagation();
event.preventDefault();
if (hieroglyph) {t._syncEditors();}
t.setTextStyle("s", null);
return true;
}
break;
case 65: // A
if (event.ctrlKey) {
if (!t.hasFocus) {t.setFocus(true);}
......
......@@ -785,14 +785,15 @@
} */
break;
case 66: // make bold Ctrl + b
case 73: // make italic Ctrl + i
case 83: // save Ctrl + s
case 85: // make underline Ctrl + u
case 86: // paste Ctrl + v
case 88: // cut Ctrl + x
case 89: // redo Ctrl + y
case 90: // undo Ctrl + z
case 53: // make strikethrough Ctrl + 5
case 66: // make bold Ctrl + b
case 73: // make italic Ctrl + i
case 83: // save Ctrl + s
case 85: // make underline Ctrl + u
case 86: // paste Ctrl + v
case 88: // cut Ctrl + x
case 89: // redo Ctrl + y
case 90: // undo Ctrl + z
if (isViewerMode || t.isSelectionDialogMode) {stop(); return false;}
case 65: // select all Ctrl + a
......@@ -807,6 +808,7 @@
// Вызовем обработчик
if (!t.__handlers) {
t.__handlers = {
53: function () {stop(); t.handlers.trigger("setFontAttributes", "s");},
65: function () {stop(); t.handlers.trigger("changeSelection", /*isStartPoint*/true,
0, 0, /*isCoord*/true, /*isSelectMode*/false);},
66: function () {stop(); t.handlers.trigger("setFontAttributes", "b");},
......
......@@ -872,6 +872,9 @@
val = !(selectionInfo.asc_getFont().asc_getUnderline());
val = val ? "single" : "none";
break;
case "s":
val = !(selectionInfo.asc_getFont().asc_getStrikeout());
break;
}
return this.setFontAttributes(prop, val);
},
......
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