Commit 4b32d2ae authored by Alexander.Trofimov's avatar Alexander.Trofimov

delete unused SetFontsPath, asc_Init

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@66586 954022d7-b5bf-4e40-9824-e11837661b57
parent 3d5c7fb1
...@@ -283,9 +283,6 @@ var editor; ...@@ -283,9 +283,6 @@ var editor;
this.asc_SendThemeColorSchemes(infos); this.asc_SendThemeColorSchemes(infos);
}; };
spreadsheet_api.prototype.asc_Init = function(fontsPath) {
this.asc_SetFontsPath(fontsPath);
};
spreadsheet_api.prototype.asc_getLocaleExample = function(val, number, date) { spreadsheet_api.prototype.asc_getLocaleExample = function(val, number, date) {
var res = ''; var res = '';
var cultureInfo = g_aCultureInfos[val]; var cultureInfo = g_aCultureInfos[val];
...@@ -3154,7 +3151,6 @@ var editor; ...@@ -3154,7 +3151,6 @@ var editor;
prot["asc_GetFontThumbnailsPath"] = prot.asc_GetFontThumbnailsPath; prot["asc_GetFontThumbnailsPath"] = prot.asc_GetFontThumbnailsPath;
prot["asc_SetFontsPath"] = prot.asc_SetFontsPath; prot["asc_SetFontsPath"] = prot.asc_SetFontsPath;
prot["asc_Init"] = prot.asc_Init;
prot["asc_setDocInfo"] = prot.asc_setDocInfo; prot["asc_setDocInfo"] = prot.asc_setDocInfo;
prot["asc_getLocaleExample"] = prot.asc_getLocaleExample; prot["asc_getLocaleExample"] = prot.asc_getLocaleExample;
prot["asc_setLocale"] = prot.asc_setLocale; prot["asc_setLocale"] = prot.asc_setLocale;
......
...@@ -539,10 +539,6 @@ asc_docs_api.prototype.LoadDocument = function() { ...@@ -539,10 +539,6 @@ asc_docs_api.prototype.LoadDocument = function() {
this.sync_zoomChangeCallback(this.WordControl.m_nZoomValue, this.WordControl.m_nZoomType); this.sync_zoomChangeCallback(this.WordControl.m_nZoomValue, this.WordControl.m_nZoomType);
}; };
asc_docs_api.prototype.SetFontsPath = function(path)
{
this.asc_SetFontsPath(path);
};
asc_docs_api.prototype.SetThemesPath = function(path) asc_docs_api.prototype.SetThemesPath = function(path)
{ {
this.ThemeLoader.ThemesUrl = path; this.ThemeLoader.ThemesUrl = path;
......
...@@ -25,7 +25,6 @@ asc_docs_api.prototype['asc_setDocInfo'] = asc_docs_api.prototype.asc_setDocInfo ...@@ -25,7 +25,6 @@ asc_docs_api.prototype['asc_setDocInfo'] = asc_docs_api.prototype.asc_setDocInfo
asc_docs_api.prototype['asc_setLocale'] = asc_docs_api.prototype.asc_setLocale; asc_docs_api.prototype['asc_setLocale'] = asc_docs_api.prototype.asc_setLocale;
asc_docs_api.prototype['LoadDocument'] = asc_docs_api.prototype.LoadDocument; asc_docs_api.prototype['LoadDocument'] = asc_docs_api.prototype.LoadDocument;
asc_docs_api.prototype['asc_SetFontsPath'] = asc_docs_api.prototype.asc_SetFontsPath; asc_docs_api.prototype['asc_SetFontsPath'] = asc_docs_api.prototype.asc_SetFontsPath;
asc_docs_api.prototype['SetFontsPath'] = asc_docs_api.prototype.SetFontsPath;
asc_docs_api.prototype['SetThemesPath'] = asc_docs_api.prototype.SetThemesPath; asc_docs_api.prototype['SetThemesPath'] = asc_docs_api.prototype.SetThemesPath;
asc_docs_api.prototype['CreateCSS'] = asc_docs_api.prototype.CreateCSS; asc_docs_api.prototype['CreateCSS'] = asc_docs_api.prototype.CreateCSS;
asc_docs_api.prototype['CreateComponents'] = asc_docs_api.prototype.CreateComponents; asc_docs_api.prototype['CreateComponents'] = asc_docs_api.prototype.CreateComponents;
......
...@@ -578,11 +578,6 @@ asc_docs_api.prototype.LoadDocument = function(isVersionHistory) { ...@@ -578,11 +578,6 @@ asc_docs_api.prototype.LoadDocument = function(isVersionHistory) {
this.sync_zoomChangeCallback(this.WordControl.m_nZoomValue, 0); this.sync_zoomChangeCallback(this.WordControl.m_nZoomValue, 0);
}; };
asc_docs_api.prototype.SetFontsPath = function(path)
{
this.asc_SetFontsPath(path);
};
asc_docs_api.prototype.SetTextBoxInputMode = function(bIsEA) asc_docs_api.prototype.SetTextBoxInputMode = function(bIsEA)
{ {
this.WordControl.SetTextBoxMode(bIsEA); this.WordControl.SetTextBoxMode(bIsEA);
......
...@@ -99,7 +99,6 @@ asc_docs_api.prototype['asc_setDocInfo'] = asc_docs_api.prototype.asc_setDocInfo ...@@ -99,7 +99,6 @@ asc_docs_api.prototype['asc_setDocInfo'] = asc_docs_api.prototype.asc_setDocInfo
asc_docs_api.prototype['asc_setLocale'] = asc_docs_api.prototype.asc_setLocale; asc_docs_api.prototype['asc_setLocale'] = asc_docs_api.prototype.asc_setLocale;
asc_docs_api.prototype['LoadDocument'] = asc_docs_api.prototype.LoadDocument; asc_docs_api.prototype['LoadDocument'] = asc_docs_api.prototype.LoadDocument;
asc_docs_api.prototype['asc_SetFontsPath'] = asc_docs_api.prototype.asc_SetFontsPath; asc_docs_api.prototype['asc_SetFontsPath'] = asc_docs_api.prototype.asc_SetFontsPath;
asc_docs_api.prototype['SetFontsPath'] = asc_docs_api.prototype.SetFontsPath;
asc_docs_api.prototype['SetTextBoxInputMode'] = asc_docs_api.prototype.SetTextBoxInputMode; asc_docs_api.prototype['SetTextBoxInputMode'] = asc_docs_api.prototype.SetTextBoxInputMode;
asc_docs_api.prototype['GetTextBoxInputMode'] = asc_docs_api.prototype.GetTextBoxInputMode; asc_docs_api.prototype['GetTextBoxInputMode'] = asc_docs_api.prototype.GetTextBoxInputMode;
asc_docs_api.prototype['ChangeReaderMode'] = asc_docs_api.prototype.ChangeReaderMode; asc_docs_api.prototype['ChangeReaderMode'] = asc_docs_api.prototype.ChangeReaderMode;
......
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