diff options
author | Mert Tümer <merttumer7@gmail.com> | 2018-03-05 02:39:36 +0300 |
---|---|---|
committer | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2018-03-14 00:35:21 +0100 |
commit | 31e939c9f4b29fb2b2e63eb096450cf3da35d67f (patch) | |
tree | 0519dd1c33a1aba3fa027221868011ece9b34648 /android/Bootstrap/src | |
parent | 6d2f6f2f01a4fbf244ba16c355d2f43a2ddf671e (diff) |
tdf#96796 - Added clipboard actions for the Android Viewer
Change-Id: I2779ef9a9f68dcf08c3072ffe83b9f2450b7257e
Signed-off-by: Mert Tümer <merttumer7@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/50757
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Diffstat (limited to 'android/Bootstrap/src')
-rw-r--r-- | android/Bootstrap/src/org/libreoffice/kit/Document.java | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/android/Bootstrap/src/org/libreoffice/kit/Document.java b/android/Bootstrap/src/org/libreoffice/kit/Document.java index 6a1f402970ea..f0c5e7a6f99a 100644 --- a/android/Bootstrap/src/org/libreoffice/kit/Document.java +++ b/android/Bootstrap/src/org/libreoffice/kit/Document.java @@ -232,6 +232,21 @@ public class Document { public native void setGraphicSelection(int type, int x, int y); /** + * Get selected text + * @param mimeType + * @return + */ + public native String getTextSelection(String mimeType); + + /** + * paste + * @param mimeType + * @param data + * @return + */ + public native boolean paste(String mimeType, String data); + + /** * Reset current (any kind of) selection. */ public native void resetSelection(); |