summaryrefslogtreecommitdiff
path: root/libreofficekit
AgeCommit message (Collapse)Author
2015-09-19WaE: this method can be declared static [loplugin:staticmethods]Tor Lillqvist
Change-Id: I39d63811d154b849708f1254642fd0eb04a9848b
2015-07-28tiledrendering: added getPartName method for calcMihai Varga
This method is used to get the sheet's name and to display it in the tabs (sheet selector) I've also added an unit test for it and uncommented a similar one Change-Id: Ia866815c594a873812c71a6c86e303c869e1f093 Reviewed-on: https://gerrit.libreoffice.org/17294 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jan Holesovsky <kendy@collabora.com> (cherry picked from commit 50fe21c7807afb9650c048e1a82bd97a7fc1d226) Reviewed-on: https://gerrit.libreoffice.org/17368
2015-05-29gtktiledviewer: use SearchItem.SearchStartPoint*Miklos Vajna
Change-Id: If0219eda3a2ca3b97c37bea70e35d47e49d38e02 (cherry picked from commit 3c9fb5898159fbda9d5b23f3f518044a5df03f72)
2015-05-28lokdocview: handle LOK_CALLBACK_DOCUMENT_SIZE_CHANGEDMiklos Vajna
Change-Id: Ib1b99221afbf9810bad5fd49fbf62c7a20fd28e4 (cherry picked from commit 8cbb94a2b79dcaf9675125da800b64a85bae52dc)
2015-05-28lokdocview: fix not updated part selector when search changes partMiklos Vajna
Change-Id: I337eed47c56dbbbebda4d7fe716eab6177936dc0 (cherry picked from commit c7ecbbbb6acf92af4ded4119da6abdddace39fe0)
2015-05-28gtktiledviewer: handle LOK_CALLBACK_SEARCH_NOT_FOUNDMiklos Vajna
Change-Id: Ic545bbd14d11a3b310f4d72ee02e51a7cb6f4f22 (cherry picked from commit cb0b7ff34dc193c37e89f4a968e1cb7502338230)
2015-05-28libreofficekit: fix Linux baseline buildMiklos Vajna
Change-Id: Ib0a076d78aacfec5e0625d7592ae24815e600ad6 (cherry picked from commit 5d9c2f2115dd8d3741501cbbc0313e4609bee896)
2015-05-28gtktiledviewer: avoid a number of pointless re-rendering on startupMiklos Vajna
Change-Id: Ia7f63a6fa7505da50e6580ea009975e06a0cb65c (cherry picked from commit 2807bcc186c976e55b6844d3459e2b0fbb92cdb8)
2015-05-27lokdocview: it's enough to query the document size onceMiklos Vajna
Change-Id: Id99c9f1a814bc5f935eeb4e301ef3014ccb0bd07 (cherry picked from commit 124c937f3bd6a7538dc6664ab9556fcfb3f27088)
2015-05-27lokdocview: handle LOK_CALLBACK_SET_PARTMiklos Vajna
Change-Id: I47fc389590d581155074fec63cca79bea3596860 (cherry picked from commit 96041179d4aa5e0eb543c3c5da8e493beb0ed133)
2015-05-27lokdocview: update doc size on LOK_CALLBACK_PAGE_COUNT_CHANGEDMiklos Vajna
No need to do any actual rendering, the invalidation callback takes care of that. Change-Id: I9a3e45cab5250fc45eccb4577fe76377f76354eb (cherry picked from commit 490365b2452cb6fa96749475d996c6033b0d6407)
2015-05-20lokdocview: use postMouseEvent(LOK_MOUSEEVENT_MOUSEMOVE)Miklos Vajna
This is much better than using setTextSelection() directly, as that was introduced only to adjust an existing selection. Change-Id: I881c3e4e5b0c97891f29dac0da42c1d3a51361e8
2015-05-19LOKit callback for search not foundMihai Varga
Needed for signaling the user when no match was found for the searched input Change-Id: I171ee956d94d6fd83036ae34102c2f1bdd5661de Reviewed-on: https://gerrit.libreoffice.org/15798 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2015-05-18loplugin:staticmethodsStephan Bergmann
Change-Id: I660d68b9b596be531d595c35666a33fb02d6fd6a
2015-05-18lokdocview: use lok::Office::registerCallback()Miklos Vajna
This way we get some feedback on the state of the loading at least on the console. Change-Id: I95bf6cebcdd8b879c817b4e027d4f5b4acb9cd4c
2015-05-15lokdocview: implement desktop style click+move selection creationMiklos Vajna
Change-Id: I69663c0801bc95b8876c8dcbdf68d7a99fec4fb3
2015-05-11CppunitTest_libreofficekit_tiledrendering: add postUnoCommand() testcaseMiklos Vajna
This fails without commit d4a12421f2b0aafe97f8ab78017261969c36ae0e (desktop: pJSON may be 0 in jsonToPropertyValues(), 2015-04-29). Change-Id: I08fffe65eb6cdc94fcfc57c2b8f1ec9fa546f70d
2015-05-08gtktiledviewer: Make all functions staticPranav Kant
These functions are only being used inside this file. Change-Id: I473b33f794cfbaff590d00f22d2832456482d15a Reviewed-on: https://gerrit.libreoffice.org/15680 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2015-05-08gtktiledviewer: Stop event propagation to GtkToolbar when in edit modePranav Kant
If not stopped, key-press events are interpreted by both LOKDocView and GtkToolbar leading to poor editing experience. Change-Id: Ie878d168e202a0f3e1d52191aa3fd7cc00a7cbfd Reviewed-on: https://gerrit.libreoffice.org/15677 Tested-by: Miklos Vajna <vmiklos@collabora.co.uk> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2015-05-08Clarify the usage message a bitTor Lillqvist
Change-Id: I6ae2f5c12ae5c20fd2f33bff639129dd303c3c20
2015-05-08gtktiledviewer: unused pFileNameMiklos Vajna
Change-Id: I30cd9d8adffbdf9d7451bca0c09aa56639379486
2015-04-23libreofficekit: error: 'gtk_widget_get_visible' was not declared in this scopeMiklos Vajna
Change-Id: I31b65f405a9252fcc8323ac4e528b38e05a32625
2015-04-23gtktiledviewer: let findbar have the focus when it's visibleMiklos Vajna
1) Give its GtkEntry focus after pressing the button to show the findbar, so one can immediately can begin typing. 2) Only forward keypresses to LOK if the findbar is not visible, so it's not necessary to stop editing to be able to search. Change-Id: I5c9487739a550e34c66f39b12469392028bb7e3d
2015-04-22Blind fix for Executable_gtktiledviewerStephan Bergmann
Change-Id: Ib252b4fb98663a8a6aa76dddedc80596230097e8
2015-04-22gtktiledviewer: implement search using .uno:ExecuteSearchMiklos Vajna
And using boost::property_tree::write_json() to marshal the parameters. Change-Id: I0027b6e1ce6c8d3b0b3a84642c76595eadc3db5f
2015-04-22lok::Document::postUnoCommand: allow passing argumentsMiklos Vajna
Change-Id: I6c24a8e392473f3985d3bde9b76a3148fd03bc9a
2015-04-16CID#1294410 missing breakMiklos Vajna
Change-Id: Ibfb4a60bfdce303264ef1826f943672695cdf274
2015-04-14add gdb debugging info on gtktiledviewerSiqi Liu
Change-Id: I1460131d25212266b910d76a7713d1e973f7c415
2015-04-14gtktiledviewer: can use gtk_toggle_tool_button_new_from_stock() for theseMiklos Vajna
Change-Id: I3c1163f9757a4592692bb8a920d1dc679bf53699
2015-04-14WaE: implicit conversion (IntegralCast) from bool to 'int'Miklos Vajna
Change-Id: I228c0bca3133e94b28db2540dbd41e8b4fd1eee9
2015-04-14gtktiledviewer: add underline and strikethroughMiklos Vajna
Change-Id: I457deb8d544b97874701dec37d8baee237ce4ebb
2015-04-14gtktiledviewer: add toggleToolItem() to avoid copy&pasteMiklos Vajna
Change-Id: If2553d96472e6ced9b2fad4c202d0793a1fce3bc
2015-04-14lokdocview: add Italic buttonMiklos Vajna
Change-Id: If23cb2f799df99cab92c13e09628fc139cdedb00
2015-04-14lokdocview: implement LOK_CALLBACK_STATE_CHANGEDMiklos Vajna
Change-Id: I239849056dd88f785dce239c4d53d6c905177b64
2015-04-13WaE: format string is not a string literalTor Lillqvist
Change-Id: I0346c98ec1e075009ac6b563119ee44178e9c773
2015-04-13LOK_STATE_CHANGED callback implemented with sfx events interception.Siqi Liu
2015-04-09Use comphelper::LibreOfficeKit::isActive() instead of LOK_TEST env varTor Lillqvist
Change-Id: Iaa0c751f101df6db25e9fca9123b81ac63033159
2015-04-07lokdocview: gtk_show_uri() requires Gtk 2.14Miklos Vajna
Change-Id: I54454fec250b74238a1c064cc2136889e1a28972
2015-04-07lokdocview: move callback handling to LOKDocView_ImplMiklos Vajna
These were the last free functions that passed around a LOKDocView_Impl* manually just because it was not possible to have them in a C++ class when lokdocview was C code. Change-Id: I6229a853336db0e47f7d1ba4687d198e076934a3
2015-04-07lokdocview: move CallbackData to LOKDocView_ImplMiklos Vajna
Change-Id: If2aff61df7efd5c291e4cc7c7196e7f6f3937b32
2015-04-07lokdocview: GList -> std::vectorMiklos Vajna
Primarily because I'm worried about the untyped GList. Change-Id: I0ae6610019f6e80b0cad12086782fd89ac74943b
2015-04-07lokdocview: move document rendering to LOKDocView_ImplMiklos Vajna
Change-Id: Ie1d61b35f07400c2bd1c32240c15eb908d587d59
2015-04-07lokdocview: move timeout handling to LOKDocView_ImplMiklos Vajna
Change-Id: Id1e14f259af68acbd29784436bb2c5062a0d6563
2015-03-30lokdocview: move handle rendering to LOKDocView_ImplMiklos Vajna
Change-Id: I52537a96af596db076c38dc607abe857d0771257
2015-03-30lokdocview: move cursor / selection overlay to LOKDocView_ImplMiklos Vajna
Change-Id: I48a6906382fd41906a06704855d2f054467c1716
2015-03-30lokdocview: move motion handling to LOKDocView_ImplMiklos Vajna
Change-Id: Ibace4a943fb61e2f897c9571cc2c8814935b6e75
2015-03-30lokdocview: move button handling to LOKDocView_ImplMiklos Vajna
Change-Id: Iac5d9e97f04af92ff6f6945d691abe94a3d785b0
2015-03-30lokdocview: move keyboard handling to LOKDocView_ImplMiklos Vajna
Change-Id: I1117ec42bdf0f2cb19f77723b87597d301d20ddb
2015-03-30lokdocview: larger default window sizeMiklos Vajna
Change-Id: I1526ab6969effa043cb7d429961aa7611e1fdd06
2015-03-30lokdocview: always use zoom factor when doing twips <-> pixel conversionMiklos Vajna
Change-Id: I81ce20c54bb62bec68152ca228eb222f3fd3c597