Commit fdf44eac authored by Alexey.Golubev's avatar Alexey.Golubev

Наработки по объединению документов на nodejs

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@47832 954022d7-b5bf-4e40-9824-e11837661b57
parent db1f2eed
......@@ -7,18 +7,83 @@
"revision": "HEAD",
"src": "../Common ../Word"
},
"concat_api": {
"../Word/merge/api-all.js": [
"../Word/merge/api_merge.js"
]
},
"extract_api": {
"src": "../Word/api.js",
"src": "../Word/merge/api-all.js",
"dst": "../Word/Build/Log/apiExport.js"
},
"compile": {
"sdk": {
"src": [
"../Common/License.js",
"../Common/Build/License.js",
"../Word/merge/utils.js",
"../Common/docscoapicommon.js",
"../Common/docscoapi.js",
"../Common/spellcheckapi.js",
"../Common/wordcopypaste.js",
"../Common/spellCheckLanguage.js",
"../Common/spellCheckLanguagesAll.js",
"../Common/downloaderfiles.js",
"../Common/commonDefines.js",
"../Common/editorscommon.js",
"../Common/NumFormat.js",
"../Common/Shapes/Serialize.js",
"../Common/Shapes/SerializeWriter.js",
"../Common/SerializeCommonWordExcel.js",
"../Common/Charts/libraries/OfficeExcel.common.core.js",
"../Common/Charts/libraries/OfficeExcel.common.annotate.js",
"../Common/Charts/libraries/OfficeExcel.common.context.js",
"../Common/Charts/libraries/OfficeExcel.common.effects.js",
"../Common/Charts/libraries/OfficeExcel.common.key.js",
"../Common/Charts/libraries/OfficeExcel.common.resizing.js",
"../Common/Charts/libraries/OfficeExcel.common.tooltips.js",
"../Common/Charts/libraries/OfficeExcel.common.zoom.js",
"../Common/Charts/libraries/OfficeExcel.bar.js",
"../Common/Charts/libraries/OfficeExcel.bipolar.js",
"../Common/Charts/libraries/OfficeExcel.gantt.js",
"../Common/Charts/libraries/OfficeExcel.hbar.js",
"../Common/Charts/libraries/OfficeExcel.line.js",
"../Common/Charts/libraries/OfficeExcel.pie.js",
"../Common/Charts/libraries/OfficeExcel.radar.js",
"../Common/Charts/libraries/OfficeExcel.rose.js",
"../Common/Charts/libraries/OfficeExcel.rscatter.js",
"../Common/Charts/libraries/OfficeExcel.scatter.js",
"../Common/Charts/libraries/OfficeExcel.waterfall.js",
"../Common/Charts/libraries/OfficeExcel.chartProperties.js",
"../Common/Charts/libraries/hsv.js",
"../Common/Charts/libraries/rgbcolor.js",
"../Common/Charts/charts.js",
"../Common/Charts/DrawingObjects.js",
"../Common/FontsFreeType/font_engine.js",
"../Common/FontsFreeType/FontFile.js",
"../Common/FontsFreeType/FontManager.js",
"../Common/PresentationSerializeAdapter.js",
"../Word/Drawing/Externals.js",
"../Word/Drawing/AllFonts.js",
"../Word/Drawing/GlobalLoaders.js",
"../Common/FontsFreeType/FontExport.js",
"../Word/Drawing/translations.js",
"../Word/Editor/GraphicObjects/GraphicObjects.js",
"../Word/Editor/GraphicObjects/GraphicPage.js",
"../Word/Editor/GraphicObjects/States.js",
"../Word/Editor/GraphicObjects/Math.js",
"../Word/Editor/GraphicObjects/TrackGraphicObjects.js",
"../Word/Editor/GraphicObjects/WrapManager.js",
"../Word/Editor/GraphicObjects/Spline.js",
"../Word/Editor/GraphicObjects/PolyLine.js",
"../Word/Editor/GraphicObjects/ObjectTypes/WordShape.js",
"../Word/Editor/GraphicObjects/ObjectTypes/WordImage.js",
"../Word/Editor/GraphicObjects/ObjectTypes/WordGroupShapes.js",
"../Word/Editor/GraphicObjects/ObjectTypes/Format.js",
"../Word/Editor/GraphicObjects/ObjectTypes/Geometry.js",
"../Word/Editor/GraphicObjects/ObjectTypes/ShapeTracks.js",
"../Word/Editor/GraphicObjects/ObjectTypes/GroupTracks.js",
"../Word/Editor/GraphicObjects/ObjectTypes/CreateGeometry.js",
"../Word/Editor/GraphicObjects/ObjectTypes/Path.js",
"../Word/Editor/CollaborativeEditing.js",
"../Word/Editor/Comments.js",
"../Word/Editor/History.js",
......@@ -35,18 +100,52 @@
"../Word/Editor/DocumentContent.js",
"../Word/Editor/Table.js",
"../Word/Editor/Serialize2.js",
"../Word/Editor/Search.js",
"../Word/Editor/FontClassification.js",
"../Word/Editor/Spelling.js",
"../Word/Drawing/Graphics.js",
"../Word/Drawing/ArcTo.js",
"../Word/Drawing/Hit.js",
"../Word/Drawing/ColorArray.js",
"../Word/Drawing/Overlay.js",
"../Word/Drawing/ShapeDrawer.js",
"../Word/Drawing/Metafile.js",
"../Word/Drawing/DrawingDocument.js",
"../Word/Drawing/GraphicsEvents.js",
"../Word/Drawing/scrolls/iscroll.js",
"../Word/Drawing/WorkEvents.js",
"../Word/Drawing/Controls.js",
"../Word/Drawing/Rulers.js",
"../Word/Drawing/HtmlPage.js",
"../Word/Drawing/documentrenderer.js",
"../Word/Drawing/scrolls/scroll.js",
"../Word/Editor/SerializeCommon.js",
"../Word/apiDefines.js",
"../Word/merge/api_merge.js"
"../Word/apiCommon.js",
"../Word/api.js",
"../Word/merge/api_merge.js",
"../Word/Build/Log/apiExport.js",
"../Excel/graphics/DrawingContextWord.js"
],
"dst": "../Word/sdk-all.js",
"dst": "../Word/merge/sdk-all.js",
"externs": [
"../Word/Build/apiExtern.js"
"../Common/Build/Externs.js",
"../Word/Drawing/scrolls/jquery.min.js",
"../Common/3rdparty/Underscore/underscore-min.js",
"../Common/3rdparty/Sockjs/sockjs-0.3.min.js"
],
"map": "sdk-all.js.map",
"log": "../Word/Build/Log"
"log": "../Word/Build/Log",
"define": [
"ASC_DOCS_API_USE_FONTS_ORIGINAL_FORMAT=false"
]
},
"defines": {
"src": "../Word/apiDefines.js",
"src": [
"../Common/Shapes/EditorSettings.js",
"../Common/commonDefines.js",
"../Word/apiDefines.js"
],
"dst": "apiDefines.min.js"
},
"source_map": {
......
......@@ -6,5 +6,6 @@ call npm install jsdom
call npm install canvas
call npm install navigator
call npm install xmlhttprequest
call npm install jQuery
pause
var jsdom = require("jsdom").jsdom;
var document = jsdom(null, null/*, {
features: {
FetchExternalResources : ["script", "img", "css", "frame", "iframe", "link"]
}
}*/);
var document = jsdom(null, null);
var window = document.createWindow();
var Image = window.Image;
var navigator = require('navigator');
var XMLHttpRequest = require("xmlhttprequest").XMLHttpRequest;
var $ = require('jQuery');
var jq = require('jQuery').create();
var jQuery = require('jQuery').create(window);
/*var window = {chrome:1};
window.postMessage = function(){};
window.addEventListener = function(){};
......
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