Miklos Vajna
35831a53d9
desktop: fix Android build
...
Change-Id: I6176a2fa39bfbe21c5851cbcc15ae6dc8322b117
2015-04-22 16:12:59 +02:00
Tor Lillqvist
7edd92c557
Drop paintTile's row stride output parameter that nobody is interested in
...
Change-Id: I166b4b713c2ea52c62c52045bb2073b6d84c1547
2015-03-20 13:14:44 +02:00
Jan Holesovsky
5df6cd16a2
android: Make the Bold button actually work - switches to typing in bold.
...
Change-Id: I48da0f3cc918bda1cdb396b4ea72a82eddafb9a8
2015-03-16 09:38:10 +01:00
Tomaž Vajngerl
bd3771e105
android: add to JNI - setGraphicSelection, resetSelection
...
Change-Id: Ib81763148b077423d3903802b13a11b15ba3b0c1
2015-03-16 09:38:07 +01:00
Miklos Vajna
6650fe947d
LOK: move Office::postKeyEvent to Document
...
The implementation still sends them to the currently active VCL frame,
not to the given document, though.
Change-Id: I6fa2decdea3f949c55287e802cb3373c85664207
2015-03-02 08:51:01 +01:00
Miklos Vajna
77debb673e
Extract LibreOfficeKitEnums.h from LibreOfficeKit.h
...
This massively reduces the rebuild time in case only a new enumeration
value is added to one of the enums.
Change-Id: I4e58adf36fcd29da1672a5e5091bd3f6744f148d
2015-02-23 10:10:30 +01:00
Miklos Vajna
bfe3a47e1e
lok::Office::postKeyEvent: allow different char and key code
...
editeng is not happy with non-zero char code for css::awt::Key::ESCAPE.
Change-Id: If26923df7defb8a47766e9109835a8569067e578
2015-02-23 10:10:22 +01:00
Tomaž Vajngerl
1eb2de90be
android: add support for text selection to JNI
...
Change-Id: Ifa307eb6a8cb031bdd88b9fadae42c8a0811772b
2015-02-16 09:20:50 +01:00
Miklos Vajna
4b70710420
lok::Document::postMouseEvent(): allow double-click
...
Change-Id: Idaddd28d906e7508d4d2c5aab916b06fbe021beb
2015-02-09 08:12:10 +01:00
Tomaž Vajngerl
dbde7f6ab8
android: add postMouseEvent to LOKit JNI interface
...
Change-Id: I652a0c365c4a1413226cdd4dc7910e65ac2a5285
2015-01-26 10:27:44 +01:00
Tomaž Vajngerl
b66690b5fe
android: release local ref to string after callback exec. in JNI
...
Change-Id: I2a92a2beff214894ba63b3881a686337639a0b07
2015-01-26 10:27:38 +01:00
Tomaž Vajngerl
93af5460fe
jni: if documentLoad returns NULL don't call NewDirectByteBuffer
...
Change-Id: I847a7b90c0f85bb59869ecaca037145221e16e7f
2015-01-16 13:18:27 +01:00
Tomaž Vajngerl
723b6a07e4
jni: add postKeyEvent to Office and redirect the call to LOK
...
Change-Id: I922ce1f735df236d2bdad33820ed98f18fc85963
2015-01-12 11:06:46 +01:00
Tomaž Vajngerl
3b77cd3bbd
android: Add support for callbacks from LO to JNI and Java LOK
...
This adds support to retrieve callbacks from LibreOffice (like
for example that a part of document has been invalidated) to
LibreOfficeKit JNI and Java wrappers.
Change-Id: Ib70187194d002c72b64d58032aab216adc591565
2015-01-12 11:06:40 +01:00
Tomaž Vajngerl
6123d6a9fb
android: Add initializeForRendering to LOK
...
Change-Id: Ibf4721bf4358ef215efde09ef688b2551604bfa2
2015-01-07 00:02:47 +09:00
Tomaž Vajngerl
515a8cf400
android: use ByteBuffer to send or store pointers in JNI bindings
...
Using direct ByteBuffer is much nicer option to store or send
pointers between C(++) code and Java via JNI as it handles endiness
and pointer size for us. Using "long" type can have unexpected
results in 32-bit architectures (mostly Android). This was causing
grief especially when Android introduced support for 64-bit
architectures starting with SDK 19.
Change-Id: Ie92d0f913b668e1724e846d70d1820445d9cb086
2014-12-04 23:04:27 +01:00
Tomaž Vajngerl
a703b3651b
android: add destroy and exit as a separate JNI call
...
Change-Id: Ia8516da556b3736f34b366e2eb89ad8bbd7bafc1
2014-12-04 23:04:26 +01:00
Tomaž Vajngerl
46ccb683a3
android: use int type for size in DirectBufferAllocator allocate
...
Change-Id: Ied2687d334f7d1ff9ff2f3cb6664848d50814b7c
2014-12-04 23:04:26 +01:00
Tor Lillqvist
83268481d1
android: Stopgap: _exit() is better than a hang
...
Change-Id: Iaada020e85a8d2557e270f7d1514f2260ffb2af0
2014-12-04 23:04:22 +01:00
Tomaž Vajngerl
b85c779595
android: use JNI direct memory allocator from Fennec
...
Change-Id: I95a9ab54222150a1f9cde30df820f3cd6915f641
2014-09-24 20:43:01 +02:00
Tomaž Vajngerl
18c052d6d6
LOKit: add "destroy" and "saveAs" to android JNI
...
Change-Id: I08542b736e49cb9262323e9fe6188b1976d47935
2014-09-22 22:40:07 +02:00
Tomaž Vajngerl
81f1c25927
LOKit android: add support for setPartMode and getPartName
...
Change-Id: Idd8bd4d4b148e88c7badd06fefb7cfcfc24ec9ea
2014-08-10 23:00:43 +02:00
Tomaž Vajngerl
bb493b75c3
JNI: getErrorNative should be getError now
...
Change-Id: If448e748f40cd8a41977129c576f6c5eac7b5727
2014-08-03 22:42:18 +02:00
Andrzej Hunt
b7742fd8b8
Add getPart(s) to lokandroid too.
...
I.e. make lokandroid match
4d15212ef8
2014-07-13 08:06:58 +02:00
Tomaž Vajngerl
a3ccf3eab5
lok JNI: no "handle" in funcs & don't wrap some native funcs
...
Change-Id: If783fecd80a0de05e94c76e23572b567d151bb06
2014-07-03 10:51:56 +02:00
Michael Meeks
3a25b45122
WaE: couple of android / LibreOfficeKit bits.
...
Change-Id: I2ee864977d8bb266861af95fb64eb5c0852acee8
2014-07-02 12:41:03 +01:00
Tomaž Vajngerl
c5777b4edd
android lok: fix paintTile JNI method
...
Change-Id: Ife12b8bc49d722ae614b7de253bb2061bea5bb7f
2014-07-02 11:14:17 +02:00
Tomaž Vajngerl
ca61fdcac9
libreofficekit JNI for Android
...
Change-Id: Ia905c20fb4ee9b126d65fd3c8e3c1f54649abe1a
2014-07-01 09:12:14 +02:00