diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2014-11-28 09:20:58 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2014-11-28 09:28:30 +0100 |
commit | 3ec42ad59887deafd8705a687d3dd0885d4e2bbe (patch) | |
tree | 1ddad1b76892c52e568f689cd3b846c07712ff1f /lib/private/preview/opendocument.php | |
parent | 9cb54e380907f23af4a59e25a7bfdb816844b76c (diff) | |
download | nextcloud-server-3ec42ad59887deafd8705a687d3dd0885d4e2bbe.tar.gz nextcloud-server-3ec42ad59887deafd8705a687d3dd0885d4e2bbe.zip |
Split office providers into one class per file
Diffstat (limited to 'lib/private/preview/opendocument.php')
-rw-r--r-- | lib/private/preview/opendocument.php | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/lib/private/preview/opendocument.php b/lib/private/preview/opendocument.php new file mode 100644 index 00000000000..fe1468ee941 --- /dev/null +++ b/lib/private/preview/opendocument.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; + +//.odt, .ott, .oth, .odm, .odg, .otg, .odp, .otp, .ods, .ots, .odc, .odf, .odb, .odi, .oxt +class OpenDocument extends Office { + /** + * {@inheritDoc} + */ + public function getMimeType() { + return '/application\/vnd.oasis.opendocument.*/'; + } +} |