Правка путей к шрифтам и темам.

This commit is contained in:
Julia Radzhabova 2016-03-24 16:21:57 +03:00
parent 290e7c96d5
commit 6c285c0b32
3 changed files with 4 additions and 4 deletions

View file

@ -90,7 +90,7 @@ define([
window["flat_desine"] = true; window["flat_desine"] = true;
this.api.CreateComponents(); this.api.CreateComponents();
this.api.asc_SetFontsPath("../../../sdk/Fonts/"); this.api.asc_SetFontsPath("../../../../sdkjs/fonts/");
this.api.Init(); this.api.Init();
this.api.asc_registerCallback('asc_onError', _.bind(this.onError, this)); this.api.asc_registerCallback('asc_onError', _.bind(this.onError, this));

View file

@ -80,8 +80,8 @@ define([
this.api.CreateComponents(); this.api.CreateComponents();
this.api.SetDrawingFreeze(true); this.api.SetDrawingFreeze(true);
this.api.asc_SetFontsPath("../../../sdk/Fonts/"); this.api.asc_SetFontsPath("../../../../sdkjs/fonts/");
this.api.SetThemesPath("../../../sdk/PowerPoint/themes/"); this.api.SetThemesPath("../../../../sdkjs/slide/themes/");
this.api.Init(); this.api.Init();
this.api.asc_registerCallback('asc_onError', _.bind(this.onError, this)); this.api.asc_registerCallback('asc_onError', _.bind(this.onError, this));

View file

@ -81,7 +81,7 @@ define([
// Initialize api // Initialize api
this.api = new Asc.spreadsheet_api("editor_sdk", "ce-cell-content"); this.api = new Asc.spreadsheet_api("editor_sdk", "ce-cell-content");
this.api.asc_setFontRenderingMode(parseInt(value)); 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_onOpenDocumentProgress', _.bind(this.onOpenDocument, this));
this.api.asc_registerCallback('asc_onEndAction', _.bind(this.onLongActionEnd, this)); this.api.asc_registerCallback('asc_onEndAction', _.bind(this.onLongActionEnd, this));