Commit 6cb684d1 authored by Alexander.Trofimov's avatar Alexander.Trofimov

add asc_getPropertyEditorTextArts

parent 4661a277
...@@ -1025,8 +1025,6 @@ var editor; ...@@ -1025,8 +1025,6 @@ var editor;
} else if (null !== this._gui_color_schemes && "asc_onSendThemeColorSchemes" === name) { } else if (null !== this._gui_color_schemes && "asc_onSendThemeColorSchemes" === name) {
this.handlers.trigger("asc_onSendThemeColorSchemes", this._gui_color_schemes); this.handlers.trigger("asc_onSendThemeColorSchemes", this._gui_color_schemes);
this._gui_color_schemes = null; this._gui_color_schemes = null;
} else if ("asc_onInitEditorTextArts" === name) {
this.handlers.trigger("asc_onInitEditorTextArts", [AscCommon.g_oPresetTxWarpGroups, AscCommon.g_PresetTxWarpTypes]);
} }
}; };
...@@ -3425,6 +3423,7 @@ var editor; ...@@ -3425,6 +3423,7 @@ var editor;
prot["asc_setSelectedDrawingObjectLayer"] = prot.asc_setSelectedDrawingObjectLayer; prot["asc_setSelectedDrawingObjectLayer"] = prot.asc_setSelectedDrawingObjectLayer;
prot["asc_getChartPreviews"] = prot.asc_getChartPreviews; prot["asc_getChartPreviews"] = prot.asc_getChartPreviews;
prot["asc_getTextArtPreviews"] = prot.asc_getTextArtPreviews; prot["asc_getTextArtPreviews"] = prot.asc_getTextArtPreviews;
prot['asc_getPropertyEditorTextArts'] = prot.asc_getPropertyEditorTextArts;
prot["asc_checkDataRange"] = prot.asc_checkDataRange; prot["asc_checkDataRange"] = prot.asc_checkDataRange;
prot["asc_getBinaryFileWriter"] = prot.asc_getBinaryFileWriter; prot["asc_getBinaryFileWriter"] = prot.asc_getBinaryFileWriter;
prot["asc_getWordChartObject"] = prot.asc_getWordChartObject; prot["asc_getWordChartObject"] = prot.asc_getWordChartObject;
......
...@@ -545,6 +545,9 @@ baseEditorsApi.prototype.asc_onCloseChartFrame = function() { ...@@ -545,6 +545,9 @@ baseEditorsApi.prototype.asc_onCloseChartFrame = function() {
baseEditorsApi.prototype.asc_setInterfaceDrawImagePlaceShape = function(elementId) { baseEditorsApi.prototype.asc_setInterfaceDrawImagePlaceShape = function(elementId) {
this.shapeElementId = elementId; this.shapeElementId = elementId;
}; };
baseEditorsApi.prototype.asc_getPropertyEditorTextArts = function() {
return [AscCommon.g_oPresetTxWarpGroups, AscCommon.g_PresetTxWarpTypes];
};
// Add image // Add image
baseEditorsApi.prototype._addImageUrl = function() { baseEditorsApi.prototype._addImageUrl = function() {
}; };
......
...@@ -804,11 +804,6 @@ asc_docs_api.prototype.get_PropertyEditorShapes = function() ...@@ -804,11 +804,6 @@ asc_docs_api.prototype.get_PropertyEditorShapes = function()
var ret = [AscCommon.g_oAutoShapesGroups, AscCommon.g_oAutoShapesTypes]; var ret = [AscCommon.g_oAutoShapesGroups, AscCommon.g_oAutoShapesTypes];
return ret; return ret;
}; };
asc_docs_api.prototype.get_PropertyEditorTextArts = function()
{
var ret = [AscCommon.g_oPresetTxWarpGroups, AscCommon.g_PresetTxWarpTypes];
return ret;
};
asc_docs_api.prototype.get_PropertyStandartTextures = function() asc_docs_api.prototype.get_PropertyStandartTextures = function()
{ {
var _count = AscCommon.g_oUserTexturePresets.length; var _count = AscCommon.g_oUserTexturePresets.length;
...@@ -5100,7 +5095,7 @@ asc_docs_api.prototype['asc_fireCallback'] = asc_docs_api.prototype.asc_fireCall ...@@ -5100,7 +5095,7 @@ asc_docs_api.prototype['asc_fireCallback'] = asc_docs_api.prototype.asc_fireCall
asc_docs_api.prototype['asc_checkNeedCallback'] = asc_docs_api.prototype.asc_checkNeedCallback; 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_TextProps'] = asc_docs_api.prototype.get_TextProps;
asc_docs_api.prototype['get_PropertyEditorShapes'] = asc_docs_api.prototype.get_PropertyEditorShapes; asc_docs_api.prototype['get_PropertyEditorShapes'] = asc_docs_api.prototype.get_PropertyEditorShapes;
asc_docs_api.prototype['get_PropertyEditorTextArts'] = asc_docs_api.prototype.get_PropertyEditorTextArts; 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_PropertyStandartTextures'] = asc_docs_api.prototype.get_PropertyStandartTextures;
asc_docs_api.prototype['get_PropertyEditorThemes'] = asc_docs_api.prototype.get_PropertyEditorThemes; asc_docs_api.prototype['get_PropertyEditorThemes'] = asc_docs_api.prototype.get_PropertyEditorThemes;
asc_docs_api.prototype['get_ContentCount'] = asc_docs_api.prototype.get_ContentCount; asc_docs_api.prototype['get_ContentCount'] = asc_docs_api.prototype.get_ContentCount;
......
...@@ -749,11 +749,6 @@ asc_docs_api.prototype.get_PropertyEditorShapes = function() ...@@ -749,11 +749,6 @@ asc_docs_api.prototype.get_PropertyEditorShapes = function()
var ret = [AscCommon.g_oAutoShapesGroups, AscCommon.g_oAutoShapesTypes]; var ret = [AscCommon.g_oAutoShapesGroups, AscCommon.g_oAutoShapesTypes];
return ret; return ret;
}; };
asc_docs_api.prototype.get_PropertyEditorTextArts = function()
{
var ret = [AscCommon.g_oPresetTxWarpGroups, AscCommon.g_PresetTxWarpTypes];
return ret;
};
asc_docs_api.prototype.get_PropertyThemeColors = function() asc_docs_api.prototype.get_PropertyThemeColors = function()
{ {
var _ret = [this._gui_control_colors.Colors, this._gui_control_colors.StandartColors]; var _ret = [this._gui_control_colors.Colors, this._gui_control_colors.StandartColors];
...@@ -7294,7 +7289,7 @@ asc_docs_api.prototype['asc_unregisterCallback'] = asc_docs_api.prototype.asc_un ...@@ -7294,7 +7289,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_fireCallback'] = asc_docs_api.prototype.asc_fireCallback;
asc_docs_api.prototype['asc_checkNeedCallback'] = asc_docs_api.prototype.asc_checkNeedCallback; 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['get_PropertyEditorShapes'] = asc_docs_api.prototype.get_PropertyEditorShapes;
asc_docs_api.prototype['get_PropertyEditorTextArts'] = asc_docs_api.prototype.get_PropertyEditorTextArts; 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_PropertyThemeColors'] = asc_docs_api.prototype.get_PropertyThemeColors;
asc_docs_api.prototype['get_PropertyThemeColorSchemes'] = asc_docs_api.prototype.get_PropertyThemeColorSchemes; asc_docs_api.prototype['get_PropertyThemeColorSchemes'] = asc_docs_api.prototype.get_PropertyThemeColorSchemes;
asc_docs_api.prototype['_coAuthoringSetChange'] = asc_docs_api.prototype._coAuthoringSetChange; asc_docs_api.prototype['_coAuthoringSetChange'] = asc_docs_api.prototype._coAuthoringSetChange;
......
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