Изменены скрипты под новую структуру сдк.
This commit is contained in:
parent
442ad63c5f
commit
646d79ee83
|
@ -22,8 +22,8 @@ define([
|
|||
isRetina = window.devicePixelRatio > 1,
|
||||
thumbCanvas = document.createElement('canvas'),
|
||||
thumbContext = thumbCanvas.getContext('2d'),
|
||||
thumbPath = '../../../sdk/Common/Images/fonts_thumbnail.png',
|
||||
thumbPath2x = '../../../sdk/Common/Images/fonts_thumbnail@2x.png',
|
||||
thumbPath = '../../../../sdkjs/common/Images/fonts_thumbnail.png',
|
||||
thumbPath2x = '../../../../sdkjs/common/Images/fonts_thumbnail@2x.png',
|
||||
listItemHeight = 36;
|
||||
|
||||
if (typeof window['AscDesktopEditor'] === 'object') {
|
||||
|
|
|
@ -25,8 +25,8 @@ require.config({
|
|||
jszip : '../vendor/jszip/jszip.min',
|
||||
jsziputils : '../vendor/jszip-utils/jszip-utils.min',
|
||||
jsrsasign : '../vendor/jsrsasign/jsrsasign-latest-all-min',
|
||||
allfonts : '../sdk/Common/AllFonts',
|
||||
sdk : '../sdk/Word/sdk-all',
|
||||
allfonts : '../sdkjs/common/AllFonts',
|
||||
sdk : '../sdkjs/word/sdk-all',
|
||||
api : 'api/documents/api',
|
||||
core : 'common/main/lib/core/application',
|
||||
notification : 'common/main/lib/core/NotificationCenter',
|
||||
|
@ -38,7 +38,7 @@ require.config({
|
|||
locale : 'common/locale',
|
||||
irregularstack : 'common/IrregularStack'
|
||||
},
|
||||
// urlArgs: "_dc=" + (new Date()).getTime(), // debug only, be sure to remove it before deploying your code.
|
||||
|
||||
shim: {
|
||||
underscore: {
|
||||
exports: '_'
|
||||
|
|
208
apps/documenteditor/main/app_dev.js
Normal file
208
apps/documenteditor/main/app_dev.js
Normal file
|
@ -0,0 +1,208 @@
|
|||
/**
|
||||
* app.js
|
||||
*
|
||||
* Created by Alexander Yuzhin on 12/27/13
|
||||
* Copyright (c) 2013 Ascensio System SIA. All rights reserved.
|
||||
*
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
var reqerr;
|
||||
require.config();
|
||||
|
||||
require.config({
|
||||
// The shim config allows us to configure dependencies for
|
||||
// scripts that do not call define() to register a module
|
||||
baseUrl: '../../',
|
||||
paths: {
|
||||
jquery : '../vendor/jquery/jquery',
|
||||
underscore : '../vendor/underscore/underscore',
|
||||
backbone : '../vendor/backbone/backbone',
|
||||
bootstrap : '../vendor/bootstrap/dist/js/bootstrap',
|
||||
text : '../vendor/requirejs-text/text',
|
||||
perfectscrollbar: 'common/main/lib/mods/perfect-scrollbar',
|
||||
jmousewheel : '../vendor/perfect-scrollbar/src/jquery.mousewheel',
|
||||
xregexp : '../vendor/xregexp/xregexp-all-min',
|
||||
sockjs : '../vendor/sockjs/sockjs.min',
|
||||
jszip : '../vendor/jszip/jszip.min',
|
||||
jsziputils : '../vendor/jszip-utils/jszip-utils.min',
|
||||
jsrsasign : '../vendor/jsrsasign/jsrsasign-latest-all-min',
|
||||
api : 'api/documents/api',
|
||||
core : 'common/main/lib/core/application',
|
||||
notification : 'common/main/lib/core/NotificationCenter',
|
||||
keymaster : 'common/main/lib/core/keymaster',
|
||||
tip : 'common/main/lib/util/Tip',
|
||||
localstorage : 'common/main/lib/util/LocalStorage',
|
||||
analytics : 'common/Analytics',
|
||||
gateway : 'common/Gateway',
|
||||
locale : 'common/locale',
|
||||
irregularstack : 'common/IrregularStack'
|
||||
},
|
||||
|
||||
shim: {
|
||||
underscore: {
|
||||
exports: '_'
|
||||
},
|
||||
backbone: {
|
||||
deps: [
|
||||
'underscore',
|
||||
'jquery'
|
||||
],
|
||||
exports: 'Backbone'
|
||||
},
|
||||
bootstrap: {
|
||||
deps: [
|
||||
'jquery'
|
||||
]
|
||||
},
|
||||
perfectscrollbar: {
|
||||
deps: [
|
||||
'jmousewheel'
|
||||
]
|
||||
},
|
||||
notification: {
|
||||
deps: [
|
||||
'backbone'
|
||||
]
|
||||
},
|
||||
core: {
|
||||
deps: [
|
||||
'backbone',
|
||||
'notification',
|
||||
'irregularstack'
|
||||
]
|
||||
},
|
||||
sdk: {
|
||||
deps: [
|
||||
'jquery',
|
||||
'underscore',
|
||||
'allfonts',
|
||||
'xregexp',
|
||||
'sockjs',
|
||||
'jszip',
|
||||
'jsziputils',
|
||||
'jsrsasign'
|
||||
]
|
||||
},
|
||||
gateway: {
|
||||
deps: [
|
||||
'jquery'
|
||||
]
|
||||
},
|
||||
analytics: {
|
||||
deps: [
|
||||
'jquery'
|
||||
]
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
require([
|
||||
'backbone',
|
||||
'bootstrap',
|
||||
'core',
|
||||
'api',
|
||||
'analytics',
|
||||
'gateway',
|
||||
'locale',
|
||||
'jszip',
|
||||
'jsziputils',
|
||||
'jsrsasign',
|
||||
'sockjs',
|
||||
'underscore'
|
||||
], function (Backbone, Bootstrap, Core) {
|
||||
Backbone.history.start();
|
||||
|
||||
/**
|
||||
* Application instance with DE namespace defined
|
||||
*/
|
||||
var app = new Backbone.Application({
|
||||
nameSpace: 'DE',
|
||||
autoCreate: false,
|
||||
controllers : [
|
||||
'Viewport',
|
||||
'DocumentHolder',
|
||||
'Toolbar',
|
||||
'Statusbar',
|
||||
'RightMenu',
|
||||
'LeftMenu',
|
||||
'Main',
|
||||
'Common.Controllers.Fonts',
|
||||
'Common.Controllers.History'
|
||||
/** coauthoring begin **/
|
||||
,'Common.Controllers.Chat'
|
||||
,'Common.Controllers.Comments'
|
||||
/** coauthoring end **/
|
||||
,'Common.Controllers.ExternalDiagramEditor'
|
||||
,'Common.Controllers.ExternalMergeEditor'
|
||||
,'Common.Controllers.ReviewChanges'
|
||||
]
|
||||
});
|
||||
|
||||
Common.Locale.apply();
|
||||
|
||||
require([
|
||||
'documenteditor/main/app/controller/Viewport',
|
||||
'documenteditor/main/app/controller/DocumentHolder',
|
||||
'documenteditor/main/app/controller/Toolbar',
|
||||
'documenteditor/main/app/controller/Statusbar',
|
||||
'documenteditor/main/app/controller/RightMenu',
|
||||
'documenteditor/main/app/controller/LeftMenu',
|
||||
'documenteditor/main/app/controller/Main',
|
||||
'documenteditor/main/app/view/ParagraphSettings',
|
||||
'documenteditor/main/app/view/HeaderFooterSettings',
|
||||
'documenteditor/main/app/view/ImageSettings',
|
||||
'documenteditor/main/app/view/TableSettings',
|
||||
'documenteditor/main/app/view/ShapeSettings',
|
||||
'documenteditor/main/app/view/TextArtSettings',
|
||||
'common/main/lib/util/utils',
|
||||
'common/main/lib/util/LocalStorage',
|
||||
'common/main/lib/controller/Fonts',
|
||||
'common/main/lib/controller/History'
|
||||
/** coauthoring begin **/
|
||||
,'common/main/lib/controller/Comments'
|
||||
,'common/main/lib/controller/Chat'
|
||||
/** coauthoring end **/
|
||||
,'documenteditor/main/app/view/ChartSettings'
|
||||
,'common/main/lib/controller/ExternalDiagramEditor'
|
||||
,'common/main/lib/controller/ExternalMergeEditor'
|
||||
,'common/main/lib/controller/ReviewChanges'
|
||||
], function() {
|
||||
app.start();
|
||||
});
|
||||
}, function(err) {
|
||||
if (err.requireType == 'timeout' && !reqerr) {
|
||||
var getUrlParams = function() {
|
||||
var e,
|
||||
a = /\+/g, // Regex for replacing addition symbol with a space
|
||||
r = /([^&=]+)=?([^&]*)/g,
|
||||
d = function (s) { return decodeURIComponent(s.replace(a, " ")); },
|
||||
q = window.location.search.substring(1),
|
||||
urlParams = {};
|
||||
|
||||
while (e = r.exec(q))
|
||||
urlParams[d(e[1])] = d(e[2]);
|
||||
|
||||
return urlParams;
|
||||
};
|
||||
|
||||
var encodeUrlParam = function(str) {
|
||||
return str.replace(/&/g, '&')
|
||||
.replace(/"/g, '"')
|
||||
.replace(/'/g, ''')
|
||||
.replace(/</g, '<')
|
||||
.replace(/>/g, '>');
|
||||
};
|
||||
|
||||
var lang = (getUrlParams()["lang"] || 'en').split("-")[0];
|
||||
|
||||
if ( lang == 'de') reqerr = 'Die Verbindung ist zu langsam, einige Komponenten konnten nicht geladen werden. Aktualisieren Sie bitte die Seite.';
|
||||
else if ( lang == 'es') reqerr = 'La conexión es muy lenta, algunos de los componentes no han podido cargar. Por favor recargue la página.';
|
||||
else if ( lang == 'fr') reqerr = 'La connexion est trop lente, certains des composants n\'ons pas pu être chargé. Veuillez recharger la page.';
|
||||
else if ( lang == 'ru') reqerr = 'Слишком медленное соединение, не удается загрузить некоторые компоненты. Пожалуйста, обновите страницу.';
|
||||
else reqerr = 'The connection is too slow, some of the components could not be loaded. Please reload the page.';
|
||||
|
||||
window.alert(reqerr);
|
||||
window.location.reload();
|
||||
}
|
||||
});
|
|
@ -232,8 +232,198 @@
|
|||
<script type="text/javascript">var less=less||{};less.env='development';</script>
|
||||
<script src="../../../vendor/less/dist/less-1.5.1.js" type="text/javascript"></script>
|
||||
<!-- debug end -->
|
||||
|
||||
<!-- 3rdparty -->
|
||||
<script type="text/javascript" src="../../../vendor/xregexp/xregexp-all-min.js"></script>
|
||||
|
||||
<!-- sdk -->
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/AllFonts.js"></script>
|
||||
|
||||
<!-- -->
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/browser.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/editorscommon.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/downloaderfiles.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/docscoapicommon.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/docscoapi.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/spellcheckapi.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/wordcopypaste.js"></script>
|
||||
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/spellCheckLanguage.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/spellCheckLanguagesAll.js"></script>
|
||||
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/apiCommon.js"></script>
|
||||
|
||||
<!-- For chart editor -->
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/Charts/DrawingObjects.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/Charts/charts.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/commonDefines.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/SerializeCommonWordExcel.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/SerializeChart.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/Drawings/Format/Constants.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/Drawings/Format/Format.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/FontsFreeType/font_engine.js"></script>
|
||||
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/FontsFreeType/FontFile.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/FontsFreeType/FontManager.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/FontsFreeType/font_map.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Drawing/Externals.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/GlobalLoaders.js"></script>
|
||||
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Drawing/translations.js"></script>
|
||||
|
||||
<!--Drawings -->
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/Charts/charts.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/Charts/ChartsDrawer.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/Charts/3DTransformation.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/Charts/DrawingArea.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/Charts/DrawingObjects.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/NumFormat.js"></script>
|
||||
|
||||
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/Drawings/TrackObjects/AdjustmentTracks.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/Drawings/TrackObjects/MoveTracks.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/Drawings/TrackObjects/NewShapeTracks.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/Drawings/TrackObjects/PolyLine.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/Drawings/TrackObjects/ResizeTracks.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/Drawings/TrackObjects/RotateTracks.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/Drawings/TrackObjects/Spline.js"></script>
|
||||
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/Drawings/ArcTo.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/Drawings/ColorArray.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/Drawings/CommonController.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/Drawings/DrawingObjectsHandlers.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/Drawings/Hit.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/Drawings/Joined.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/Drawings/Math.js"></script>
|
||||
|
||||
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/Drawings/Format/Shape.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/Drawings/Format/Image.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/Drawings/Format/GroupShape.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/Drawings/Format/ChartSpace.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/Drawings/Format/ChartFormat.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/Drawings/Format/Constants.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/Drawings/Format/CreateGeometry.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/Drawings/Format/Format.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/Drawings/Format/Geometry.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/Drawings/Format/Path.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/Drawings/Format/TextBody.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/Drawings/TextDrawer.js"></script>
|
||||
|
||||
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Editor/GraphicObjects/Format/ShapePrototype.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Editor/GraphicObjects/Format/ImagePrototype.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Editor/GraphicObjects/Format/GroupPrototype.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Editor/GraphicObjects/Format/ChartSpacePrototype.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/slide/Editor/Format/GraphicFrame.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Editor/GraphicObjects/DrawingStates.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Editor/GraphicObjects/GraphicObjects.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Editor/GraphicObjects/GraphicPage.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Editor/GraphicObjects/WrapManager.js"></script>
|
||||
<!--Drawings -->
|
||||
|
||||
<!-- -->
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Drawing/Metafile.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/CollaborativeEditingBase.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Editor/CollaborativeEditing.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Editor/Comments.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Editor/History.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Editor/Styles.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Editor/FlowObjects.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Editor/ParagraphContent.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Editor/ParagraphContentBase.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Editor/Hyperlink.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Editor/Field.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Editor/Run.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Editor/Math.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Editor/Paragraph.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Editor/Paragraph_Recalculate.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Editor/Sections.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Editor/Numbering.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Editor/HeaderFooter.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Editor/Document.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Editor/Common.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Editor/Numbering.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Editor/DocumentContent.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Editor/Table.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Editor/Table/TableRecalculate.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Editor/Table/TableDraw.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Editor/Table/TableRow.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Editor/Table/TableCell.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Editor/Serialize2.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Editor/Search.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Editor/FontClassification.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Editor/Spelling.js"></script>
|
||||
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Drawing/HatchPattern.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Drawing/Graphics.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Drawing/ArcTo.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Drawing/Hit.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Drawing/ColorArray.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Drawing/Overlay.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Drawing/ShapeDrawer.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Drawing/DrawingDocument.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Drawing/GraphicsEvents.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/Scrolls/iscroll.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Drawing/WorkEvents.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/Controls.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Drawing/Rulers.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Drawing/HtmlPage.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Drawing/documentrenderer.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/apiDefines.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/apiCommon.js"></script>
|
||||
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/apiBase.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/api.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/document/empty.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/scroll.js"></script>
|
||||
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Editor/CollaborativeEditing.js"></script>
|
||||
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/Shapes/EditorSettings.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/Shapes/Serialize.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/Shapes/SerializeWriter.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Editor/SerializeCommon.js"></script>
|
||||
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Math/mathTypes.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Math/mathText.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Math/mathContent.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Math/base.js"></script>
|
||||
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Math/fraction.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Math/degree.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Math/matrix.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Math/limit.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Math/nary.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Math/radical.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Math/operators.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Math/accent.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Math/borderBox.js"></script>
|
||||
|
||||
<!--for copy/paste from excel-->
|
||||
<script type="text/javascript" src="../../../vendor/jquery/jquery.min.js"></script>
|
||||
|
||||
<script type="text/javascript" src="../../../../sdkjs/cell/utils/utils.js"></script>
|
||||
|
||||
<script type="text/javascript" src="../../../../sdkjs/cell/model/CellComment.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/cell/model/Serialize.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/cell/model/WorkbookElems.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/cell/model/Workbook.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/cell/model/CellInfo.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/AdvancedOptions.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/Private/Locks.js"></script>
|
||||
|
||||
<!-- apply changes -->
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/applyDocumentChanges.js"></script>
|
||||
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/Private/license.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/Private/versionHistory.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Private/comments.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Private/StyleManager.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Private/MailMerge.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Private/TrackRevisions.js"></script>
|
||||
|
||||
<!-- application -->
|
||||
<script data-main="app" src="../../../vendor/requirejs/require.js"></script>
|
||||
<script data-main="app_dev" src="../../../vendor/requirejs/require.js"></script>
|
||||
</body>
|
||||
</html>
|
|
@ -24,8 +24,8 @@ require.config({
|
|||
sockjs : '../vendor/sockjs/sockjs.min',
|
||||
jsziputils : '../vendor/jszip-utils/jszip-utils.min',
|
||||
jsrsasign : '../vendor/jsrsasign/jsrsasign-latest-all-min',
|
||||
allfonts : '../sdk/Common/AllFonts',
|
||||
sdk : '../sdk/PowerPoint/sdk-all',
|
||||
allfonts : '../sdkjs/common/AllFonts',
|
||||
sdk : '../sdkjs/slide/sdk-all',
|
||||
api : 'api/documents/api',
|
||||
core : 'common/main/lib/core/application',
|
||||
notification : 'common/main/lib/core/NotificationCenter',
|
||||
|
|
197
apps/presentationeditor/main/app_dev.js
Normal file
197
apps/presentationeditor/main/app_dev.js
Normal file
|
@ -0,0 +1,197 @@
|
|||
/**
|
||||
* app.js
|
||||
*
|
||||
* Created by Julia Radzhabova on 26 March 2014
|
||||
* Copyright (c) 2014 Ascensio System SIA. All rights reserved.
|
||||
*
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
var reqerr;
|
||||
require.config({
|
||||
// The shim config allows us to configure dependencies for
|
||||
// scripts that do not call define() to register a module
|
||||
baseUrl: '../../',
|
||||
paths: {
|
||||
jquery : '../vendor/jquery/jquery',
|
||||
underscore : '../vendor/underscore/underscore',
|
||||
backbone : '../vendor/backbone/backbone',
|
||||
bootstrap : '../vendor/bootstrap/dist/js/bootstrap',
|
||||
text : '../vendor/requirejs-text/text',
|
||||
perfectscrollbar: 'common/main/lib/mods/perfect-scrollbar',
|
||||
jmousewheel : '../vendor/perfect-scrollbar/src/jquery.mousewheel',
|
||||
xregexp : '../vendor/xregexp/xregexp-all-min',
|
||||
sockjs : '../vendor/sockjs/sockjs.min',
|
||||
jsziputils : '../vendor/jszip-utils/jszip-utils.min',
|
||||
jsrsasign : '../vendor/jsrsasign/jsrsasign-latest-all-min',
|
||||
api : 'api/documents/api',
|
||||
core : 'common/main/lib/core/application',
|
||||
notification : 'common/main/lib/core/NotificationCenter',
|
||||
keymaster : 'common/main/lib/core/keymaster',
|
||||
tip : 'common/main/lib/util/Tip',
|
||||
localstorage : 'common/main/lib/util/LocalStorage',
|
||||
analytics : 'common/Analytics',
|
||||
gateway : 'common/Gateway',
|
||||
locale : 'common/locale',
|
||||
irregularstack : 'common/IrregularStack'
|
||||
},
|
||||
shim: {
|
||||
underscore: {
|
||||
exports: '_'
|
||||
},
|
||||
backbone: {
|
||||
deps: [
|
||||
'underscore',
|
||||
'jquery'
|
||||
],
|
||||
exports: 'Backbone'
|
||||
},
|
||||
bootstrap: {
|
||||
deps: [
|
||||
'jquery'
|
||||
]
|
||||
},
|
||||
perfectscrollbar: {
|
||||
deps: [
|
||||
'jmousewheel'
|
||||
]
|
||||
},
|
||||
notification: {
|
||||
deps: [
|
||||
'backbone'
|
||||
]
|
||||
},
|
||||
core: {
|
||||
deps: [
|
||||
'backbone',
|
||||
'notification',
|
||||
'irregularstack'
|
||||
]
|
||||
},
|
||||
sdk: {
|
||||
deps: [
|
||||
'jquery',
|
||||
'underscore',
|
||||
'allfonts',
|
||||
'xregexp',
|
||||
'sockjs',
|
||||
'jsziputils',
|
||||
'jsrsasign'
|
||||
]
|
||||
},
|
||||
gateway: {
|
||||
deps: [
|
||||
'jquery'
|
||||
]
|
||||
},
|
||||
analytics: {
|
||||
deps: [
|
||||
'jquery'
|
||||
]
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
require([
|
||||
'backbone',
|
||||
'bootstrap',
|
||||
'core',
|
||||
'api',
|
||||
'analytics',
|
||||
'gateway',
|
||||
'locale',
|
||||
'jsziputils',
|
||||
'jsrsasign',
|
||||
'sockjs',
|
||||
'xregexp',
|
||||
'underscore'
|
||||
], function (Backbone, Bootstrap, Core) {
|
||||
Backbone.history.start();
|
||||
|
||||
/**
|
||||
* Application instance with PE namespace defined
|
||||
*/
|
||||
var app = new Backbone.Application({
|
||||
nameSpace: 'PE',
|
||||
autoCreate: false,
|
||||
controllers : [
|
||||
'Viewport',
|
||||
'DocumentHolder',
|
||||
'Toolbar',
|
||||
'Statusbar',
|
||||
'RightMenu',
|
||||
'LeftMenu',
|
||||
'Main',
|
||||
'Common.Controllers.Fonts'
|
||||
/** coauthoring begin **/
|
||||
, 'Common.Controllers.Chat',
|
||||
'Common.Controllers.Comments',
|
||||
/** coauthoring end **/
|
||||
'Common.Controllers.ExternalDiagramEditor'
|
||||
]
|
||||
});
|
||||
|
||||
Common.Locale.apply();
|
||||
|
||||
require([
|
||||
'presentationeditor/main/app/controller/Viewport',
|
||||
'presentationeditor/main/app/controller/DocumentHolder',
|
||||
'presentationeditor/main/app/controller/Toolbar',
|
||||
'presentationeditor/main/app/controller/Statusbar',
|
||||
'presentationeditor/main/app/controller/RightMenu',
|
||||
'presentationeditor/main/app/controller/LeftMenu',
|
||||
'presentationeditor/main/app/controller/Main',
|
||||
'presentationeditor/main/app/view/ParagraphSettings',
|
||||
'presentationeditor/main/app/view/ImageSettings',
|
||||
'presentationeditor/main/app/view/ShapeSettings',
|
||||
'presentationeditor/main/app/view/SlideSettings',
|
||||
'presentationeditor/main/app/view/TableSettings',
|
||||
'presentationeditor/main/app/view/TextArtSettings',
|
||||
'common/main/lib/util/utils',
|
||||
'common/main/lib/util/LocalStorage',
|
||||
'common/main/lib/controller/Fonts'
|
||||
/** coauthoring begin **/
|
||||
,'common/main/lib/controller/Comments',
|
||||
'common/main/lib/controller/Chat',
|
||||
/** coauthoring end **/
|
||||
'presentationeditor/main/app/view/ChartSettings',
|
||||
'common/main/lib/controller/ExternalDiagramEditor'
|
||||
], function() {
|
||||
app.start();
|
||||
});
|
||||
}, function(err) {
|
||||
if (err.requireType == 'timeout' && !reqerr) {
|
||||
var getUrlParams = function() {
|
||||
var e,
|
||||
a = /\+/g, // Regex for replacing addition symbol with a space
|
||||
r = /([^&=]+)=?([^&]*)/g,
|
||||
d = function (s) { return decodeURIComponent(s.replace(a, " ")); },
|
||||
q = window.location.search.substring(1),
|
||||
urlParams = {};
|
||||
|
||||
while (e = r.exec(q))
|
||||
urlParams[d(e[1])] = d(e[2]);
|
||||
|
||||
return urlParams;
|
||||
};
|
||||
|
||||
var encodeUrlParam = function(str) {
|
||||
return str.replace(/&/g, '&')
|
||||
.replace(/"/g, '"')
|
||||
.replace(/'/g, ''')
|
||||
.replace(/</g, '<')
|
||||
.replace(/>/g, '>');
|
||||
};
|
||||
|
||||
var lang = (getUrlParams()["lang"] || 'en').split("-")[0];
|
||||
|
||||
if ( lang == 'de') reqerr = 'Die Verbindung ist zu langsam, einige Komponenten konnten nicht geladen werden. Aktualisieren Sie bitte die Seite.';
|
||||
else if ( lang == 'es') reqerr = 'La conexión es muy lenta, algunos de los componentes no han podido cargar. Por favor recargue la página.';
|
||||
else if ( lang == 'fr') reqerr = 'La connexion est trop lente, certains des composants n\'ons pas pu être chargé. Veuillez recharger la page.';
|
||||
else if ( lang == 'ru') reqerr = 'Слишком медленное соединение, не удается загрузить некоторые компоненты. Пожалуйста, обновите страницу.';
|
||||
else reqerr = 'The connection is too slow, some of the components could not be loaded. Please reload the page.';
|
||||
|
||||
window.alert(reqerr);
|
||||
window.location.reload();
|
||||
}
|
||||
});
|
|
@ -229,12 +229,212 @@
|
|||
|
||||
<div id="viewport"></div>
|
||||
|
||||
<script type="text/javascript" src="../../../vendor/jquery/jquery.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/xregexp/xregexp-all-min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/underscore/underscore-min.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="../../../vendor/perfect-scrollbar/src/perfect-scrollbar.css" />
|
||||
<script type="text/javascript" src="../../../vendor/perfect-scrollbar/src/jquery.mousewheel.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/perfect-scrollbar/src/perfect-scrollbar.js"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
window.g_debug_mode = true;
|
||||
</script>
|
||||
|
||||
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/browser.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/FontsFreeType/font_engine.js"></script>
|
||||
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/FontsFreeType/FontFile.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/FontsFreeType/FontManager.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/FontsFreeType/font_map.js"></script>
|
||||
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/AllFonts.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Drawing/Externals.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/GlobalLoaders.js"></script>
|
||||
|
||||
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/wordcopypaste.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/editorscommon.js"></script>
|
||||
|
||||
<script type="text/javascript" src="../../../../sdkjs/slide/Drawing/ThemeLoader.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/Shapes/EditorSettings.js"></script>
|
||||
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/Charts/DrawingObjects.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/commonDefines.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/SerializeCommonWordExcel.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/SerializeChart.js"></script>
|
||||
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/Charts/charts.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/Charts/ChartsDrawer.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/Charts/3DTransformation.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/Charts/DrawingArea.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/NumFormat.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Editor/Serialize2.js"></script>
|
||||
|
||||
<script src="../../../../sdkjs/common/commonDefines.js"></script>
|
||||
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Editor/Styles.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Editor/Numbering.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Drawing/Metafile.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/CollaborativeEditingBase.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/slide/Editor/CollaborativeEditing.js"></script>
|
||||
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Drawing/GraphicsEvents.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Drawing/WorkEvents.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/Controls.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Drawing/Rulers.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Editor/Table.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Editor/Table/TableRecalculate.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Editor/Table/TableDraw.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Editor/Table/TableRow.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Editor/Table/TableCell.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Editor/Common.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Editor/Sections.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/scroll.js"></script>
|
||||
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Editor/History.js"></script>
|
||||
|
||||
|
||||
|
||||
|
||||
<script src="../../../../sdkjs/common/Drawings/Hit.js"></script>
|
||||
<script src="../../../../sdkjs/common/Drawings/States.js"></script>
|
||||
<script src="../../../../sdkjs/common/Drawings/DrawingObjectsHandlers.js"></script>
|
||||
<script src="../../../../sdkjs/common/Drawings/TrackObjects/AdjustmentTracks.js"></script>
|
||||
<script src="../../../../sdkjs/common/Drawings/TrackObjects/ResizeTracks.js"></script>
|
||||
<script src="../../../../sdkjs/common/Drawings/TrackObjects/RotateTracks.js"></script>
|
||||
<script src="../../../../sdkjs/common/Drawings/TrackObjects/NewShapeTracks.js"></script>
|
||||
<script src="../../../../sdkjs/common/Drawings/TrackObjects/PolyLine.js"></script>
|
||||
<script src="../../../../sdkjs/common/Drawings/TrackObjects/Spline.js"></script>
|
||||
<script src="../../../../sdkjs/common/Drawings/TrackObjects/MoveTracks.js"></script>
|
||||
|
||||
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Drawing/HatchPattern.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Drawing/Graphics.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Drawing/Overlay.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Drawing/ShapeDrawer.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/slide/Drawing/Transitions.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/slide/Drawing/DrawingDocument.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/slide/Drawing/HtmlPage.js"></script>
|
||||
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/Drawings/Format/Constants.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/slide/themes/Themes.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/Shapes/Serialize.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/Shapes/SerializeWriter.js"></script>
|
||||
<script src="../../../../sdkjs/word/Editor/SerializeCommon.js"></script>
|
||||
|
||||
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/Drawings/Math.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/Drawings/ArcTo.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Drawing/ColorArray.js"></script>
|
||||
|
||||
|
||||
<script type="text/javascript" src="../../../../sdkjs/slide/Editor/Format/Presentation.js"></script>
|
||||
<script src="../../../../sdkjs/common/Drawings/CommonController.js"></script>
|
||||
<script src="../../../../sdkjs/cell/view/DrawingObjectsController.js"></script>
|
||||
<script src="../../../../sdkjs/slide/Editor/DrawingObjectsController.js"></script>
|
||||
|
||||
<script src="../../../../sdkjs/common/Drawings/Format/Format.js"></script>
|
||||
<script src="../../../../sdkjs/common/Drawings/Format/CreateGeometry.js"></script>
|
||||
<script src="../../../../sdkjs/common/Drawings/Format/Geometry.js"></script>
|
||||
<script src="../../../../sdkjs/common/Drawings/Format/Path.js"></script>
|
||||
<script src="../../../../sdkjs/common/Drawings/Format/Shape.js"></script>
|
||||
<script src="../../../../sdkjs/common/Drawings/Format/Image.js"></script>
|
||||
<script src="../../../../sdkjs/common/Drawings/Format/GroupShape.js"></script>
|
||||
<script src="../../../../sdkjs/common/Drawings/Format/ChartSpace.js"></script>
|
||||
<script src="../../../../sdkjs/common/Drawings/Format/ChartFormat.js"></script>
|
||||
<script src="../../../../sdkjs/common/Drawings/Format/TextBody.js"></script>
|
||||
<script src="../../../../sdkjs/common/Drawings/TextDrawer.js"></script>
|
||||
|
||||
|
||||
<script type="text/javascript" src="../../../../sdkjs/slide/Editor/Format/Slide.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/slide/Editor/Format/SlideMaster.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/slide/Editor/Format/Layout.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/slide/Editor/Format/Comments.js"></script>
|
||||
|
||||
|
||||
<script type="text/javascript" src="../../../../sdkjs/slide/apiDefines.js"></script>
|
||||
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/apiCommon.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/downloaderfiles.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/docscoapicommon.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/docscoapi.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/slide/apiCommon.js"></script>
|
||||
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/apiBase.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/slide/api.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/Private/license.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/slide/Private/comments.js"></script>
|
||||
|
||||
|
||||
|
||||
|
||||
<script src="../../../../sdkjs/word/Editor/Styles.js"></script>
|
||||
<script src="../../../../sdkjs/word/Editor/Numbering.js"></script>
|
||||
<script src="../../../../sdkjs/word/Editor/ParagraphContent.js"></script>
|
||||
<script src="../../../../sdkjs/word/Editor/ParagraphContentBase.js"></script>
|
||||
<script src="../../../../sdkjs/word/Editor/Hyperlink.js"></script>
|
||||
<script src="../../../../sdkjs/word/Editor/Field.js"></script>
|
||||
<script src="../../../../sdkjs/word/Editor/Run.js"></script>
|
||||
|
||||
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Math/mathTypes.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Math/mathText.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Math/mathContent.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Math/base.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Math/fraction.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Math/degree.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Math/matrix.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Math/limit.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Math/nary.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Math/radical.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Math/operators.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Math/accent.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Math/borderBox.js"></script>
|
||||
|
||||
<!--for copy/paste from excel-->
|
||||
<script type="text/javascript" src="../../../../sdkjs/cell/utils/utils.js"></script>
|
||||
|
||||
<script type="text/javascript" src="../../../../sdkjs/cell/model/Serialize.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/cell/model/WorkbookElems.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/cell/model/Workbook.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/cell/model/CellInfo.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/AdvancedOptions.js"></script>
|
||||
|
||||
|
||||
|
||||
|
||||
<script src="../../../../sdkjs/word/Editor/FlowObjects.js"></script>
|
||||
<script src="../../../../sdkjs/word/Editor/Paragraph.js"></script>
|
||||
<script src="../../../../sdkjs/word/Editor/Paragraph_Recalculate.js"></script>
|
||||
<script src="../../../../sdkjs/word/Editor/Document.js"></script>
|
||||
<script src="../../../../sdkjs/word/Editor/DocumentContent.js"></script>
|
||||
<script src="../../../../sdkjs/word/Editor/HeaderFooter.js"></script>
|
||||
<script src="../../../../sdkjs/word/Editor/Math.js"></script>
|
||||
<script src="../../../../sdkjs/word/Editor/Spelling.js"></script>
|
||||
<script src="../../../../sdkjs/word/Editor/Search.js"></script>
|
||||
<script src="../../../../sdkjs/word/Editor/FontClassification.js"></script>
|
||||
|
||||
|
||||
<script src="../../../../sdkjs/slide/Editor/Format/ShapePrototype.js"></script>
|
||||
<script src="../../../../sdkjs/slide/Editor/Format/ImagePrototype.js"></script>
|
||||
<script src="../../../../sdkjs/slide/Editor/Format/GroupPrototype.js"></script>
|
||||
<script src="../../../../sdkjs/slide/Editor/Format/ChartSpacePrototype.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/slide/Editor/Format/GraphicFrame.js"></script>
|
||||
|
||||
<!-- apply changes -->
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/applyDocumentChanges.js"></script>
|
||||
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/Private/Locks.js"></script>
|
||||
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/apiCommon.js"></script>
|
||||
|
||||
<!-- debug begin -->
|
||||
<script type="text/javascript">var less=less||{};less.env='development';</script>
|
||||
<script src="../../../vendor/less/dist/less-1.5.1.js" type="text/javascript"></script>
|
||||
<!-- debug end -->
|
||||
|
||||
<!-- application -->
|
||||
<script data-main="app" src="../../../vendor/requirejs/require.js"></script>
|
||||
<script data-main="app_dev" src="../../../vendor/requirejs/require.js"></script>
|
||||
</body>
|
||||
</html>
|
|
@ -24,8 +24,8 @@ require.config({
|
|||
sockjs : '../vendor/sockjs/sockjs.min',
|
||||
jsziputils : '../vendor/jszip-utils/jszip-utils.min',
|
||||
jsrsasign : '../vendor/jsrsasign/jsrsasign-latest-all-min',
|
||||
allfonts : '../sdk/Common/AllFonts',
|
||||
sdk : '../sdk/Excel/sdk-all',
|
||||
allfonts : '../sdkjs/common/AllFonts',
|
||||
sdk : '../sdkjs/cell/sdk-all',
|
||||
api : 'api/documents/api',
|
||||
core : 'common/main/lib/core/application',
|
||||
notification : 'common/main/lib/core/NotificationCenter',
|
||||
|
|
193
apps/spreadsheeteditor/main/app_dev.js
Normal file
193
apps/spreadsheeteditor/main/app_dev.js
Normal file
|
@ -0,0 +1,193 @@
|
|||
/**
|
||||
* app.js
|
||||
*
|
||||
* Created by Maxim Kadushkin on 21 March 2014
|
||||
* Copyright (c) 2014 Ascensio System SIA. All rights reserved.
|
||||
*
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
var reqerr;
|
||||
require.config({
|
||||
// The shim config allows us to configure dependencies for
|
||||
// scripts that do not call define() to register a module
|
||||
baseUrl: '../../',
|
||||
paths: {
|
||||
jquery : '../vendor/jquery/jquery',
|
||||
underscore : '../vendor/underscore/underscore',
|
||||
backbone : '../vendor/backbone/backbone',
|
||||
bootstrap : '../vendor/bootstrap/dist/js/bootstrap',
|
||||
text : '../vendor/requirejs-text/text',
|
||||
perfectscrollbar: 'common/main/lib/mods/perfect-scrollbar',
|
||||
jmousewheel : '../vendor/perfect-scrollbar/src/jquery.mousewheel',
|
||||
xregexp : '../vendor/xregexp/xregexp-all-min',
|
||||
sockjs : '../vendor/sockjs/sockjs.min',
|
||||
jsziputils : '../vendor/jszip-utils/jszip-utils.min',
|
||||
jsrsasign : '../vendor/jsrsasign/jsrsasign-latest-all-min',
|
||||
api : 'api/documents/api',
|
||||
core : 'common/main/lib/core/application',
|
||||
notification : 'common/main/lib/core/NotificationCenter',
|
||||
keymaster : 'common/main/lib/core/keymaster',
|
||||
tip : 'common/main/lib/util/Tip',
|
||||
localstorage : 'common/main/lib/util/LocalStorage',
|
||||
analytics : 'common/Analytics',
|
||||
gateway : 'common/Gateway',
|
||||
locale : 'common/locale',
|
||||
irregularstack : 'common/IrregularStack'
|
||||
},
|
||||
shim: {
|
||||
underscore: {
|
||||
exports: '_'
|
||||
},
|
||||
backbone: {
|
||||
deps: [
|
||||
'underscore',
|
||||
'jquery'
|
||||
],
|
||||
exports: 'Backbone'
|
||||
},
|
||||
bootstrap: {
|
||||
deps: [
|
||||
'jquery'
|
||||
]
|
||||
},
|
||||
perfectscrollbar: {
|
||||
deps: [
|
||||
'jmousewheel'
|
||||
]
|
||||
},
|
||||
notification: {
|
||||
deps: [
|
||||
'backbone'
|
||||
]
|
||||
},
|
||||
core: {
|
||||
deps: [
|
||||
'backbone',
|
||||
'notification',
|
||||
'irregularstack'
|
||||
]
|
||||
},
|
||||
sdk: {
|
||||
deps: [
|
||||
'jquery',
|
||||
'underscore',
|
||||
'allfonts',
|
||||
'xregexp',
|
||||
'sockjs',
|
||||
'jsziputils',
|
||||
'jsrsasign'
|
||||
]
|
||||
},
|
||||
gateway: {
|
||||
deps: [
|
||||
'jquery'
|
||||
]
|
||||
},
|
||||
analytics: {
|
||||
deps: [
|
||||
'jquery'
|
||||
]
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
require([
|
||||
'backbone',
|
||||
'bootstrap',
|
||||
'core',
|
||||
'api',
|
||||
'analytics',
|
||||
'gateway',
|
||||
'locale',
|
||||
'jsziputils',
|
||||
'jsrsasign',
|
||||
'sockjs',
|
||||
'underscore'
|
||||
], function (Backbone, Bootstrap, Core) {
|
||||
Backbone.history.start();
|
||||
|
||||
/**
|
||||
* Application instance with SSE namespace defined
|
||||
*/
|
||||
var app = new Backbone.Application({
|
||||
nameSpace: 'SSE',
|
||||
autoCreate: false,
|
||||
controllers : [
|
||||
'Viewport',
|
||||
'DocumentHolder',
|
||||
'CellEditor',
|
||||
'FormulaDialog',
|
||||
'Print',
|
||||
'Toolbar',
|
||||
'Statusbar',
|
||||
'RightMenu',
|
||||
'LeftMenu',
|
||||
'Main',
|
||||
'Common.Controllers.Fonts',
|
||||
'Common.Controllers.Chat',
|
||||
'Common.Controllers.Comments'
|
||||
]
|
||||
});
|
||||
|
||||
Common.Locale.apply();
|
||||
|
||||
require([
|
||||
'spreadsheeteditor/main/app/controller/Viewport',
|
||||
'spreadsheeteditor/main/app/controller/DocumentHolder',
|
||||
'spreadsheeteditor/main/app/controller/CellEditor',
|
||||
'spreadsheeteditor/main/app/controller/Toolbar',
|
||||
'spreadsheeteditor/main/app/controller/Statusbar',
|
||||
'spreadsheeteditor/main/app/controller/RightMenu',
|
||||
'spreadsheeteditor/main/app/controller/LeftMenu',
|
||||
'spreadsheeteditor/main/app/controller/Main',
|
||||
'spreadsheeteditor/main/app/controller/Print',
|
||||
'spreadsheeteditor/main/app/view/ParagraphSettings',
|
||||
'spreadsheeteditor/main/app/view/ImageSettings',
|
||||
'spreadsheeteditor/main/app/view/ChartSettings',
|
||||
'spreadsheeteditor/main/app/view/ShapeSettings',
|
||||
'spreadsheeteditor/main/app/view/TextArtSettings',
|
||||
'common/main/lib/util/utils',
|
||||
'common/main/lib/util/LocalStorage',
|
||||
'common/main/lib/controller/Fonts',
|
||||
'common/main/lib/controller/Comments',
|
||||
'common/main/lib/controller/Chat'
|
||||
], function() {
|
||||
app.start();
|
||||
});
|
||||
}, function(err) {
|
||||
if (err.requireType == 'timeout' && !reqerr) {
|
||||
var getUrlParams = function() {
|
||||
var e,
|
||||
a = /\+/g, // Regex for replacing addition symbol with a space
|
||||
r = /([^&=]+)=?([^&]*)/g,
|
||||
d = function (s) { return decodeURIComponent(s.replace(a, " ")); },
|
||||
q = window.location.search.substring(1),
|
||||
urlParams = {};
|
||||
|
||||
while (e = r.exec(q))
|
||||
urlParams[d(e[1])] = d(e[2]);
|
||||
|
||||
return urlParams;
|
||||
};
|
||||
|
||||
var encodeUrlParam = function(str) {
|
||||
return str.replace(/&/g, '&')
|
||||
.replace(/"/g, '"')
|
||||
.replace(/'/g, ''')
|
||||
.replace(/</g, '<')
|
||||
.replace(/>/g, '>');
|
||||
};
|
||||
|
||||
var lang = (getUrlParams()["lang"] || 'en').split("-")[0];
|
||||
|
||||
if ( lang == 'de') reqerr = 'Die Verbindung ist zu langsam, einige Komponenten konnten nicht geladen werden. Aktualisieren Sie bitte die Seite.';
|
||||
else if ( lang == 'es') reqerr = 'La conexión es muy lenta, algunos de los componentes no han podido cargar. Por favor recargue la página.';
|
||||
else if ( lang == 'fr') reqerr = 'La connexion est trop lente, certains des composants n\'ons pas pu être chargé. Veuillez recharger la page.';
|
||||
else if ( lang == 'ru') reqerr = 'Слишком медленное соединение, не удается загрузить некоторые компоненты. Пожалуйста, обновите страницу.';
|
||||
else reqerr = 'The connection is too slow, some of the components could not be loaded. Please reload the page.';
|
||||
|
||||
window.alert(reqerr);
|
||||
window.location.reload();
|
||||
}
|
||||
});
|
|
@ -6,7 +6,7 @@
|
|||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=IE8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="../../../sdk/Excel/css/main.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="../../../../sdkjs/cell/css/main.css"/>
|
||||
|
||||
<!-- debug begin -->
|
||||
<link rel="stylesheet/less" type="text/css" href="resources/less/app.less" />
|
||||
|
@ -230,14 +230,211 @@
|
|||
</script>
|
||||
|
||||
<div id="viewport"></div>
|
||||
<!-- sdk -->
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/AllFonts.js"></script>
|
||||
|
||||
<script type="text/javascript" src="../../../vendor/jquery/jquery.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/xregexp/xregexp-all-min.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="../../../vendor/perfect-scrollbar/src/perfect-scrollbar.css" />
|
||||
<script type="text/javascript" src="../../../vendor/perfect-scrollbar/src/jquery.mousewheel.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/perfect-scrollbar/src/perfect-scrollbar.js"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
window.g_debug_mode = true;
|
||||
</script>
|
||||
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/browser.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/editorscommon.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/downloaderfiles.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/docscoapicommon.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/docscoapi.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/scroll.js"></script>
|
||||
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/Charts/DrawingArea.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/Charts/DrawingObjects.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/Charts/charts.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/Charts/ChartsDrawer.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/Charts/3DTransformation.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/commonDefines.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/apiCommon.js"></script>
|
||||
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/NumFormat.js"></script>
|
||||
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/FontsFreeType/font_engine.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/FontsFreeType/FontFile.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/FontsFreeType/FontManager.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/FontsFreeType/font_map.js"></script>
|
||||
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/wordcopypaste.js"></script>
|
||||
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Drawing/HatchPattern.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Drawing/WorkEvents.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Drawing/Externals.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Drawing/Metafile.js"></script>
|
||||
|
||||
<script type="text/javascript" src="../../../../sdkjs/cell/apiDefines.js"></script>
|
||||
|
||||
<script type="text/javascript" src="../../../../sdkjs/cell/utils/utils.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/cell/model/ConditionalFormatting.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/cell/model/clipboard.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/cell/model/autofilters.js"></script>
|
||||
|
||||
<script type="text/javascript" src="../../../../sdkjs/cell/graphics/DrawingContext.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/cell/graphics/pdfprinter.js"></script>
|
||||
|
||||
<script type="text/javascript" src="../../../../sdkjs/cell/document/empty-workbook.js"></script>
|
||||
|
||||
|
||||
<script type="text/javascript" src="../../../../sdkjs/cell/model/CollaborativeEditing.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/cell/model/FormulaObjects/parserFormula.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/cell/model/FormulaObjects/_xlfnFunctions.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/cell/model/FormulaObjects/dateandtimeFunctions.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/cell/model/FormulaObjects/engineeringFunctions.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/cell/model/FormulaObjects/cubeFunctions.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/cell/model/FormulaObjects/databaseFunctions.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/cell/model/FormulaObjects/textanddataFunctions.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/cell/model/FormulaObjects/statisticalFunctions.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/cell/model/FormulaObjects/financialFunctions.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/cell/model/FormulaObjects/mathematicFunctions.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/cell/model/FormulaObjects/lookupandreferenceFunctions.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/cell/model/FormulaObjects/informationFunctions.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/cell/model/FormulaObjects/logicalFunctions.js"></script>
|
||||
|
||||
<script type="text/javascript" src="../../../../sdkjs/cell/model/CellComment.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/cell/model/Serialize.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/cell/model/WorkbookElems.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/cell/model/Workbook.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/cell/model/CellInfo.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/AdvancedOptions.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/cell/model/History.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/cell/model/UndoRedo.js"></script>
|
||||
|
||||
<script type="text/javascript" src="../../../../sdkjs/cell/view/StringRender.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/cell/view/CellTextRender.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/cell/view/CellEditorView.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/cell/view/WorksheetView.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/cell/view/HandlerList.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/cell/view/EventsController.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/cell/view/WorkbookView.js"></script>
|
||||
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/apiBase.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/cell/api.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/Private/license.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/cell/Private/comments.js"></script>
|
||||
|
||||
<!--for theme-->
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/Shapes/EditorSettings.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/Shapes/Serialize.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/Shapes/SerializeWriter.js"></script>
|
||||
|
||||
<!--for chart-->
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/SerializeCommonWordExcel.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/SerializeChart.js"></script>
|
||||
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Editor/SerializeCommon.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Drawing/ArcTo.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Drawing/ColorArray.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Editor/common.js"></script>
|
||||
|
||||
<!--for shapes-->
|
||||
<script src="../../../../sdkjs/common/Drawings/Hit.js"></script>
|
||||
<script src="../../../../sdkjs/common/Drawings/States.js"></script>
|
||||
<script src="../../../../sdkjs/common/Drawings/DrawingObjectsHandlers.js"></script>
|
||||
<script src="../../../../sdkjs/common/Drawings/TrackObjects/AdjustmentTracks.js"></script>
|
||||
<script src="../../../../sdkjs/common/Drawings/TrackObjects/ResizeTracks.js"></script>
|
||||
<script src="../../../../sdkjs/common/Drawings/TrackObjects/RotateTracks.js"></script>
|
||||
<script src="../../../../sdkjs/common/Drawings/TrackObjects/NewShapeTracks.js"></script>
|
||||
<script src="../../../../sdkjs/common/Drawings/TrackObjects/PolyLine.js"></script>
|
||||
<script src="../../../../sdkjs/common/Drawings/TrackObjects/Spline.js"></script>
|
||||
<script src="../../../../sdkjs/common/Drawings/TrackObjects/MoveTracks.js"></script>
|
||||
|
||||
<script src="../../../../sdkjs/common/Drawings/CommonController.js"></script>
|
||||
|
||||
<script src="../../../../sdkjs/common/Drawings/Format/Constants.js"></script>
|
||||
<script src="../../../../sdkjs/common/Drawings/Format/Format.js"></script>
|
||||
<script src="../../../../sdkjs/common/Drawings/Format/CreateGeometry.js"></script>
|
||||
<script src="../../../../sdkjs/common/Drawings/Format/Geometry.js"></script>
|
||||
<script src="../../../../sdkjs/common/Drawings/Format/Path.js"></script>
|
||||
<script src="../../../../sdkjs/common/Drawings/Format/Shape.js"></script>
|
||||
<script src="../../../../sdkjs/common/Drawings/Format/GroupShape.js"></script>
|
||||
<script src="../../../../sdkjs/common/Drawings/Format/Image.js"></script>
|
||||
<script src="../../../../sdkjs/common/Drawings/Format/ChartSpace.js"></script>
|
||||
<script src="../../../../sdkjs/common/Drawings/Format/ChartFormat.js"></script>
|
||||
<script src="../../../../sdkjs/common/Drawings/Format/TextBody.js"></script>
|
||||
<script src="../../../../sdkjs/common/Drawings/TextDrawer.js"></script>
|
||||
|
||||
<script src="../../../../sdkjs/common/Controls.js"></script>
|
||||
|
||||
<script src="../../../../sdkjs/cell/view/DrawingObjectsController.js"></script>
|
||||
|
||||
<script src="../../../../sdkjs/cell/model/DrawingObjects/Graphics.js"></script>
|
||||
<script src="../../../../sdkjs/cell/model/DrawingObjects/Overlay.js"></script>
|
||||
<script src="../../../../sdkjs/cell/model/DrawingObjects/ShapeDrawer.js"></script>
|
||||
|
||||
<script src="../../../../sdkjs/cell/model/DrawingObjects/DrawingDocument.js"></script>
|
||||
<script src="../../../../sdkjs/common/GlobalLoaders.js"></script>
|
||||
|
||||
|
||||
<script src="../../../../sdkjs/cell/model/DrawingObjects/Format/ShapePrototype.js"></script>
|
||||
<script src="../../../../sdkjs/cell/model/DrawingObjects/Format/ImagePrototype.js"></script>
|
||||
<script src="../../../../sdkjs/cell/model/DrawingObjects/Format/GroupPrototype.js"></script>
|
||||
<script src="../../../../sdkjs/cell/model/DrawingObjects/Format/ChartSpacePrototype.js"></script>
|
||||
<script src="../../../../sdkjs/slide/Editor/Format/GraphicFrame.js"></script>
|
||||
|
||||
<script src="../../../../sdkjs/word/Editor/Comments.js"></script>
|
||||
<script src="../../../../sdkjs/word/Editor/Styles.js"></script>
|
||||
<script src="../../../../sdkjs/word/Editor/FlowObjects.js"></script>
|
||||
<script src="../../../../sdkjs/word/Editor/ParagraphContent.js"></script>
|
||||
<script src="../../../../sdkjs/word/Editor/ParagraphContentBase.js"></script>
|
||||
<script src="../../../../sdkjs/word/Editor/Hyperlink.js"></script>
|
||||
<script src="../../../../sdkjs/word/Editor/Field.js"></script>
|
||||
<script src="../../../../sdkjs/word/Editor/Run.js"></script>
|
||||
<script src="../../../../sdkjs/word/Editor/Math.js"></script>
|
||||
<script src="../../../../sdkjs/word/Editor/Paragraph.js"></script>
|
||||
<script src="../../../../sdkjs/word/Editor/Paragraph_Recalculate.js"></script>
|
||||
<script src="../../../../sdkjs/word/Editor/Sections.js"></script>
|
||||
<script src="../../../../sdkjs/word/Editor/Numbering.js"></script>
|
||||
<script src="../../../../sdkjs/word/Editor/HeaderFooter.js"></script>
|
||||
<script src="../../../../sdkjs/word/Editor/Document.js"></script>
|
||||
<script src="../../../../sdkjs/word/Editor/DocumentContent.js"></script>
|
||||
<script src="../../../../sdkjs/word/Editor/Table.js"></script>
|
||||
<script src="../../../../sdkjs/word/Editor/Table/TableRecalculate.js"></script>
|
||||
<script src="../../../../sdkjs/word/Editor/Table/TableDraw.js"></script>
|
||||
<script src="../../../../sdkjs/word/Editor/Table/TableRow.js"></script>
|
||||
<script src="../../../../sdkjs/word/Editor/Table/TableCell.js"></script>
|
||||
<script src="../../../../sdkjs/word/Editor/Serialize2.js"></script>
|
||||
<script src="../../../../sdkjs/word/Editor/FontClassification.js"></script>
|
||||
<script src="../../../../sdkjs/word/Editor/Spelling.js"></script>
|
||||
<script src="../../../../sdkjs/word/Editor/GraphicObjects/WrapManager.js"></script>
|
||||
|
||||
<script src="../../../../sdkjs/common/CollaborativeEditingBase.js"></script>
|
||||
<script src="../../../../sdkjs/cell/model/DrawingObjects/GlobalCounters.js"></script>
|
||||
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Math/mathTypes.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Math/mathText.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Math/mathContent.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Math/base.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Math/fraction.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Math/degree.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Math/matrix.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Math/limit.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Math/nary.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Math/radical.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Math/operators.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Math/accent.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/Math/borderBox.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/apiCommon.js"></script>
|
||||
|
||||
<!-- apply changes -->
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/applyDocumentChanges.js"></script>
|
||||
|
||||
<!-- debug begin -->
|
||||
<script type="text/javascript">var less=less||{};less.env='development';</script>
|
||||
<script src="../../../vendor/less/dist/less-1.5.1.js" type="text/javascript"></script>
|
||||
<!-- debug end -->
|
||||
|
||||
<!-- application -->
|
||||
<script data-main="app" src="../../../vendor/requirejs/require.js"></script>
|
||||
<script data-main="app_dev" src="../../../vendor/requirejs/require.js"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<meta name="keywords" content="" />
|
||||
<link rel="icon" href="resources/img/favicon.ico" type="image/x-icon" />
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="../../../sdk/Excel/css/main.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="../../../sdkjs/cell/css/main.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="../../../apps/spreadsheeteditor/main/resources/css/app.css">
|
||||
|
||||
<!-- splash -->
|
||||
|
|
Loading…
Reference in a new issue