Commit 93f1e40c authored by Alexander.Trofimov's avatar Alexander.Trofimov

delete asc_setChartTranslate, asc_setTextArtTranslate, asc_CChartTranslate, asc_TextArtTranslate

parent 81d3f03e
......@@ -3496,8 +3496,6 @@ var editor;
// Drawing objects interface
prot["asc_showDrawingObjects"] = prot.asc_showDrawingObjects;
prot["asc_setChartTranslate"] = prot.asc_setChartTranslate;
prot["asc_setTextArtTranslate"] = prot.asc_setTextArtTranslate;
prot["asc_drawingObjectsExist"] = prot.asc_drawingObjectsExist;
prot["asc_getChartObject"] = prot.asc_getChartObject;
prot["asc_addChartDrawingObject"] = prot.asc_addChartDrawingObject;
......
......@@ -816,14 +816,6 @@
{
};
// Images & Charts & TextArts
baseEditorsApi.prototype.asc_setChartTranslate = function(translate)
{
this.chartTranslate = translate;
};
baseEditorsApi.prototype.asc_setTextArtTranslate = function(translate)
{
this.textArtTranslate = translate;
};
baseEditorsApi.prototype.asc_getChartPreviews = function(chartType)
{
return this.chartPreviewManager.getChartPreviews(chartType);
......
......@@ -2073,48 +2073,6 @@
return this.Style;
};
/** @constructor */
function asc_CChartTranslate() {
this.title = "Diagram Title";
this.xAxis = "X Axis";
this.yAxis = "Y Axis";
this.series = "Series";
}
asc_CChartTranslate.prototype = {
asc_getTitle: function () {
return this.title;
}, asc_setTitle: function (val) {
this.title = val;
},
asc_getXAxis: function () {
return this.xAxis;
}, asc_setXAxis: function (val) {
this.xAxis = val;
},
asc_getYAxis: function () {
return this.yAxis;
}, asc_setYAxis: function (val) {
this.yAxis = val;
},
asc_getSeries: function () {
return this.series;
}, asc_setSeries: function (val) {
this.series = val;
}
};
function asc_TextArtTranslate() {
this.DefaultText = "Your text here";
}
asc_TextArtTranslate.prototype.asc_setDefaultText = function (sText) {
this.DefaultText = sText;
};
function CImagePositionH(obj) {
if (obj) {
this.RelativeFrom = ( undefined === obj.RelativeFrom ) ? undefined : obj.RelativeFrom;
......@@ -3636,21 +3594,6 @@
prot["asc_putStyle"] = prot.asc_putStyle;
prot["asc_getStyle"] = prot.asc_getStyle;
window["Asc"]["asc_CChartTranslate"] = window["Asc"].asc_CChartTranslate = asc_CChartTranslate;
prot = asc_CChartTranslate.prototype;
prot["asc_getTitle"] = prot.asc_getTitle;
prot["asc_setTitle"] = prot.asc_setTitle;
prot["asc_getXAxis"] = prot.asc_getXAxis;
prot["asc_setXAxis"] = prot.asc_setXAxis;
prot["asc_getYAxis"] = prot.asc_getYAxis;
prot["asc_setYAxis"] = prot.asc_setYAxis;
prot["asc_getSeries"] = prot.asc_getSeries;
prot["asc_setSeries"] = prot.asc_setSeries;
window["Asc"]["asc_TextArtTranslate"] = window["Asc"].asc_TextArtTranslate = asc_TextArtTranslate;
prot = asc_TextArtTranslate.prototype;
prot["asc_setDefaultText"] = prot.asc_setDefaultText;
window['Asc']['CImagePositionH'] = window["Asc"].CImagePositionH = CImagePositionH;
prot = CImagePositionH.prototype;
prot['get_RelativeFrom'] = prot.get_RelativeFrom;
......
......@@ -6765,8 +6765,6 @@ background-repeat: no-repeat;\
asc_docs_api.prototype['AddImageUrlActionCallback'] = asc_docs_api.prototype.AddImageUrlActionCallback;
asc_docs_api.prototype['AddImageUrlAction'] = asc_docs_api.prototype.AddImageUrlAction;
asc_docs_api.prototype['ImgApply'] = asc_docs_api.prototype.ImgApply;
asc_docs_api.prototype['asc_setChartTranslate'] = asc_docs_api.prototype.asc_setChartTranslate;
asc_docs_api.prototype['asc_setTextArtTranslate'] = asc_docs_api.prototype.asc_setTextArtTranslate;
asc_docs_api.prototype['ChartApply'] = asc_docs_api.prototype.ChartApply;
asc_docs_api.prototype['set_Size'] = asc_docs_api.prototype.set_Size;
asc_docs_api.prototype['set_ConstProportions'] = asc_docs_api.prototype.set_ConstProportions;
......
......@@ -8339,8 +8339,6 @@ background-repeat: no-repeat;\
asc_docs_api.prototype['sync_MouseMoveStartCallback'] = asc_docs_api.prototype.sync_MouseMoveStartCallback;
asc_docs_api.prototype['sync_MouseMoveEndCallback'] = asc_docs_api.prototype.sync_MouseMoveEndCallback;
asc_docs_api.prototype['sync_MouseMoveCallback'] = asc_docs_api.prototype.sync_MouseMoveCallback;
asc_docs_api.prototype['asc_setChartTranslate'] = asc_docs_api.prototype.asc_setChartTranslate;
asc_docs_api.prototype['asc_setTextArtTranslate'] = asc_docs_api.prototype.asc_setTextArtTranslate;
asc_docs_api.prototype['can_AddHyperlink'] = asc_docs_api.prototype.can_AddHyperlink;
asc_docs_api.prototype['add_Hyperlink'] = asc_docs_api.prototype.add_Hyperlink;
asc_docs_api.prototype['change_Hyperlink'] = asc_docs_api.prototype.change_Hyperlink;
......
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