<?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>

	<!-- Microsoft Word Template -->
	<app name="application/msword">
            <action name="edit" ext="dot"/>
        </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>
    </net-zone>
</wopi-discovery>
