Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sdkjs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boris Kocherov
sdkjs
Commits
806c7656
Commit
806c7656
authored
Aug 24, 2017
by
Ilya Kirillov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed temporary hotkeys.
parent
4ada1ad0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
77 deletions
+0
-77
word/Editor/Document.js
word/Editor/Document.js
+0
-77
No files found.
word/Editor/Document.js
View file @
806c7656
...
...
@@ -6893,83 +6893,6 @@ CDocument.prototype.OnKeyDown = function(e)
bUpdateSelection
=
false
;
bRetValue
=
keydownresult_PreventAll
;
}
else
if
(
e
.
KeyCode
===
112
&&
true
===
e
.
ShiftKey
)
{
if
(
true
===
e
.
CtrlKey
)
{
this
.
BeginViewModeInReview
(
true
);
}
else
{
this
.
Api
.
asc_AddContentControl
(
AscCommonWord
.
sdttype_InlineLevel
);
}
bRetValue
=
keydownresult_PreventAll
;
}
else
if
(
e
.
KeyCode
===
113
&&
true
===
e
.
ShiftKey
)
{
if
(
true
===
e
.
CtrlKey
)
{
this
.
BeginViewModeInReview
(
false
);
}
else
{
this
.
Api
.
asc_AddContentControl
(
AscCommonWord
.
sdttype_BlockLevel
);
}
bRetValue
=
keydownresult_PreventAll
;
}
else
if
(
e
.
KeyCode
===
114
&&
true
===
e
.
ShiftKey
)
{
if
(
true
===
e
.
CtrlKey
)
{
this
.
EndViewModeInReview
();
}
else
{
this
.
Api
.
asc_RemoveContentControl
();
}
bRetValue
=
keydownresult_PreventAll
;
}
else
if
(
e
.
KeyCode
===
115
&&
true
===
e
.
ShiftKey
)
{
this
.
Api
.
asc_RemoveContentControlWrapper
();
bRetValue
=
keydownresult_PreventAll
;
}
else
if
(
e
.
KeyCode
===
116
&&
true
===
e
.
ShiftKey
)
{
var
oContentControlPr
=
new
AscCommonWord
.
CContentControlPr
();
oContentControlPr
.
put_Lock
(
AscCommonWord
.
sdtlock_Unlocked
);
this
.
Api
.
asc_SetContentControlProperties
(
oContentControlPr
);
bRetValue
=
keydownresult_PreventAll
;
}
else
if
(
e
.
KeyCode
===
117
&&
true
===
e
.
ShiftKey
)
{
var
oContentControlPr
=
new
AscCommonWord
.
CContentControlPr
();
oContentControlPr
.
put_Lock
(
AscCommonWord
.
sdtlock_ContentLocked
);
this
.
Api
.
asc_SetContentControlProperties
(
oContentControlPr
);
bRetValue
=
keydownresult_PreventAll
;
}
else
if
(
e
.
KeyCode
===
118
&&
true
===
e
.
ShiftKey
)
{
var
oContentControlPr
=
new
AscCommonWord
.
CContentControlPr
();
oContentControlPr
.
put_Lock
(
AscCommonWord
.
sdtlock_SdtLocked
);
this
.
Api
.
asc_SetContentControlProperties
(
oContentControlPr
);
bRetValue
=
keydownresult_PreventAll
;
}
else
if
(
e
.
KeyCode
===
119
&&
true
===
e
.
ShiftKey
)
{
var
oContentControlPr
=
new
AscCommonWord
.
CContentControlPr
();
oContentControlPr
.
put_Lock
(
AscCommonWord
.
sdtlock_SdtContentLocked
);
this
.
Api
.
asc_SetContentControlProperties
(
oContentControlPr
);
bRetValue
=
keydownresult_PreventAll
;
}
else
if
(
e
.
KeyCode
===
120
&&
true
===
e
.
ShiftKey
)
{
if
(
true
!==
e
.
CtrlKey
)
this
.
Api
.
restrictions
=
Asc
.
c_oAscRestrictionType
.
OnlyForms
;
else
this
.
Api
.
restrictions
=
Asc
.
c_oAscRestrictionType
.
None
;
bRetValue
=
keydownresult_PreventAll
;
}
else
if
(
e
.
KeyCode
==
121
&&
true
===
e
.
ShiftKey
)
// Shift + F10 - контекстное меню
{
var
X_abs
,
Y_abs
,
oPosition
,
ConvertedPos
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment