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
4a106cd2
Commit
4a106cd2
authored
May 10, 2016
by
Alexander.Trofimov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
asc_onInitEditorShapes and get_PropertyEditorShapes -> asc_getPropertyEditorShapes
parent
d399c2f7
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
17 deletions
+7
-17
cell/api.js
cell/api.js
+1
-1
common/Shapes/Serialize.js
common/Shapes/Serialize.js
+0
-3
common/apiBase.js
common/apiBase.js
+3
-0
slide/api.js
slide/api.js
+1
-6
word/api.js
word/api.js
+2
-7
No files found.
cell/api.js
View file @
4a106cd2
...
...
@@ -1524,7 +1524,6 @@ var editor;
this
.
asc_ApplyColorScheme
(
false
);
this
.
sendStandartTextures
();
this
.
handlers
.
trigger
(
"
asc_onInitEditorShapes
"
,
AscCommon
.
g_oAutoShapesGroups
,
AscCommon
.
g_oAutoShapesTypes
);
// Применяем пришедшие при открытии изменения
this
.
_applyFirstLoadChanges
();
...
...
@@ -3424,6 +3423,7 @@ var editor;
prot
[
"
asc_setSelectedDrawingObjectLayer
"
]
=
prot
.
asc_setSelectedDrawingObjectLayer
;
prot
[
"
asc_getChartPreviews
"
]
=
prot
.
asc_getChartPreviews
;
prot
[
"
asc_getTextArtPreviews
"
]
=
prot
.
asc_getTextArtPreviews
;
prot
[
'
asc_getPropertyEditorShapes
'
]
=
prot
.
asc_getPropertyEditorShapes
;
prot
[
'
asc_getPropertyEditorTextArts
'
]
=
prot
.
asc_getPropertyEditorTextArts
;
prot
[
"
asc_checkDataRange
"
]
=
prot
.
asc_checkDataRange
;
prot
[
"
asc_getBinaryFileWriter
"
]
=
prot
.
asc_getBinaryFileWriter
;
...
...
common/Shapes/Serialize.js
View file @
4a106cd2
...
...
@@ -656,9 +656,6 @@ function BinaryPPTYLoader()
//var _editor = this.Api;
//_editor.sync_InitEditorThemes(_editor.ThemeLoader.Themes.EditorThemes, _editor.ThemeLoader.Themes.DocumentThemes);
// шейпы посылаются только на подписке
//_editor.asc_fireCallback("asc_onInitEditorShapes", g_oAutoShapesGroups, g_oAutoShapesTypes);
}
else
if
(
this
.
Api
!=
null
&&
this
.
IsThemeLoader
)
{
...
...
common/apiBase.js
View file @
4a106cd2
...
...
@@ -549,6 +549,9 @@ baseEditorsApi.prototype.asc_onCloseChartFrame = function() {
baseEditorsApi
.
prototype
.
asc_setInterfaceDrawImagePlaceShape
=
function
(
elementId
)
{
this
.
shapeElementId
=
elementId
;
};
baseEditorsApi
.
prototype
.
asc_getPropertyEditorShapes
=
function
()
{
return
[
AscCommon
.
g_oAutoShapesGroups
,
AscCommon
.
g_oAutoShapesTypes
];
};
baseEditorsApi
.
prototype
.
asc_getPropertyEditorTextArts
=
function
()
{
return
[
AscCommon
.
g_oPresetTxWarpGroups
,
AscCommon
.
g_PresetTxWarpTypes
];
};
...
...
slide/api.js
View file @
4a106cd2
...
...
@@ -801,11 +801,6 @@ asc_docs_api.prototype.get_TextProps = function()
// -------
// тут методы, замены евентов
asc_docs_api
.
prototype
.
get_PropertyEditorShapes
=
function
()
{
var
ret
=
[
AscCommon
.
g_oAutoShapesGroups
,
AscCommon
.
g_oAutoShapesTypes
];
return
ret
;
};
asc_docs_api
.
prototype
.
get_PropertyStandartTextures
=
function
()
{
var
_count
=
AscCommon
.
g_oUserTexturePresets
.
length
;
...
...
@@ -5096,7 +5091,7 @@ asc_docs_api.prototype['asc_unregisterCallback'] = asc_docs_api.prototype.asc_un
asc_docs_api
.
prototype
[
'
asc_fireCallback
'
]
=
asc_docs_api
.
prototype
.
asc_fireCallback
;
asc_docs_api
.
prototype
[
'
asc_checkNeedCallback
'
]
=
asc_docs_api
.
prototype
.
asc_checkNeedCallback
;
asc_docs_api
.
prototype
[
'
get_TextProps
'
]
=
asc_docs_api
.
prototype
.
get_TextProps
;
asc_docs_api
.
prototype
[
'
get_PropertyEditorShapes
'
]
=
asc_docs_api
.
prototype
.
get_
PropertyEditorShapes
;
asc_docs_api
.
prototype
[
'
asc_getPropertyEditorShapes
'
]
=
asc_docs_api
.
prototype
.
asc_get
PropertyEditorShapes
;
asc_docs_api
.
prototype
[
'
asc_getPropertyEditorTextArts
'
]
=
asc_docs_api
.
prototype
.
asc_getPropertyEditorTextArts
;
asc_docs_api
.
prototype
[
'
get_PropertyStandartTextures
'
]
=
asc_docs_api
.
prototype
.
get_PropertyStandartTextures
;
asc_docs_api
.
prototype
[
'
get_PropertyEditorThemes
'
]
=
asc_docs_api
.
prototype
.
get_PropertyEditorThemes
;
...
...
word/api.js
View file @
4a106cd2
...
...
@@ -746,11 +746,6 @@ asc_docs_api.prototype.asc_checkNeedCallback = function(name) {
};
// тут методы, замены евентов
asc_docs_api
.
prototype
.
get_PropertyEditorShapes
=
function
()
{
var
ret
=
[
AscCommon
.
g_oAutoShapesGroups
,
AscCommon
.
g_oAutoShapesTypes
];
return
ret
;
};
asc_docs_api
.
prototype
.
get_PropertyThemeColors
=
function
()
{
var
_ret
=
[
this
.
_gui_control_colors
.
Colors
,
this
.
_gui_control_colors
.
StandartColors
];
...
...
@@ -1022,7 +1017,7 @@ asc_docs_api.prototype._coSpellCheckInit = function() {
}
}
}
}
}
;
asc_docs_api
.
prototype
.
asc_getSpellCheckLanguages
=
function
()
{
return
AscCommon
.
g_spellCheckLanguages
;
...
...
@@ -7317,7 +7312,7 @@ asc_docs_api.prototype['asc_registerCallback'] = asc_docs_api.prototype.asc_regi
asc_docs_api
.
prototype
[
'
asc_unregisterCallback
'
]
=
asc_docs_api
.
prototype
.
asc_unregisterCallback
;
asc_docs_api
.
prototype
[
'
asc_fireCallback
'
]
=
asc_docs_api
.
prototype
.
asc_fireCallback
;
asc_docs_api
.
prototype
[
'
asc_checkNeedCallback
'
]
=
asc_docs_api
.
prototype
.
asc_checkNeedCallback
;
asc_docs_api
.
prototype
[
'
get_PropertyEditorShapes
'
]
=
asc_docs_api
.
prototype
.
get_
PropertyEditorShapes
;
asc_docs_api
.
prototype
[
'
asc_getPropertyEditorShapes
'
]
=
asc_docs_api
.
prototype
.
asc_get
PropertyEditorShapes
;
asc_docs_api
.
prototype
[
'
asc_getPropertyEditorTextArts
'
]
=
asc_docs_api
.
prototype
.
asc_getPropertyEditorTextArts
;
asc_docs_api
.
prototype
[
'
get_PropertyThemeColors
'
]
=
asc_docs_api
.
prototype
.
get_PropertyThemeColors
;
asc_docs_api
.
prototype
[
'
get_PropertyThemeColorSchemes
'
]
=
asc_docs_api
.
prototype
.
get_PropertyThemeColorSchemes
;
...
...
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