Skip to content

Commit

Permalink
Add application/vnd.oasis.opendocument.spreadsheet mimetype to suppor…
Browse files Browse the repository at this point in the history
…t odt extension.
  • Loading branch information
hamidghorashi committed Aug 7, 2020
1 parent 24289a3 commit 4ba1a38
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
### Overview

PreviewMaker is a standalone application written in pure PHP to create image preview from different file formats ranging from Microsoft documents to video formats.
PreviewMaker is a standalone application written in pure PHP to create preview (PDF and image) from different file formats ranging from Microsoft documents to video formats.

### Requirements

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hamidgh83/preview-maker",
"description": "PreviewMaker is a standalone application written in pure PHP to create image preview from different file formats ranging from Microsoft documents to video formats.",
"description": "PreviewMaker is a standalone application written in pure PHP to create preview (PDF and image) from different file formats ranging from Microsoft documents to video formats.",
"type": "project",
"license": "MIT",
"authors": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,11 @@ class DocumentStrategy extends AbsractConvertor implements StrategyInterface
"application/msword",
"application/vnd.openxmlformats-officedocument.wordprocessingml.document",
"application/vnd.ms-excel",
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
"application/vnd.ms-powerpoint",
"application/vnd.openxmlformats-officedocument.presentationml.presentation",
"application/vnd.oasis.opendocument.spreadsheet",
"application/vnd.oasis.opendocument.text",
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
"application/vnd.openxmlformats-officedocument.presentationml.presentation",
];

public function getType()
Expand Down

0 comments on commit 4ba1a38

Please sign in to comment.