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
100312b5
Commit
100312b5
authored
8 years ago
by
Oleg Korshul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mouse events from plugins
parent
3cad6ab0
No related merge requests found
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
725 additions
and
646 deletions
+725
-646
cell/api.js
cell/api.js
+1
-0
common/apiBase.js
common/apiBase.js
+12
-0
common/plugins.js
common/plugins.js
+708
-646
slide/api.js
slide/api.js
+2
-0
word/api.js
word/api.js
+2
-0
No files found.
cell/api.js
View file @
100312b5
...
...
@@ -3504,6 +3504,7 @@ var editor;
prot
[
"
asc_pluginButtonClick
"
]
=
prot
.
asc_pluginButtonClick
;
prot
[
"
asc_addOleObject
"
]
=
prot
.
asc_addOleObject
;
prot
[
"
asc_editOleObject
"
]
=
prot
.
asc_editOleObject
;
prot
[
"
asc_pluginEnableMouseEvents
"
]
=
prot
.
asc_pluginEnableMouseEvents
;
// system input
prot
[
"
SetTextBoxInputMode
"
]
=
prot
.
SetTextBoxInputMode
;
...
...
This diff is collapsed.
Click to expand it.
common/apiBase.js
View file @
100312b5
...
...
@@ -950,6 +950,18 @@
this
.
pluginsManager
.
buttonClick
(
id
);
};
baseEditorsApi
.
prototype
.
asc_pluginEnableMouseEvents
=
function
(
isEnable
)
{
if
(
!
this
.
pluginsManager
)
return
;
var
_pluginData
=
new
Asc
.
CPluginData
();
_pluginData
.
setAttribute
(
"
type
"
,
"
enableMouseEvent
"
);
_pluginData
.
setAttribute
(
"
isEnabled
"
,
isEnable
);
this
.
pluginsManager
.
sendMessage
(
_pluginData
);
};
// Builder
baseEditorsApi
.
prototype
.
asc_nativeInitBuilder
=
function
()
{
...
...
This diff is collapsed.
Click to expand it.
common/plugins.js
View file @
100312b5
This diff is collapsed.
Click to expand it.
slide/api.js
View file @
100312b5
...
...
@@ -6766,6 +6766,8 @@ background-repeat: no-repeat;\
asc_docs_api
.
prototype
[
"
asc_pluginRun
"
]
=
asc_docs_api
.
prototype
.
asc_pluginRun
;
asc_docs_api
.
prototype
[
"
asc_pluginResize
"
]
=
asc_docs_api
.
prototype
.
asc_pluginResize
;
asc_docs_api
.
prototype
[
"
asc_pluginButtonClick
"
]
=
asc_docs_api
.
prototype
.
asc_pluginButtonClick
;
asc_docs_api
.
prototype
[
"
asc_pluginEnableMouseEvents
"
]
=
asc_docs_api
.
prototype
.
asc_pluginEnableMouseEvents
;
asc_docs_api
.
prototype
[
"
asc_addOleObject
"
]
=
asc_docs_api
.
prototype
.
asc_addOleObject
;
asc_docs_api
.
prototype
[
"
asc_editOleObject
"
]
=
asc_docs_api
.
prototype
.
asc_editOleObject
;
asc_docs_api
.
prototype
[
"
asc_InputClearKeyboardElement
"
]
=
asc_docs_api
.
prototype
.
asc_InputClearKeyboardElement
;
...
...
This diff is collapsed.
Click to expand it.
word/api.js
View file @
100312b5
...
...
@@ -8883,6 +8883,8 @@ background-repeat: no-repeat;\
asc_docs_api
.
prototype
[
"
asc_pluginRun
"
]
=
asc_docs_api
.
prototype
.
asc_pluginRun
;
asc_docs_api
.
prototype
[
"
asc_pluginResize
"
]
=
asc_docs_api
.
prototype
.
asc_pluginResize
;
asc_docs_api
.
prototype
[
"
asc_pluginButtonClick
"
]
=
asc_docs_api
.
prototype
.
asc_pluginButtonClick
;
asc_docs_api
.
prototype
[
"
asc_pluginEnableMouseEvents
"
]
=
asc_docs_api
.
prototype
.
asc_pluginEnableMouseEvents
;
asc_docs_api
.
prototype
[
"
asc_nativeInitBuilder
"
]
=
asc_docs_api
.
prototype
.
asc_nativeInitBuilder
;
asc_docs_api
.
prototype
[
"
asc_SetSilentMode
"
]
=
asc_docs_api
.
prototype
.
asc_SetSilentMode
;
asc_docs_api
.
prototype
[
"
asc_addOleObject
"
]
=
asc_docs_api
.
prototype
.
asc_addOleObject
;
...
...
This diff is collapsed.
Click to expand it.
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