summaryrefslogtreecommitdiff
path: root/android/experimental
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2012-06-29 16:04:01 +0100
committerMichael Meeks <michael.meeks@suse.com>2012-06-29 16:04:01 +0100
commit98ec4db47a402a4d4811ecacd910a347c4e1689e (patch)
tree223ba37216b5582460379147c37d58d9ec49c852 /android/experimental
parent5f091e66d74b27430260e743e354b1a843213f11 (diff)
android: add more extensions, fix build issue
Diffstat (limited to 'android/experimental')
-rw-r--r--android/experimental/LibreOffice4Android/src/org/libreoffice/ui/FileUtilities.java5
-rw-r--r--android/experimental/LibreOffice4Android/src/org/libreoffice/ui/GridItemAdapter.java2
2 files changed, 6 insertions, 1 deletions
diff --git a/android/experimental/LibreOffice4Android/src/org/libreoffice/ui/FileUtilities.java b/android/experimental/LibreOffice4Android/src/org/libreoffice/ui/FileUtilities.java
index a76d45bed91e..40975f8fc926 100644
--- a/android/experimental/LibreOffice4Android/src/org/libreoffice/ui/FileUtilities.java
+++ b/android/experimental/LibreOffice4Android/src/org/libreoffice/ui/FileUtilities.java
@@ -47,6 +47,9 @@ public class FileUtilities {
mExtnMap.put(".docx", DOC);
mExtnMap.put(".html", DOC);
mExtnMap.put(".txt", DOC);
+ mExtnMap.put(".wpd", DOC);
+ mExtnMap.put(".wps", DOC);
+ mExtnMap.put(".lwp", DOC);
mExtnMap.put(".ods", CALC);
mExtnMap.put(".sxc", CALC);
@@ -58,7 +61,9 @@ public class FileUtilities {
mExtnMap.put(".ppt", IMPRESS);
mExtnMap.put(".pptx", IMPRESS);
+ mExtnMap.put(".svg", DRAWING);
mExtnMap.put(".vsd", DRAWING);
+ mExtnMap.put(".wpg", DRAWING);
// FIXME: we need to expand this ...
}
diff --git a/android/experimental/LibreOffice4Android/src/org/libreoffice/ui/GridItemAdapter.java b/android/experimental/LibreOffice4Android/src/org/libreoffice/ui/GridItemAdapter.java
index 52ff99e1ccee..1c20249c711e 100644
--- a/android/experimental/LibreOffice4Android/src/org/libreoffice/ui/GridItemAdapter.java
+++ b/android/experimental/LibreOffice4Android/src/org/libreoffice/ui/GridItemAdapter.java
@@ -92,7 +92,7 @@ public class GridItemAdapter extends BaseAdapter{
case FileUtilities.CALC:
imageView.setImageResource(R.drawable.calc);
break;
- case FileUtilities.DRAW: // FIXME: only for now ...
+ case FileUtilities.DRAWING: // FIXME: only for now ...
case FileUtilities.IMPRESS:
imageView.setImageResource(R.drawable.impress);
break;