Skip to content

Commit cbc773a

Browse files
authored
Merge pull request #455 from opendocument-app/issue/351
have CoreLoader support XLSX
2 parents b55e602 + 7c8c381 commit cbc773a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

app/src/main/java/at/tomtasche/reader/background/CoreLoader.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,10 @@ public boolean isSupported(Options options) {
6262
options.fileType.startsWith("application/vnd.oasis.opendocument.text-master") ||
6363
options.fileType.startsWith("application/msword") ||
6464
(this.doOoxml && (
65-
options.fileType.startsWith("application/vnd.openxmlformats-officedocument.wordprocessingml.document")
66-
// TODO: enable xlsx and pptx too
67-
//options.fileType.startsWith("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet") ||
68-
//options.fileType.startsWith("application/vnd.openxmlformats-officedocument.spreadsheetml.presentation");
65+
options.fileType.startsWith("application/vnd.openxmlformats-officedocument.wordprocessingml.document") ||
66+
options.fileType.startsWith("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet")
67+
// TODO: enable pptx too
68+
//options.fileType.startsWith("application/vnd.openxmlformats-officedocument.presentationml.presentation");
6969
));
7070
}
7171

0 commit comments

Comments
 (0)