From 7c8c3818bb82ab2b95b178d9bb0ca7f8fc4f2f7f Mon Sep 17 00:00:00 2001 From: Thomas Taschauer <128734+TomTasche@users.noreply.github.com> Date: Sun, 21 Dec 2025 09:47:51 +0100 Subject: [PATCH] have CoreLoader support XLSX --- .../java/at/tomtasche/reader/background/CoreLoader.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/src/main/java/at/tomtasche/reader/background/CoreLoader.java b/app/src/main/java/at/tomtasche/reader/background/CoreLoader.java index f038515ed8c9..93701f9f124b 100644 --- a/app/src/main/java/at/tomtasche/reader/background/CoreLoader.java +++ b/app/src/main/java/at/tomtasche/reader/background/CoreLoader.java @@ -62,10 +62,10 @@ public boolean isSupported(Options options) { options.fileType.startsWith("application/vnd.oasis.opendocument.text-master") || options.fileType.startsWith("application/msword") || (this.doOoxml && ( - options.fileType.startsWith("application/vnd.openxmlformats-officedocument.wordprocessingml.document") - // TODO: enable xlsx and pptx too - //options.fileType.startsWith("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet") || - //options.fileType.startsWith("application/vnd.openxmlformats-officedocument.spreadsheetml.presentation"); + options.fileType.startsWith("application/vnd.openxmlformats-officedocument.wordprocessingml.document") || + options.fileType.startsWith("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet") + // TODO: enable pptx too + //options.fileType.startsWith("application/vnd.openxmlformats-officedocument.presentationml.presentation"); )); }