MSOffice2003.php 431 B

123456789101112131415161718
  1. <?php
  2. /**
  3. * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
  4. * SPDX-FileCopyrightText: 2016 ownCloud, Inc.
  5. * SPDX-License-Identifier: AGPL-3.0-only
  6. */
  7. namespace OC\Preview;
  8. //.docm, .dotm, .xls(m), .xlt(m), .xla(m), .ppt(m), .pot(m), .pps(m), .ppa(m)
  9. class MSOffice2003 extends Office {
  10. /**
  11. * {@inheritDoc}
  12. */
  13. public function getMimeType(): string {
  14. return '/application\/vnd.ms-.*/';
  15. }
  16. }