https://bugs.documentfoundation.org/show_bug.cgi?id=92346
Bug ID: 92346
Summary: Copy functionality in the viewer
Product: LibreOffice
Version: unspecified
Hardware: Other
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Android Viewer
Assignee: [email protected]
Reporter: [email protected]
It would be nice to be able to copy text from the viewed document, just like on
the desktop. It's not too hard to implement this today, either.
The Android app uses the LibreOfficeKit API to talk to core. gtktiledviewer is
a test program to show all the LOK API features implemented in core, and it
already can do searching.
The gtk app already supports exposting formatted text as HTML, with falling
back to plain text if necessary. If it helps, the API also exposes RTF.
Code pointers:
- desktop/source/lib/lokandroid.cxx,
Java_org_libreoffice_kit_Document_getTextSelection() currently that JNI wrapper
is missing, has to be implemented.
- libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx, doCopy() shows how to
get the selection in HTML or plain text from core
- android/source/ is the source code for the Java part of the Android app
See https://wiki.documentfoundation.org/Development/Android in general on how
to get an Android build.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs