summaryrefslogtreecommitdiffstats
path: root/debian/libreoffice-math.mime
diff options
context:
space:
mode:
Diffstat (limited to 'debian/libreoffice-math.mime')
-rw-r--r--debian/libreoffice-math.mime14
1 files changed, 14 insertions, 0 deletions
diff --git a/debian/libreoffice-math.mime b/debian/libreoffice-math.mime
new file mode 100644
index 000000000..ea6482877
--- /dev/null
+++ b/debian/libreoffice-math.mime
@@ -0,0 +1,14 @@
+###
+# shared-mime-info
+
+# Generic
+text/mathml; soffice --nologo --math %s; edit=soffice --nologo --math %s; test=test -n "$DISPLAY"; description="MathML Formula"; nametemplate=%s.mml; priority=3
+
+# OASIS OpenDocument Format
+application/vnd.oasis.opendocument.formula; soffice --nologo --math %s; edit=soffice --nologo --math %s; print=soffice --nologo --math -p %s; test=test -n "$DISPLAY"; description="OpenDocument Formula"; nametemplate=%s.odf; priority=9
+
+# OpenOffice.org 1.0
+application/vnd.sun.xml.math; soffice --nologo --math %s; edit=soffice --nologo --math %s; test=test -n "$DISPLAY"; description="OpenOffice.org Formula"; nametemplate=%s.sxm; priority=8
+
+#
+###