Skip to content

Commit 7c8c381

Browse files
committed
have CoreLoader support XLSX
1 parent 297a3ff commit 7c8c381

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)