Правка путей к шрифтам и темам.
This commit is contained in:
parent
290e7c96d5
commit
6c285c0b32
|
@ -90,7 +90,7 @@ define([
|
|||
window["flat_desine"] = true;
|
||||
|
||||
this.api.CreateComponents();
|
||||
this.api.asc_SetFontsPath("../../../sdk/Fonts/");
|
||||
this.api.asc_SetFontsPath("../../../../sdkjs/fonts/");
|
||||
this.api.Init();
|
||||
|
||||
this.api.asc_registerCallback('asc_onError', _.bind(this.onError, this));
|
||||
|
|
|
@ -80,8 +80,8 @@ define([
|
|||
|
||||
this.api.CreateComponents();
|
||||
this.api.SetDrawingFreeze(true);
|
||||
this.api.asc_SetFontsPath("../../../sdk/Fonts/");
|
||||
this.api.SetThemesPath("../../../sdk/PowerPoint/themes/");
|
||||
this.api.asc_SetFontsPath("../../../../sdkjs/fonts/");
|
||||
this.api.SetThemesPath("../../../../sdkjs/slide/themes/");
|
||||
this.api.Init();
|
||||
|
||||
this.api.asc_registerCallback('asc_onError', _.bind(this.onError, this));
|
||||
|
|
|
@ -81,7 +81,7 @@ define([
|
|||
// Initialize api
|
||||
this.api = new Asc.spreadsheet_api("editor_sdk", "ce-cell-content");
|
||||
this.api.asc_setFontRenderingMode(parseInt(value));
|
||||
this.api.asc_SetFontsPath("../../../sdk/Fonts/");
|
||||
this.api.asc_SetFontsPath("../../../../sdkjs/Fonts/");
|
||||
|
||||
this.api.asc_registerCallback('asc_onOpenDocumentProgress', _.bind(this.onOpenDocument, this));
|
||||
this.api.asc_registerCallback('asc_onEndAction', _.bind(this.onLongActionEnd, this));
|
||||
|
|
Loading…
Reference in a new issue