diff options
Diffstat (limited to 'lib/private/Preview/MSOffice2007.php')
-rw-r--r-- | lib/private/Preview/MSOffice2007.php | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/lib/private/Preview/MSOffice2007.php b/lib/private/Preview/MSOffice2007.php new file mode 100644 index 00000000000..317f2dcc7f1 --- /dev/null +++ b/lib/private/Preview/MSOffice2007.php @@ -0,0 +1,18 @@ +<?php + +/** + * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors + * SPDX-FileCopyrightText: 2016 ownCloud, Inc. + * SPDX-License-Identifier: AGPL-3.0-only + */ +namespace OC\Preview; + +//.docx, .dotx, .xlsx, .xltx, .pptx, .potx, .ppsx +class MSOffice2007 extends Office { + /** + * {@inheritDoc} + */ + public function getMimeType(): string { + return '/application\/vnd.openxmlformats-officedocument.*/'; + } +} |