Commit 5ed2e16a authored by Oleg.Korshul's avatar Oleg.Korshul Committed by Alexander.Trofimov

asc_GetFontThumbnailsPath

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@55910 954022d7-b5bf-4e40-9824-e11837661b57
parent f4c8483a
......@@ -149,6 +149,11 @@ var ASC_DOCS_API_USE_EMBEDDED_FONTS = "@@ASC_DOCS_API_USE_EMBEDDED_FONTS";
}
spreadsheet_api.prototype = {
asc_GetFontThumbnailsPath = function()
{
return "../Common/Images/";
},
_init: function() {
var t = this;
......@@ -3570,6 +3575,7 @@ var ASC_DOCS_API_USE_EMBEDDED_FONTS = "@@ASC_DOCS_API_USE_EMBEDDED_FONTS";
asc["spreadsheet_api"] = spreadsheet_api;
prot = spreadsheet_api.prototype;
prot["asc_GetFontThumbnailsPath"] = prot.asc_GetFontThumbnailsPath;
prot["asc_Init"] = prot.asc_Init;
prot["asc_setDocInfo"] = prot.asc_setDocInfo;
prot["asc_setLocale"] = prot.asc_setLocale;
......
......@@ -211,6 +211,11 @@ function asc_docs_api(name)
}
}
asc_docs_api.prototype.asc_GetFontThumbnailsPath = function()
{
return "../Common/Images/";
}
/////////////////////////////////////////////////////////////////////////
///////////////////CoAuthoring and Chat api//////////////////////////////
/////////////////////////////////////////////////////////////////////////
......
......@@ -719,6 +719,11 @@ asc_docs_api.prototype.SetLanguage = function(langId)
this.CurrentTranslate = translations_map[langId];
}
asc_docs_api.prototype.asc_GetFontThumbnailsPath = function()
{
return "../Common/Images/";
}
asc_docs_api.prototype.TranslateStyleName = function(style_name)
{
var ret = this.CurrentTranslate.DefaultStyles[style_name];
......
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