0bb8b7c7a8
Add an entry to discovery.xml with the urlsrc where capabilities end point can be found. Use json format to send back the feature list. Change-Id: I390a53d956d53ca79e5a8090aead7f4131ec4ca0
347 lines
12 KiB
XML
347 lines
12 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<wopi-discovery>
|
|
<net-zone name="external-http">
|
|
<app name="application/vnd.lotus-wordpro">
|
|
<action name="view" ext="lwp"/>
|
|
</app>
|
|
<app name="image/svg+xml">
|
|
<action name="view" ext="svg"/>
|
|
</app>
|
|
<app name="application/vnd.ms-powerpoint">
|
|
<action name="edit" ext="pot"/>
|
|
</app>
|
|
<app name="application/vnd.ms-excel">
|
|
<action name="edit" ext="xla"/>
|
|
</app>
|
|
|
|
<!-- Writer documents -->
|
|
<app name="application/vnd.sun.xml.writer">
|
|
<action name="view" ext="sxw"/>
|
|
</app>
|
|
<app name="application/vnd.oasis.opendocument.text">
|
|
<action name="edit" ext="odt"/>
|
|
</app>
|
|
<app name="application/vnd.oasis.opendocument.text-flat-xml">
|
|
<action name="edit" ext="fodt"/>
|
|
</app>
|
|
|
|
<!-- Calc documents -->
|
|
<app name="application/vnd.sun.xml.calc">
|
|
<action name="view" ext="sxc"/>
|
|
</app>
|
|
<app name="application/vnd.oasis.opendocument.spreadsheet">
|
|
<action name="edit" ext="ods"/>
|
|
</app>
|
|
<app name="application/vnd.oasis.opendocument.spreadsheet-flat-xml">
|
|
<action name="edit" ext="fods"/>
|
|
</app>
|
|
|
|
<!-- Impress documents -->
|
|
<app name="application/vnd.sun.xml.impress">
|
|
<action name="view" ext="sxi"/>
|
|
</app>
|
|
<app name="application/vnd.oasis.opendocument.presentation">
|
|
<action name="edit" ext="odp"/>
|
|
</app>
|
|
<app name="application/vnd.oasis.opendocument.presentation-flat-xml">
|
|
<action name="edit" ext="fodp"/>
|
|
</app>
|
|
|
|
<!-- Draw documents -->
|
|
<app name="application/vnd.sun.xml.draw">
|
|
<action name="view" ext="sxd"/>
|
|
</app>
|
|
<app name="application/vnd.oasis.opendocument.graphics">
|
|
<action name="edit" ext="odg"/>
|
|
</app>
|
|
<app name="application/vnd.oasis.opendocument.graphics-flat-xml">
|
|
<action name="edit" ext="fodg"/>
|
|
</app>
|
|
|
|
<!-- Chart documents -->
|
|
<app name="application/vnd.oasis.opendocument.chart">
|
|
<action name="edit" ext="odc"/>
|
|
</app>
|
|
|
|
<!-- Text master documents -->
|
|
<app name="application/vnd.sun.xml.writer.global">
|
|
<action name="view" ext="sxg"/>
|
|
</app>
|
|
<app name="application/vnd.oasis.opendocument.text-master">
|
|
<action name="edit" ext="odm"/>
|
|
</app>
|
|
|
|
<!-- Math documents -->
|
|
<!-- In fact Math documents are not supported at all.
|
|
See: https://bugs.documentfoundation.org/show_bug.cgi?id=97006
|
|
<app name="application/vnd.sun.xml.math">
|
|
<action name="view" ext="sxm"/>
|
|
</app>
|
|
<app name="application/vnd.oasis.opendocument.formula">
|
|
<action name="edit" ext="odf"/>
|
|
</app>
|
|
-->
|
|
<!-- Text template documents -->
|
|
<app name="application/vnd.sun.xml.writer.template">
|
|
<action name="view" ext="stw"/>
|
|
</app>
|
|
<app name="application/vnd.oasis.opendocument.text-template">
|
|
<action name="edit" ext="ott"/>
|
|
</app>
|
|
|
|
<!-- Writer master document templates -->
|
|
<app name="application/vnd.oasis.opendocument.text-master-template">
|
|
<action name="edit" ext="otm"/>
|
|
</app>
|
|
|
|
<!-- Spreadsheet template documents -->
|
|
<app name="application/vnd.sun.xml.calc.template">
|
|
<action name="view" ext="stc"/>
|
|
</app>
|
|
<app name="application/vnd.oasis.opendocument.spreadsheet-template">
|
|
<action name="edit" ext="ots"/>
|
|
</app>
|
|
|
|
<!-- Presentation template documents -->
|
|
<app name="application/vnd.sun.xml.impress.template">
|
|
<action name="view" ext="sti"/>
|
|
</app>
|
|
<app name="application/vnd.oasis.opendocument.presentation-template">
|
|
<action name="edit" ext="otp"/>
|
|
</app>
|
|
|
|
<!-- Drawing template documents -->
|
|
<app name="application/vnd.sun.xml.draw.template">
|
|
<action name="view" ext="std"/>
|
|
</app>
|
|
<app name="application/vnd.oasis.opendocument.graphics-template">
|
|
<action name="edit" ext="otg"/>
|
|
</app>
|
|
|
|
<!-- Base documents -->
|
|
<app name="application/vnd.oasis.opendocument.database">
|
|
<action name="edit" ext="odb"/>
|
|
</app>
|
|
|
|
<!-- Extensions -->
|
|
<app name="application/vnd.openofficeorg.extension">
|
|
<action name="edit" ext="oxt"/>
|
|
</app>
|
|
|
|
<!-- MS Word -->
|
|
<app name="application/msword">
|
|
<action name="edit" ext="doc"/>
|
|
</app>
|
|
<app name="application/msword">
|
|
<action name="edit" ext="dot"/>
|
|
</app>
|
|
|
|
<!-- MS Excel -->
|
|
<app name="application/vnd.ms-excel">
|
|
<action name="edit" ext="xls"/>
|
|
</app>
|
|
|
|
<!-- MS PowerPoint -->
|
|
<app name="application/vnd.ms-powerpoint">
|
|
<action name="edit" ext="ppt"/>
|
|
</app>
|
|
|
|
<!-- OOXML wordprocessing -->
|
|
<app name="application/vnd.openxmlformats-officedocument.wordprocessingml.document">
|
|
<action name="edit" ext="docx"/>
|
|
</app>
|
|
<app name="application/vnd.ms-word.document.macroEnabled.12">
|
|
<action name="edit" ext="docm"/>
|
|
</app>
|
|
<app name="application/vnd.openxmlformats-officedocument.wordprocessingml.template">
|
|
<action name="view" ext="dotx"/>
|
|
</app>
|
|
<app name="application/vnd.ms-word.template.macroEnabled.12">
|
|
<action name="view" ext="dotm"/>
|
|
</app>
|
|
|
|
<!-- OOXML spreadsheet -->
|
|
<app name="application/vnd.openxmlformats-officedocument.spreadsheetml.template">
|
|
<action name="view" ext="xltx"/>
|
|
</app>
|
|
<app name="application/vnd.ms-excel.template.macroEnabled.12">
|
|
<action name="view" ext="xltm"/>
|
|
</app>
|
|
<app name="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet">
|
|
<action name="edit" ext="xlsx"/>
|
|
</app>
|
|
<app name="application/vnd.ms-excel.sheet.binary.macroEnabled.12">
|
|
<action name="edit" ext="xlsb"/>
|
|
</app>
|
|
<app name="application/vnd.ms-excel.sheet.macroEnabled.12">
|
|
<action name="edit" ext="xlsm"/>
|
|
</app>
|
|
|
|
<!-- OOXML presentation -->
|
|
<app name="application/vnd.openxmlformats-officedocument.presentationml.presentation">
|
|
<action name="edit" ext="pptx"/>
|
|
</app>
|
|
<app name="application/vnd.ms-powerpoint.presentation.macroEnabled.12">
|
|
<action name="edit" ext="pptm"/>
|
|
</app>
|
|
<app name="application/vnd.openxmlformats-officedocument.presentationml.template">
|
|
<action name="edit" ext="potx"/>
|
|
</app>
|
|
<app name="application/vnd.ms-powerpoint.template.macroEnabled.12">
|
|
<action name="edit" ext="potm"/>
|
|
</app>
|
|
|
|
<!-- Others -->
|
|
<app name="application/vnd.wordperfect">
|
|
<action name="view" ext="wpd"/>
|
|
</app>
|
|
<app name="application/x-aportisdoc">
|
|
<action name="view" ext="pdb"/>
|
|
</app>
|
|
<app name="application/x-hwp">
|
|
<action name="view" ext="hwp"/>
|
|
</app>
|
|
<app name="application/vnd.ms-works">
|
|
<action name="view" ext="wps"/>
|
|
</app>
|
|
<app name="application/x-mswrite">
|
|
<action name="view" ext="wri"/>
|
|
</app>
|
|
<app name="application/x-dif-document">
|
|
<action name="edit" ext="dif"/>
|
|
</app>
|
|
<app name="text/spreadsheet">
|
|
<action name="edit" ext="slk"/>
|
|
</app>
|
|
<app name="text/csv">
|
|
<action name="edit" ext="csv"/>
|
|
</app>
|
|
<app name="application/x-dbase">
|
|
<action name="edit" ext="dbf"/>
|
|
</app>
|
|
<app name="application/vnd.lotus-1-2-3">
|
|
<action name="view" ext="wk1"/>
|
|
</app>
|
|
<app name="image/cgm">
|
|
<action name="view" ext="cgm"/>
|
|
</app>
|
|
<app name="image/vnd.dxf">
|
|
<action name="view" ext="dxf"/>
|
|
</app>
|
|
<app name="image/x-emf">
|
|
<action name="view" ext="emf"/>
|
|
</app>
|
|
<app name="image/x-wmf">
|
|
<action name="view" ext="wmf"/>
|
|
</app>
|
|
<app name="application/coreldraw">
|
|
<action name="view" ext="cdr"/>
|
|
</app>
|
|
<app name="application/vnd.visio2013">
|
|
<action name="view" ext="vsd"/>
|
|
</app>
|
|
<app name="application/vnd.visio">
|
|
<action name="view" ext="vss"/>
|
|
</app>
|
|
<app name="application/x-mspublisher">
|
|
<action name="view" ext="pub"/>
|
|
</app>
|
|
<app name="application/x-sony-bbeb">
|
|
<action name="view" ext="lrf"/>
|
|
</app>
|
|
<app name="application/x-gnumeric">
|
|
<action name="view" ext="gnumeric"/>
|
|
</app>
|
|
<app name="application/macwriteii">
|
|
<action name="view" ext="mw"/>
|
|
</app>
|
|
<app name="application/x-iwork-numbers-sffnumbers">
|
|
<action name="view" ext="numbers"/>
|
|
</app>
|
|
<app name="application/vnd.oasis.opendocument.text-web">
|
|
<action name="edit" ext="oth"/>
|
|
</app>
|
|
<app name="application/x-pagemaker">
|
|
<action name="view" ext="p65"/>
|
|
</app>
|
|
<app name="application/rtf">
|
|
<action name="edit" ext="rtf"/>
|
|
</app>
|
|
<app name="text/rtf">
|
|
<action name="edit" ext="rtf"/>
|
|
</app>
|
|
<app name="text/plain">
|
|
<action name="edit" ext="txt"/>
|
|
</app>
|
|
<app name="application/x-fictionbook+xml">
|
|
<action name="view" ext="fb2"/>
|
|
</app>
|
|
<app name="application/clarisworks">
|
|
<action name="view" ext="cwk"/>
|
|
</app>
|
|
<app name="application/vnd.corel-draw">
|
|
<action name="view" ext="cdr"/>
|
|
</app>
|
|
<app name="image/x-wpg">
|
|
<action name="view" ext="wpg"/>
|
|
</app>
|
|
<app name="application/prs.plucker">
|
|
<action name="view" ext="pdb"/>
|
|
</app>
|
|
<app name="application/x-iwork-pages-sffpages">
|
|
<action name="view" ext="pages"/>
|
|
</app>
|
|
<app name="application/vnd.openxmlformats-officedocument.presentationml.slideshow">
|
|
<action name="edit" ext="ppsx"/>
|
|
</app>
|
|
<app name="application/x-iwork-keynote-sffkey">
|
|
<action name="view" ext="key"/>
|
|
</app>
|
|
<app name="application/x-abiword">
|
|
<action name="view" ext="abw"/>
|
|
</app>
|
|
<app name="image/x-freehand">
|
|
<action name="view" ext="fh"/>
|
|
</app>
|
|
<app name="application/vnd.palm">
|
|
<action name="view" ext="pdb"/>
|
|
</app>
|
|
<app name="application/vnd.sun.xml.chart">
|
|
<action name="view" ext="sxs"/>
|
|
</app>
|
|
<app name="application/vnd.sun.xml.writer.web">
|
|
<action name="view" ext="stw"/>
|
|
</app>
|
|
<app name="application/x-t602">
|
|
<action name="view" ext="602"/>
|
|
</app>
|
|
<app name="application/vnd.sun.xml.report.chart">
|
|
<action name="edit" ext="odc"/>
|
|
</app>
|
|
<app name="image/bmp">
|
|
<action name="view" ext="bmp"/>
|
|
</app>
|
|
<app name="image/png">
|
|
<action name="view" ext="png"/>
|
|
</app>
|
|
<app name="image/gif">
|
|
<action name="view" ext="gif"/>
|
|
</app>
|
|
<app name="image/tiff">
|
|
<action name="view" ext="tiff"/>
|
|
</app>
|
|
<app name="image/jpg">
|
|
<action name="view" ext="jpg"/>
|
|
</app>
|
|
<app name="image/jpeg">
|
|
<action name="view" ext="jpeg"/>
|
|
</app>
|
|
<app name="application/pdf">
|
|
<action name="view" ext="pdf"/>
|
|
</app>
|
|
|
|
<app name="Capabilities">
|
|
<action name="getinfo" ext=""/>
|
|
</app>
|
|
</net-zone>
|
|
</wopi-discovery>
|