init.agi 608 B

123456789101112131415161718192021222324
  1. /*
  2. Office Viewer - Basic office file renderer
  3. */
  4. //Setup the module information
  5. var moduleLaunchInfo = {
  6. Name: "OfficeViewer",
  7. Desc: "Basic office file viewer for docx, pptx and xlsx",
  8. Group: "Office",
  9. IconPath: "OfficeViewer/img/module_icon.png",
  10. Version: "1.0",
  11. StartDir: "OfficeViewer/index.html",
  12. SupportFW: true,
  13. InitFWSize: [350, 170],
  14. LaunchFWDir: "OfficeViewer/index.html",
  15. SupportEmb: true,
  16. LaunchEmb: "OfficeViewer/embedded.html",
  17. InitEmbSize: [1060, 680],
  18. SupportedExt: [".docx",".pptx",".xlsx", ".csv"]
  19. }
  20. //Register the module
  21. registerModule(JSON.stringify(moduleLaunchInfo));