Files
document-server-integration/web/documentserver-example/nodejs/config/default.json
Alexander.Trofimov b42e7f86f9 fileChoiceUrl to config
plugins to config
2016-07-05 13:12:02 +03:00

338 lines
9.0 KiB
JSON

{
"log": {
"appenders": [
{
"type": "console"
}
],
"replaceConsole": "true",
"levels": {
"nodeJS": "Debug"
}
},
"server": {
"port": 3000,
"siteUrl": "https://doc.onlyoffice.com/",
"commandUrl": "coauthoring/CommandService.ashx",
"storageUrl": "FileUploader.ashx",
"converterUrl": "ConvertService.ashx",
"tempStorageUrl": "ResourceService.ashx",
"apiUrl": "web-apps/apps/api/documents/api.js",
"preloaderUrl": "web-apps/apps/api/documents/cache-scripts.html",
"viewedDocs": [".ppt", ".pps", ".odp", ".pdf", ".djvu", ".epub", ".xps"],
"editedDocs": [".docx", ".doc", ".odt", ".xlsx", ".xls", ".ods", ".csv", ".pptx", ".ppsx", ".rtf", ".txt", ".mht", ".html", ".htm"],
"convertedDocs": [".doc", ".odt", ".xls", ".ods", ".ppt", ".pps", ".odp", ".rtf", ".mht", ".html", ".htm", ".epub"],
"storageFolder": "files",
"haveExternalIp": false,
"maxFileSize": 5242880,
// "fileChoiceUrl": "https://testinfo.teamlab.info/products/files/filechoice.aspx?fileType=xlsx&mailmerge=true"
},
"plugins": {
"url": "../../../../sdkjs-plugins/",
"pluginsData": [
/*{
"name": "chess (fen)",
"guid": "asc.{FFE1F462-1EA2-4391-990D-4CC84940B754}",
"variations": [
{
"description": "chess",
"url": "chess/index.html",
"icons": [
"chess/icon.png",
"chess/icon@2x.png"
],
"isViewer": "true",
"EditorsSupport": [
"word",
"cell",
"slide"
],
"isVisual": "true",
"isModal": "true",
"isInsideMode": "false",
"initDataType": "ole",
"initData": "",
"isUpdateOleOnResize": "true",
"buttons": [
{
"text": "Ok",
"primary": "true"
},
{
"text": "Cancel",
"primary": "false"
}
]
},
{
"description": "about",
"url": "chess/index_about.html",
"icons": [
"chess/icon.png",
"chess/icon@2x.png"
],
"isViewer": "true",
"EditorsSupport": [
"word",
"cell",
"slide"
],
"isVisual": "true",
"isModal": "true",
"isInsideMode": "false",
"initDataType": "none",
"initData": "",
"isUpdateOleOnResize": "false",
"buttons": [
{
"text": "Ok",
"primary": "true"
}
]
}
]
},
{
"name": "glavred",
"guid": "asc.{B631E142-E40B-4B4C-90B9-2D00222A286E}",
"variations": [
{
"description": "glavred",
"url": "glavred/index.html",
"icons": [
"glavred/icon.png",
"glavred/icon@2x.png"
],
"isViewer": "true",
"EditorsSupport": [
"word",
"cell",
"slide"
],
"isVisual": "true",
"isModal": "true",
"isInsideMode": "false",
"initDataType": "text",
"initData": "",
"isUpdateOleOnResize": "false",
"buttons": [
{
"text": "Ok",
"primary": "true"
}
]
}
]
},
{
"name": "bold",
"guid": "asc.{14E46CC2-5E56-429C-9D55-1032B596D928}",
"variations": [
{
"description": "bold",
"url": "bold/index.html",
"icons": [
"bold/icon.png",
"bold/icon@2x.png"
],
"isViewer": "false",
"EditorsSupport": [
"word",
"cell",
"slide"
],
"isVisual": "false",
"isModal": "false",
"isInsideMode": "false",
"initDataType": "none",
"initData": "",
"isUpdateOleOnResize": "false",
"buttons": []
}
]
},
{
"name": "speech",
"guid": "asc.{D71C2EF0-F15B-47C7-80E9-86D671F9C595}",
"variations": [
{
"description": "speech",
"url": "speech/index.html",
"icons": [
"speech/icon.png",
"speech/icon@2x.png"
],
"isViewer": "true",
"EditorsSupport": [
"word",
"cell",
"slide"
],
"isVisual": "false",
"isModal": "false",
"isInsideMode": "false",
"initDataType": "text",
"initData": "",
"isUpdateOleOnResize": "false",
"buttons": []
}
]
},
{
"name": "youtube",
"guid": "asc.{38E022EA-AD92-45FC-B22B-49DF39746DB4}",
"variations": [
{
"description": "youtube",
"url": "youtube/index.html",
"icons": [
"youtube/icon.png",
"youtube/icon@2x.png"
],
"isViewer": "true",
"EditorsSupport": [
"word",
"cell",
"slide"
],
"isVisual": "true",
"isModal": "true",
"isInsideMode": "false",
"initDataType": "ole",
"initData": "",
"isUpdateOleOnResize": "false",
"buttons": [
{
"text": "Ok",
"primary": "true"
},
{
"text": "Cancel",
"primary": "false"
}
]
}
]
},
{
"name": "cbr",
"guid": "asc.{5F9D4EB4-AF61-46EF-AE25-46C96E75E1DD}",
"variations": [
{
"description": "cbr",
"url": "cbr/index.html",
"icons": [
"cbr/icon.png",
"cbr/icon@2x.png"
],
"isViewer": "false",
"EditorsSupport": [
"word",
"cell",
"slide"
],
"isVisual": "false",
"isModal": "false",
"isInsideMode": "false",
"initDataType": "none",
"initData": "",
"isUpdateOleOnResize": "false",
"buttons": []
}
]
},
{
"name": "ocr(Tesseract.js)",
"guid": "asc.{440EBF13-9B19-4BD8-8621-05200E58140B}",
"baseUrl": "",
"variations": [
{
"description": "ocr",
"url": "ocr/index.html",
"icons": [
"ocr/icon.png",
"ocr/icon@2x.png"
],
"isViewer": "false",
"EditorsSupport": [
"word"
],
"isVisual": "true",
"isModal": "false",
"isInsideMode": "false",
"initDataType": "html",
"initData": "",
"isUpdateOleOnResize": "false",
"buttons": [
{
"text": "Insert In Document",
"primary": "true"
},
{
"text": "Cancel",
"primary": "false"
}
]
}
]
},
{
"name": "yandextranslate",
"guid": "asc.{D3E759F7-3947-4BD6-B066-E184BBEDC675}",
"variations": [
{
"description": "yandextranslate",
"url": "yandextranslate/index.html",
"icons": [
"yandextranslate/icon.png",
"yandextranslate/icon@2x.png"
],
"isViewer": "false",
"EditorsSupport": [
"word",
"cell",
"slide"
],
"isVisual": "false",
"isModal": "false",
"isInsideMode": "false",
"initDataType": "text",
"initData": "",
"isUpdateOleOnResize": "false",
"buttons": []
}
]
},
{
"name": "ClipArt",
"guid": "asc.{F5BACB61-64C5-4711-AC8A-D01EC3B2B6F1}",
"variations": [
{
"description": "ClipArt",
"url": "clipart/index.html",
"icons": [
"clipart/icon.png",
"clipart/icon@2x.png"
],
"isViewer": "true",
"EditorsSupport": [
"word"
],
"isVisual": "true",
"isModal": "false",
"isInsideMode": "true",
"initDataType": "none",
"initData": "",
"isUpdateOleOnResize": "false",
"buttons": [
{
"text": "Ok",
"primary": "true"
}
]
}
]
}*/
]
}
}