New apps for text, slide and spreadsheet

This commit is contained in:
yflory
2018-02-19 18:52:57 +01:00
parent 831c23b259
commit 7cb3282634
3200 changed files with 384 additions and 53 deletions

24
www/ooslide/doc.js Normal file
View File

@@ -0,0 +1,24 @@
config = {
"document": {
"fileType": "pptx",
"key": "Khirz6zTPdfd7",
"title": "test.pptx",
"url": "/onlyoffice/test.pptx"
},
"documentType": "presentation",
"editorConfig": {
"user": {
"id": "c0c3bf82-20d7-4663-bf6d-7fa39c598b1d",
"name": "John Smith"
}
},
"events": {
"onDocumentStateChange": function(evt) { console.log("in change"); },
"onReady": function(evt) { console.log("in onReady"); }
}
};
window.onbeforeunload = null;
var docEditor = new DocsAPI.DocEditor("placeholder", config);