init.agi 676 B

123456789101112131415161718192021222324252627
  1. /*
  2. MS Office Viewer
  3. Copyright 2021 ArozOS Project
  4. Simple adapter for adapting the Office 365 online viewer API to ArozOS
  5. */
  6. //Define the launchInfo for the module
  7. var moduleLaunchInfo = {
  8. Name: "MS Office Viewer",
  9. Desc: "MS Office 365 Adapter",
  10. Group: "office",
  11. IconPath: "MS Office Viewer/img/icon.png",
  12. Version: "3.0",
  13. StartDir: "MS Office Viewer/index.html",
  14. SupportFW: true,
  15. LaunchFWDir: "MS Office Viewer/index.html",
  16. SupportEmb: true,
  17. LaunchEmb: "MS Office Viewer/viewer.html",
  18. InitFWSize: [1080, 580],
  19. SupportedExt: [".doc", ".docx", ".xlsx",".xls",".pptx", ".ppt"]
  20. }
  21. //Register the module
  22. registerModule(JSON.stringify(moduleLaunchInfo));