summaryrefslogtreecommitdiffstats
path: root/lib/private/preview/msofficedoc.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/preview/msofficedoc.php')
-rw-r--r--lib/private/preview/msofficedoc.php18
1 files changed, 18 insertions, 0 deletions
diff --git a/lib/private/preview/msofficedoc.php b/lib/private/preview/msofficedoc.php
new file mode 100644
index 00000000000..42507af2233
--- /dev/null
+++ b/lib/private/preview/msofficedoc.php
@@ -0,0 +1,18 @@
+<?php
+/**
+ * Copyright (c) 2013 Georg Ehrke georg@ownCloud.com
+ * This file is licensed under the Affero General Public License version 3 or
+ * later.
+ * See the COPYING-README file.
+ */
+namespace OC\Preview;
+
+//.doc, .dot
+class MSOfficeDoc extends Office {
+ /**
+ * {@inheritDoc}
+ */
+ public function getMimeType() {
+ return '/application\/msword/';
+ }
+}