Commit 25823a71 authored by Alexander.Trofimov's avatar Alexander.Trofimov

delete unused functions

asc_getIsFormatTable
asc_getIsAutoFilter
asc_getTableStyleName
asc_getClearFilter
parent 46560c39
...@@ -247,80 +247,87 @@ ...@@ -247,80 +247,87 @@
} }
}; };
/** @constructor */ /** @constructor */
function asc_CCellInfo() { function asc_CCellInfo() {
this.name = null; this.name = null;
this.formula = ""; this.formula = "";
this.text = ""; this.text = "";
this.halign = "left"; this.halign = "left";
this.valign = "top"; this.valign = "top";
this.flags = null; this.flags = null;
this.font = null; this.font = null;
this.fill = null; this.fill = null;
this.border = null; this.border = null;
this.innertext = null; this.innertext = null;
this.numFormat = null; this.numFormat = null;
this.hyperlink = null; this.hyperlink = null;
this.comments = []; this.comments = [];
this.isLocked = false; this.isLocked = false;
this.styleName = null; this.styleName = null;
this.numFormatType = null; this.numFormatType = null;
this.angle = null; this.angle = null;
this.autoFilterInfo = null; this.autoFilterInfo = null;
this.formatTableInfo = null; this.formatTableInfo = null;
} this.sparklineInfo = null;
asc_CCellInfo.prototype = { }
asc_getName: function() {
return this.name; asc_CCellInfo.prototype.asc_getName = function () {
}, asc_getFormula: function() { return this.name;
return this.formula; };
}, asc_getText: function() { asc_CCellInfo.prototype.asc_getFormula = function () {
return this.text; return this.formula;
}, asc_getHorAlign: function() { };
return this.halign; asc_CCellInfo.prototype.asc_getText = function () {
}, asc_getVertAlign: function() { return this.text;
return this.valign; };
}, asc_getFlags: function() { asc_CCellInfo.prototype.asc_getHorAlign = function () {
return this.flags; return this.halign;
}, asc_getFont: function() { };
return this.font; asc_CCellInfo.prototype.asc_getVertAlign = function () {
}, asc_getFill: function() { return this.valign;
return this.fill; };
}, asc_getBorders: function() { asc_CCellInfo.prototype.asc_getFlags = function () {
return this.border; return this.flags;
}, asc_getInnerText: function() { };
return this.innertext; asc_CCellInfo.prototype.asc_getFont = function () {
}, asc_getNumFormat: function() { return this.font;
return this.numFormat; };
}, asc_getHyperlink: function() { asc_CCellInfo.prototype.asc_getFill = function () {
return this.hyperlink; return this.fill;
}, asc_getComments: function() { };
return this.comments; asc_CCellInfo.prototype.asc_getBorders = function () {
}, asc_getLocked: function() { return this.border;
return this.isLocked; };
}, asc_getStyleName: function() { asc_CCellInfo.prototype.asc_getInnerText = function () {
return this.styleName; return this.innertext;
}, asc_getNumFormatType: function() { };
return this.numFormatType; asc_CCellInfo.prototype.asc_getNumFormat = function () {
}, asc_getAngle: function() { return this.numFormat;
return this.angle; };
}, asc_getAutoFilterInfo: function() { asc_CCellInfo.prototype.asc_getHyperlink = function () {
return this.autoFilterInfo; return this.hyperlink;
}, asc_getFormatTableInfo: function() { };
return this.formatTableInfo; asc_CCellInfo.prototype.asc_getComments = function () {
}, asc_getIsFormatTable: function() { return this.comments;
return null };
},//TODO DELETE asc_CCellInfo.prototype.asc_getLocked = function () {
asc_getIsAutoFilter: function() { return this.isLocked;
return null };
},//TODO DELETE asc_CCellInfo.prototype.asc_getStyleName = function () {
asc_getTableStyleName: function() { return this.styleName;
return null };
},//TODO DELETE asc_CCellInfo.prototype.asc_getNumFormatType = function () {
asc_getClearFilter: function() { return this.numFormatType;
return null };
}//TODO DELETE asc_CCellInfo.prototype.asc_getAngle = function () {
}; return this.angle;
};
asc_CCellInfo.prototype.asc_getAutoFilterInfo = function () {
return this.autoFilterInfo;
};
asc_CCellInfo.prototype.asc_getFormatTableInfo = function () {
return this.formatTableInfo;
};
/** @constructor */ /** @constructor */
function asc_CDefName(n, r, s, t, h, l) { function asc_CDefName(n, r, s, t, h, l) {
...@@ -450,10 +457,6 @@ ...@@ -450,10 +457,6 @@
prot["asc_getAngle"] = prot.asc_getAngle; prot["asc_getAngle"] = prot.asc_getAngle;
prot["asc_getAutoFilterInfo"] = prot.asc_getAutoFilterInfo; prot["asc_getAutoFilterInfo"] = prot.asc_getAutoFilterInfo;
prot["asc_getFormatTableInfo"] = prot.asc_getFormatTableInfo; prot["asc_getFormatTableInfo"] = prot.asc_getFormatTableInfo;
prot["asc_getIsFormatTable"] = prot.asc_getIsFormatTable;//TODO DELETE
prot["asc_getIsAutoFilter"] = prot.asc_getIsAutoFilter;//TODO DELETE
prot["asc_getTableStyleName"] = prot.asc_getTableStyleName;//TODO DELETE
prot["asc_getClearFilter"] = prot.asc_getClearFilter;//TODO DELETE
window["Asc"].asc_CDefName = window["Asc"]["asc_CDefName"] = asc_CDefName; window["Asc"].asc_CDefName = window["Asc"]["asc_CDefName"] = asc_CDefName;
prot = asc_CDefName.prototype; prot = asc_CDefName.prototype;
......
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