discovery.xml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <wopi-discovery>
  3. <net-zone name="external-http">
  4. <app name="image/svg+xml">
  5. <action name="view" ext="svg"/>
  6. </app>
  7. <app name="application/vnd.ms-powerpoint">
  8. <action name="edit" ext="pot"/>
  9. </app>
  10. <app name="application/vnd.ms-excel">
  11. <action name="edit" ext="xla"/>
  12. </app>
  13. <!-- Writer documents -->
  14. <app name="application/vnd.sun.xml.writer">
  15. <action name="view" ext="sxw"/>
  16. </app>
  17. <app name="application/vnd.oasis.opendocument.text">
  18. <action name="edit" ext="odt"/>
  19. </app>
  20. <app name="application/vnd.oasis.opendocument.text-flat-xml">
  21. <action name="edit" ext="fodt"/>
  22. </app>
  23. <!-- Calc documents -->
  24. <app name="application/vnd.sun.xml.calc">
  25. <action name="view" ext="sxc"/>
  26. </app>
  27. <app name="application/vnd.oasis.opendocument.spreadsheet">
  28. <action name="edit" ext="ods"/>
  29. </app>
  30. <app name="application/vnd.oasis.opendocument.spreadsheet-flat-xml">
  31. <action name="edit" ext="fods"/>
  32. </app>
  33. <!-- Impress documents -->
  34. <app name="application/vnd.sun.xml.impress">
  35. <action name="view" ext="sxi"/>
  36. </app>
  37. <app name="application/vnd.oasis.opendocument.presentation">
  38. <action name="edit" ext="odp"/>
  39. </app>
  40. <app name="application/vnd.oasis.opendocument.presentation-flat-xml">
  41. <action name="edit" ext="fodp"/>
  42. </app>
  43. <!-- Draw documents -->
  44. <app name="application/vnd.sun.xml.draw">
  45. <action name="view" ext="sxd"/>
  46. </app>
  47. <app name="application/vnd.oasis.opendocument.graphics">
  48. <action name="view" ext="odg"/>
  49. </app>
  50. <app name="application/vnd.oasis.opendocument.graphics-flat-xml">
  51. <action name="view" ext="fodg"/>
  52. </app>
  53. <!-- Chart documents -->
  54. <app name="application/vnd.oasis.opendocument.chart">
  55. <action name="edit" ext="odc"/>
  56. </app>
  57. <!-- Text master documents -->
  58. <app name="application/vnd.sun.xml.writer.global">
  59. <action name="view" ext="sxg"/>
  60. </app>
  61. <app name="application/vnd.oasis.opendocument.text-master">
  62. <action name="edit" ext="odm"/>
  63. </app>
  64. <!-- Math documents -->
  65. <!-- In fact Math documents are not supported at all.
  66. See: https://bugs.documentfoundation.org/show_bug.cgi?id=97006
  67. <app name="application/vnd.sun.xml.math">
  68. <action name="view" ext="sxm"/>
  69. </app>
  70. <app name="application/vnd.oasis.opendocument.formula">
  71. <action name="edit" ext="odf"/>
  72. </app>
  73. -->
  74. <!-- Text template documents -->
  75. <app name="application/vnd.sun.xml.writer.template">
  76. <action name="view" ext="stw"/>
  77. </app>
  78. <app name="application/vnd.oasis.opendocument.text-template">
  79. <action name="edit" ext="ott"/>
  80. </app>
  81. <!-- Writer master document templates -->
  82. <app name="application/vnd.oasis.opendocument.text-master-template">
  83. <action name="edit" ext="otm"/>
  84. </app>
  85. <!-- Spreadsheet template documents -->
  86. <app name="application/vnd.sun.xml.calc.template">
  87. <action name="view" ext="stc"/>
  88. </app>
  89. <app name="application/vnd.oasis.opendocument.spreadsheet-template">
  90. <action name="edit" ext="ots"/>
  91. </app>
  92. <!-- Presentation template documents -->
  93. <app name="application/vnd.sun.xml.impress.template">
  94. <action name="view" ext="sti"/>
  95. </app>
  96. <app name="application/vnd.oasis.opendocument.presentation-template">
  97. <action name="edit" ext="otp"/>
  98. </app>
  99. <!-- Drawing template documents -->
  100. <app name="application/vnd.sun.xml.draw.template">
  101. <action name="view" ext="std"/>
  102. </app>
  103. <app name="application/vnd.oasis.opendocument.graphics-template">
  104. <action name="edit" ext="otg"/>
  105. </app>
  106. <!-- Base documents -->
  107. <app name="application/vnd.oasis.opendocument.database">
  108. <action name="edit" ext="odb"/>
  109. </app>
  110. <!-- Extensions -->
  111. <app name="application/vnd.openofficeorg.extension">
  112. <action name="edit" ext="oxt"/>
  113. </app>
  114. <!-- MS Word -->
  115. <app name="application/msword">
  116. <action name="edit" ext="doc"/>
  117. </app>
  118. <app name="application/msword">
  119. <action name="edit" ext="dot"/>
  120. </app>
  121. <!-- MS Excel -->
  122. <app name="application/vnd.ms-excel">
  123. <action name="edit" ext="xls"/>
  124. </app>
  125. <!-- MS PowerPoint -->
  126. <app name="application/vnd.ms-powerpoint">
  127. <action name="edit" ext="ppt"/>
  128. </app>
  129. <!-- OOXML wordprocessing -->
  130. <app name="application/vnd.openxmlformats-officedocument.wordprocessingml.document">
  131. <action name="edit" ext="docx"/>
  132. </app>
  133. <app name="application/vnd.ms-word.document.macroEnabled.12">
  134. <action name="edit" ext="docm"/>
  135. </app>
  136. <app name="application/vnd.openxmlformats-officedocument.wordprocessingml.template">
  137. <action name="view" ext="dotx"/>
  138. </app>
  139. <app name="application/vnd.ms-word.template.macroEnabled.12">
  140. <action name="view" ext="dotm"/>
  141. </app>
  142. <!-- OOXML spreadsheet -->
  143. <app name="application/vnd.openxmlformats-officedocument.spreadsheetml.template">
  144. <action name="view" ext="xltx"/>
  145. </app>
  146. <app name="application/vnd.ms-excel.template.macroEnabled.12">
  147. <action name="view" ext="xltm"/>
  148. </app>
  149. <app name="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet">
  150. <action name="edit" ext="xlsx"/>
  151. </app>
  152. <app name="application/vnd.ms-excel.sheet.binary.macroEnabled.12">
  153. <action name="edit" ext="xlsb"/>
  154. </app>
  155. <app name="application/vnd.ms-excel.sheet.macroEnabled.12">
  156. <action name="edit" ext="xlsm"/>
  157. </app>
  158. <!-- OOXML presentation -->
  159. <app name="application/vnd.openxmlformats-officedocument.presentationml.presentation">
  160. <action name="edit" ext="pptx"/>
  161. </app>
  162. <app name="application/vnd.ms-powerpoint.presentation.macroEnabled.12">
  163. <action name="edit" ext="pptm"/>
  164. </app>
  165. <app name="application/vnd.openxmlformats-officedocument.presentationml.template">
  166. <action name="edit" ext="potx"/>
  167. </app>
  168. <app name="application/vnd.ms-powerpoint.template.macroEnabled.12">
  169. <action name="edit" ext="potm"/>
  170. </app>
  171. <!-- Others -->
  172. <app name="application/vnd.wordperfect">
  173. <action name="view" ext="wpd"/>
  174. </app>
  175. <app name="application/x-aportisdoc">
  176. <action name="view" ext="pdb"/>
  177. </app>
  178. <app name="application/x-hwp">
  179. <action name="view" ext="hwp"/>
  180. </app>
  181. <app name="application/vnd.ms-works">
  182. <action name="view" ext="wps"/>
  183. </app>
  184. <app name="application/x-mswrite">
  185. <action name="view" ext="wri"/>
  186. </app>
  187. <app name="application/x-dif-document">
  188. <action name="edit" ext="dif"/>
  189. </app>
  190. <app name="text/spreadsheet">
  191. <action name="edit" ext="slk"/>
  192. </app>
  193. <app name="text/csv">
  194. <action name="edit" ext="csv"/>
  195. </app>
  196. <app name="application/x-dbase">
  197. <action name="edit" ext="dbf"/>
  198. </app>
  199. <app name="application/vnd.lotus-1-2-3">
  200. <action name="view" ext="wk1"/>
  201. </app>
  202. <app name="image/cgm">
  203. <action name="view" ext="cgm"/>
  204. </app>
  205. <app name="image/vnd.dxf">
  206. <action name="view" ext="dxf"/>
  207. </app>
  208. <app name="image/x-emf">
  209. <action name="view" ext="emf"/>
  210. </app>
  211. <app name="image/x-wmf">
  212. <action name="view" ext="wmf"/>
  213. </app>
  214. <app name="application/coreldraw">
  215. <action name="view" ext="cdr"/>
  216. </app>
  217. <app name="application/vnd.visio2013">
  218. <action name="view" ext="vsd"/>
  219. </app>
  220. <app name="application/vnd.visio">
  221. <action name="view" ext="vss"/>
  222. </app>
  223. <app name="application/x-mspublisher">
  224. <action name="view" ext="pub"/>
  225. </app>
  226. <app name="application/x-sony-bbeb">
  227. <action name="view" ext="lrf"/>
  228. </app>
  229. <app name="application/x-gnumeric">
  230. <action name="view" ext="gnumeric"/>
  231. </app>
  232. <app name="application/macwriteii">
  233. <action name="view" ext="mw"/>
  234. </app>
  235. <app name="application/x-iwork-numbers-sffnumbers">
  236. <action name="view" ext="numbers"/>
  237. </app>
  238. <app name="application/vnd.oasis.opendocument.text-web">
  239. <action name="edit" ext="oth"/>
  240. </app>
  241. <app name="application/x-pagemaker">
  242. <action name="view" ext="p65"/>
  243. </app>
  244. <app name="application/rtf">
  245. <action name="edit" ext="rtf"/>
  246. </app>
  247. <app name="text/rtf">
  248. <action name="edit" ext="rtf"/>
  249. </app>
  250. <app name="text/plain">
  251. <action name="edit" ext="txt"/>
  252. </app>
  253. <app name="application/x-fictionbook+xml">
  254. <action name="view" ext="fb2"/>
  255. </app>
  256. <app name="application/clarisworks">
  257. <action name="view" ext="cwk"/>
  258. </app>
  259. <app name="application/vnd.corel-draw">
  260. <action name="view" ext="cdr"/>
  261. </app>
  262. <app name="image/x-wpg">
  263. <action name="view" ext="wpg"/>
  264. </app>
  265. <app name="application/prs.plucker">
  266. <action name="view" ext="pdb"/>
  267. </app>
  268. <app name="application/x-iwork-pages-sffpages">
  269. <action name="view" ext="pages"/>
  270. </app>
  271. <app name="application/vnd.openxmlformats-officedocument.presentationml.slideshow">
  272. <action name="edit" ext="ppsx"/>
  273. </app>
  274. <app name="application/x-iwork-keynote-sffkey">
  275. <action name="view" ext="key"/>
  276. </app>
  277. <app name="application/x-abiword">
  278. <action name="view" ext="abw"/>
  279. </app>
  280. <app name="image/x-freehand">
  281. <action name="view" ext="fh"/>
  282. </app>
  283. <app name="application/vnd.palm">
  284. <action name="view" ext="pdb"/>
  285. </app>
  286. <app name="application/vnd.sun.xml.chart">
  287. <action name="view" ext="sxs"/>
  288. </app>
  289. <app name="application/vnd.sun.xml.writer.web">
  290. <action name="view" ext="stw"/>
  291. </app>
  292. <app name="application/x-t602">
  293. <action name="view" ext="602"/>
  294. </app>
  295. <app name="application/vnd.sun.xml.report.chart">
  296. <action name="edit" ext="odc"/>
  297. </app>
  298. <app name="image/bmp">
  299. <action name="view" ext="bmp"/>
  300. </app>
  301. <app name="image/png">
  302. <action name="view" ext="png"/>
  303. </app>
  304. <app name="image/gif">
  305. <action name="view" ext="gif"/>
  306. </app>
  307. <app name="image/tiff">
  308. <action name="view" ext="tiff"/>
  309. </app>
  310. <app name="image/jpg">
  311. <action name="view" ext="jpg"/>
  312. </app>
  313. <app name="image/jpeg">
  314. <action name="view" ext="jpeg"/>
  315. </app>
  316. <app name="application/pdf">
  317. <action name="view" ext="pdf"/>
  318. </app>
  319. <app name="Capabilities">
  320. <action name="getinfo" ext=""/>
  321. </app>
  322. </net-zone>
  323. </wopi-discovery>