Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
web-apps
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boris Kocherov
web-apps
Commits
6c285c0b
Commit
6c285c0b
authored
Mar 24, 2016
by
Julia Radzhabova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Правка путей к шрифтам и темам.
parent
290e7c96
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
apps/documenteditor/main/app/controller/Main.js
apps/documenteditor/main/app/controller/Main.js
+1
-1
apps/presentationeditor/main/app/controller/Main.js
apps/presentationeditor/main/app/controller/Main.js
+2
-2
apps/spreadsheeteditor/main/app/controller/Main.js
apps/spreadsheeteditor/main/app/controller/Main.js
+1
-1
No files found.
apps/documenteditor/main/app/controller/Main.js
View file @
6c285c0b
...
...
@@ -90,7 +90,7 @@ define([
window
[
"
flat_desine
"
]
=
true
;
this
.
api
.
CreateComponents
();
this
.
api
.
asc_SetFontsPath
(
"
../../../
sdk/F
onts/
"
);
this
.
api
.
asc_SetFontsPath
(
"
../../../
../sdkjs/f
onts/
"
);
this
.
api
.
Init
();
this
.
api
.
asc_registerCallback
(
'
asc_onError
'
,
_
.
bind
(
this
.
onError
,
this
));
...
...
apps/presentationeditor/main/app/controller/Main.js
View file @
6c285c0b
...
...
@@ -80,8 +80,8 @@ define([
this
.
api
.
CreateComponents
();
this
.
api
.
SetDrawingFreeze
(
true
);
this
.
api
.
asc_SetFontsPath
(
"
../../../
sdk/F
onts/
"
);
this
.
api
.
SetThemesPath
(
"
../../../
sdk/PowerPoint
/themes/
"
);
this
.
api
.
asc_SetFontsPath
(
"
../../../
../sdkjs/f
onts/
"
);
this
.
api
.
SetThemesPath
(
"
../../../
../sdkjs/slide
/themes/
"
);
this
.
api
.
Init
();
this
.
api
.
asc_registerCallback
(
'
asc_onError
'
,
_
.
bind
(
this
.
onError
,
this
));
...
...
apps/spreadsheeteditor/main/app/controller/Main.js
View file @
6c285c0b
...
...
@@ -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
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment