Commit af3747ea authored by Alexander.Trofimov's avatar Alexander.Trofimov

add asc_getPropertyEditorTextArts

parent ba8f1bbf
......@@ -1049,8 +1049,6 @@ var editor;
} else if (null !== this._gui_color_schemes && "asc_onSendThemeColorSchemes" === name) {
this.handlers.trigger("asc_onSendThemeColorSchemes", this._gui_color_schemes);
this._gui_color_schemes = null;
} else if ("asc_onInitEditorTextArts" === name) {
this.handlers.trigger("asc_onInitEditorTextArts", [AscCommon.g_oPresetTxWarpGroups, AscCommon.g_PresetTxWarpTypes]);
}
};
......@@ -3449,6 +3447,7 @@ var editor;
prot["asc_setSelectedDrawingObjectLayer"] = prot.asc_setSelectedDrawingObjectLayer;
prot["asc_getChartPreviews"] = prot.asc_getChartPreviews;
prot["asc_getTextArtPreviews"] = prot.asc_getTextArtPreviews;
prot['asc_getPropertyEditorTextArts'] = prot.asc_getPropertyEditorTextArts;
prot["asc_checkDataRange"] = prot.asc_checkDataRange;
prot["asc_getBinaryFileWriter"] = prot.asc_getBinaryFileWriter;
prot["asc_getWordChartObject"] = prot.asc_getWordChartObject;
......
......@@ -569,6 +569,9 @@ baseEditorsApi.prototype.asc_onCloseChartFrame = function() {
baseEditorsApi.prototype.asc_setInterfaceDrawImagePlaceShape = function(elementId) {
this.shapeElementId = elementId;
};
baseEditorsApi.prototype.asc_getPropertyEditorTextArts = function() {
return [AscCommon.g_oPresetTxWarpGroups, AscCommon.g_PresetTxWarpTypes];
};
// Add image
baseEditorsApi.prototype._addImageUrl = function() {
};
......
......@@ -828,11 +828,6 @@ asc_docs_api.prototype.get_PropertyEditorShapes = function()
var ret = [AscCommon.g_oAutoShapesGroups, AscCommon.g_oAutoShapesTypes];
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()
{
var _count = AscCommon.g_oUserTexturePresets.length;
......@@ -5124,7 +5119,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['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_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_PropertyEditorThemes'] = asc_docs_api.prototype.get_PropertyEditorThemes;
asc_docs_api.prototype['get_ContentCount'] = asc_docs_api.prototype.get_ContentCount;
......
......@@ -773,11 +773,6 @@ asc_docs_api.prototype.get_PropertyEditorShapes = function()
var ret = [AscCommon.g_oAutoShapesGroups, AscCommon.g_oAutoShapesTypes];
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()
{
var _ret = [this._gui_control_colors.Colors, this._gui_control_colors.StandartColors];
......@@ -7318,7 +7313,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_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_PropertyThemeColorSchemes'] = asc_docs_api.prototype.get_PropertyThemeColorSchemes;
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