summaryrefslogtreecommitdiff
path: root/android/Bootstrap/src
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.com>2014-09-30 17:09:25 +0200
committerTomaž Vajngerl <tomaz.vajngerl@collabora.com>2014-10-04 17:42:10 +0200
commit520a4fdfe4b8f631c8c66eb6d65c5ac332503355 (patch)
treef718b3fb7d99dd2dc81dd0ea31fdcb8e0b86a8cb /android/Bootstrap/src
parent005b8d429c3eac0294d49c5757714575357faae7 (diff)
android: better default part name (document type dependent)
Change-Id: I7ea1f1f5c249a4df250bde049cc52b4f392e4d38
Diffstat (limited to 'android/Bootstrap/src')
-rw-r--r--android/Bootstrap/src/org/libreoffice/kit/Document.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/android/Bootstrap/src/org/libreoffice/kit/Document.java b/android/Bootstrap/src/org/libreoffice/kit/Document.java
index d8d5286d02a6..52b9bfdc2674 100644
--- a/android/Bootstrap/src/org/libreoffice/kit/Document.java
+++ b/android/Bootstrap/src/org/libreoffice/kit/Document.java
@@ -18,6 +18,12 @@ public class Document {
public static final int PART_MODE_SLIDENOTES = 3;
public static final int PART_MODE_EMBEDDEDOBJ = 4;
+ public static final int DOCTYPE_TEXT = 0;
+ public static final int DOCTYPE_SPREADSHEET = 1;
+ public static final int DOCTYPE_PRESENTATION = 2;
+ public static final int DOCTYPE_DRAWING = 3;
+ public static final int DOCTYPE_OTHER = 4;
+
private final long handle;
public Document(long handle) {