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
32e5a04c
Commit
32e5a04c
authored
May 25, 2016
by
Oleg Korshul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
плагины. работа в минимизированной версии
parent
84ab565b
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
14 additions
and
5 deletions
+14
-5
cell/api.js
cell/api.js
+2
-0
common/commonDefines.js
common/commonDefines.js
+5
-5
common/plugins.js
common/plugins.js
+3
-0
slide/api.js
slide/api.js
+2
-0
word/api.js
word/api.js
+2
-0
No files found.
cell/api.js
View file @
32e5a04c
...
...
@@ -3502,4 +3502,6 @@ var editor;
prot
[
"
asc_pluginsRegister
"
]
=
prot
.
asc_pluginsRegister
;
prot
[
"
asc_pluginRun
"
]
=
prot
.
asc_pluginRun
;
prot
[
"
asc_pluginResize
"
]
=
prot
.
asc_pluginResize
;
prot
[
"
asc_addOleObject
"
]
=
prot
.
asc_addOleObject
;
prot
[
"
asc_editOleObject
"
]
=
prot
.
asc_editOleObject
;
})(
window
);
common/commonDefines.js
View file @
32e5a04c
...
...
@@ -1460,7 +1460,7 @@ window['Asc']['c_oAscMaxCellOrCommentLength'] = window['Asc'].c_oAscMaxCellOrCom
html
:
"
html
"
};
window
[
"
Asc
"
][
"
EPluginDataType
"
]
=
EPluginDataType
;
window
[
"
Asc
"
][
"
EPluginDataType
"
]
=
window
[
"
Asc
"
].
EPluginDataType
=
EPluginDataType
;
prot
=
EPluginDataType
;
prot
[
'
none
'
]
=
prot
.
none
;
prot
[
'
text
'
]
=
prot
.
text
;
...
...
@@ -1591,8 +1591,8 @@ window['Asc']['c_oAscMaxCellOrCommentLength'] = window['Asc'].c_oAscMaxCellOrCom
_object
[
"
name
"
]
=
this
.
name
;
_object
[
"
guid
"
]
=
this
.
guid
;
_object
[
"
baseUrl
"
]
=
this
.
baseUrl
;
_object
[
"
variations
"
]
=
this
.
variations
;
for
(
var
i
=
0
;
i
<
this
.
variations
;
i
++
)
_object
[
"
variations
"
]
=
[]
;
for
(
var
i
=
0
;
i
<
this
.
variations
.
length
;
i
++
)
{
_object
[
"
variations
"
].
push
(
this
.
variations
[
i
].
serialize
());
}
...
...
@@ -1612,7 +1612,7 @@ window['Asc']['c_oAscMaxCellOrCommentLength'] = window['Asc'].c_oAscMaxCellOrCom
}
}
window
[
"
Asc
"
][
"
CPluginVariation
"
]
=
CPluginVariation
;
window
[
"
Asc
"
][
"
CPlugin
"
]
=
CPlugin
;
window
[
"
Asc
"
][
"
CPluginVariation
"
]
=
window
[
"
Asc
"
].
CPluginVariation
=
CPluginVariation
;
window
[
"
Asc
"
][
"
CPlugin
"
]
=
window
[
"
Asc
"
].
CPlugin
=
CPlugin
;
// --------------------------------------------------------------------- //
})(
window
);
common/plugins.js
View file @
32e5a04c
...
...
@@ -268,6 +268,9 @@
}
};
// export
CPluginsManager
.
prototype
[
"
buttonClick
"
]
=
CPluginsManager
.
prototype
.
buttonClick
;
function
onMessage
(
event
)
{
if
(
!
window
.
g_asc_plugins
||
!
window
.
g_asc_plugins
.
current
)
...
...
slide/api.js
View file @
32e5a04c
...
...
@@ -6615,6 +6615,8 @@ asc_docs_api.prototype["asc_SetSilentMode"] = asc_docs_api.prototype.asc_SetSile
asc_docs_api
.
prototype
[
"
asc_pluginsRegister
"
]
=
asc_docs_api
.
prototype
.
asc_pluginsRegister
;
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_addOleObject
"
]
=
asc_docs_api
.
prototype
.
asc_addOleObject
;
asc_docs_api
.
prototype
[
"
asc_editOleObject
"
]
=
asc_docs_api
.
prototype
.
asc_editOleObject
;
window
[
'
Asc
'
][
'
asc_CCommentData
'
]
=
window
[
'
Asc
'
].
asc_CCommentData
=
asc_CCommentData
;
asc_CCommentData
.
prototype
[
'
asc_getText
'
]
=
asc_CCommentData
.
prototype
.
asc_getText
;
...
...
word/api.js
View file @
32e5a04c
...
...
@@ -8809,6 +8809,8 @@ asc_docs_api.prototype["asc_pluginRun"] = asc_docs_api.prototype.asc
asc_docs_api
.
prototype
[
"
asc_pluginResize
"
]
=
asc_docs_api
.
prototype
.
asc_pluginResize
;
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
;
asc_docs_api
.
prototype
[
"
asc_editOleObject
"
]
=
asc_docs_api
.
prototype
.
asc_editOleObject
;
CParagraphPropEx
.
prototype
[
'
get_ContextualSpacing
'
]
=
CParagraphPropEx
.
prototype
.
get_ContextualSpacing
;
CParagraphPropEx
.
prototype
[
'
get_Ind
'
]
=
CParagraphPropEx
.
prototype
.
get_Ind
;
...
...
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