- 16 Kas, 2015 29 kayıt (commit)
-
-
Mihai Varga yazdı
We need the callback to be able implement the formula bar Change-Id: I1c78ab0b9ed9304c0465a9993a7101f8efb91052 Conflicts: include/LibreOfficeKit/LibreOfficeKitEnums.h libreofficekit/source/gtk/lokdocview.cxx Conflicts: libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx libreofficekit/source/gtk/lokdocview.cxx
-
Mihai Varga yazdı
We need to know the client's view level to correctly handle the mouse events in calc. PaintTile() set a zoom level that corresponds to the requested tiles and previously postMouseEvent would call SetZoom(1,1). Now we can make use of knowing the client's view level and call SetZoom() with the correct parameters Change-Id: I34b5afcdcc06a671a8ac92c03e87404e42adf4cd Conflicts: sc/source/ui/unoobj/docuno.cxx Conflicts: libreofficekit/source/gtk/lokdocview.cxx libreofficekit/source/gtk/tilebuffer.hxx
-
Miklos Vajna yazdı
And no need to copy it to be able to dump it. Change-Id: I5c0782c489a5d7c24173a81cc82efd195c4aa56e (cherry picked from commit 44c7272f)
-
Miklos Vajna yazdı
Fails without e.g. the last hunk of commit 1ba9d7fd (sw lok: forward key events to annotation window if necessary, 2015-11-12). Change-Id: I7f39530881f6141fea956b751aa57eb2bdcadcb2 (cherry picked from commit 1118689e)
-
Miklos Vajna yazdı
LOK is Linux-only at the moment, don't bother with disabling each and every unit test on Mac/Windows for now. Change-Id: I2ff1ed47251c16ec6a8d43138789480d95ea720e (cherry picked from commit 18dfcbb1)
-
Miklos Vajna yazdı
As long as we don't tweak the map mode of the comment widgets permanently we also have to disable the selection engine's timer, as that would emit events without the correct map mode: so disable that for the LOK case for now. (cherry picked from commit b3dc0d7c) Conflicts: sw/inc/SidebarWin.hxx sw/source/uibase/docvw/SidebarTxtControl.hxx Change-Id: If377ff2f064c30feb473f153f9d5b29b8ace7113
-
Miklos Vajna yazdı
With this, pressing ctrl-alt-c to create a new comment has the correct cursor position. Change-Id: Icb8d708dab015d8ffa9bcfe28de66238a75b50bc (cherry picked from commit d78432e9)
-
Miklos Vajna yazdı
SwPostItMgr::registerLibreOfficeKitCallback() already took care of informing existing outliners, this commit gives a callback to newly registered ones as well. (cherry picked from commit dacc616f) Conflicts: sw/inc/drawdoc.hxx sw/source/core/draw/drawdoc.cxx Change-Id: I660dcb54231a9d404bf80b4284003d119dae6a5c
-
Miklos Vajna yazdı
So that it's possible to drag the text selection start/end handles in comment text when there is an existing selection. (cherry picked from commit e320d070) Conflicts: sw/source/uibase/docvw/SidebarWin.cxx Change-Id: I3acc4770928d4f385f0ca09a2484a9e112409907
-
Miklos Vajna yazdı
With this, newly typed characters show up instantly in comments, not only after changing the zoom level. (cherry picked from commit 4cbbaf57) Conflicts: sw/source/uibase/docvw/SidebarTxtControl.hxx Change-Id: I1470db1ec03cc415917375f1f95434cf0944e559
-
Miklos Vajna yazdı
LOK always works in absolute twips (origo being the top left corner of SwEditWin), so not only the callbacks have to translate relative twips to absolute ones, but the opposite have to be done for mouse event coordinates. With this, clicking at a random position inside a comment places the blinking cursor at a reasonable position, not always at 0,0. (cherry picked from commit 57972554) Conflicts: sw/source/uibase/docvw/SidebarWin.cxx Change-Id: Ic8d20f177acd9e1908acf17698c53a1470bd4aec
-
Miklos Vajna yazdı
Change-Id: Ic052544b2835181652732b8de9eaf79572a9db6e (cherry picked from commit 022c716f)
-
Miklos Vajna yazdı
With this, selections of Writer comment text show up at the correct position, not at the top left corner of the window. Change-Id: If865503d9a02a27730e382d65c42c706dd533a93 (cherry picked from commit 22e97c13)
-
Miklos Vajna yazdı
With this, it is possible to click inside a comment (and get a blinking cursor inside a comment), and also possible to use the arrow keys to native around and still get correct blinking cursor position. (cherry picked from commit 5fb91dfd) Conflicts: sw/inc/SidebarWin.hxx sw/source/uibase/docvw/SidebarTxtControl.hxx sw/source/uibase/docvw/SidebarWin.cxx Change-Id: I29eb1e60e4e571151f0b18bec8cf765ea09af09f
-
Miklos Vajna yazdı
Writer comments are separate widgets, but we want to have coordinates in absolutes twips, so give Writer a chance to inform us about the delta. For now only do this in case the map unit is twips, as Impress sets the origin already. Change-Id: Idf340944165e44b0888c00965d6be7798712ff76 (cherry picked from commit e988ab84)
-
Miklos Vajna yazdı
This is primarily for tiled editing that doesn't know about multiple cursors, so if both the postit cursor and the main cursor is shown for a short period of time, then the main one is hidden, then gtktiledviewer still shows the main one. OTOH if we can avoid showing the cursor in general just to hide it a bit later in general, let's not do that. With this, the "cursor is shown at the comment anchor, not inside the anchor when clicking on the postit" bug disappears. Change-Id: I2383292c5f84604dc8b126510b0797b8426920ae (cherry picked from commit 1c482cb5)
-
Miklos Vajna yazdı
And to allow proper reaction by the annotation windows, inform them when a LOK callback is registered. With this, it's possible to modify the contents of annotations via LOK. (cherry picked from commit 1ba9d7fd) Conflicts: sw/inc/PostItMgr.hxx sw/inc/SidebarWin.hxx sw/source/core/view/viewsh.cxx sw/source/uibase/docvw/SidebarTxtControl.hxx sw/source/uibase/docvw/edtwin.cxx Change-Id: I4489941512197880940e20cbaeb0b47a7a6f26fc
-
Miklos Vajna yazdı
LOK sends all mouse events to SwEditWin, so add initial hit testing in its mouse handler to forward the mouse events to the right VCL widget. (cherry picked from commit b7ecf627) Conflicts: sw/inc/PostItMgr.hxx sw/source/uibase/docvw/SidebarWin.cxx sw/source/uibase/docvw/edtwin.cxx Change-Id: I67e8e19f47156261fd7c7eafd4e63f743e0c4ce9
-
Miklos Vajna yazdı
So SwSidebarWin member functions don't get twip values when they call GetPosPixel(). Change-Id: Ied4ff7f49d0320766b045d78f731900af92d37ef (cherry picked from commit c4ef30ea)
-
Miklos Vajna yazdı
It is only needed when tiled rendering. (cherry picked from commit 88f48668) Conflicts: sw/source/uibase/docvw/SidebarWin.cxx Change-Id: Ie1668f5f3d4d17abc212e2262a6c155dcb855d2e
-
Miklos Vajna yazdı
With this, e.g. a line above a note (with width of 180 px) is also 180 px, not 12 px. (cherry picked from commit 09640807) Change-Id: I7c4eeda1bc904242dc298013411b9671ba0f2149
-
Miklos Vajna yazdı
The map mode is in general disabled during tiled rendering, so mouse positions can be sent in using twips, but here we have to temporarily enable it, otherwise the width will be returned always in pixels. With this, the gray background of the sidebar has the proper width, not e.g. fifteenth of the expected value (using default zoom). Change-Id: I4380ee0ba6bcda97cf71735161dbdc826e7a2532 (cherry picked from commit 6c3dbdbc)
-
Miklos Vajna yazdı
Change-Id: Ie682cfe97b8c48bc66575b89875ca617dbb8ab4e (cherry picked from commit b3b9f2c5)
-
Miklos Vajna yazdı
(cherry picked from commit 9b504ad3) Conflicts: sw/inc/docufld.hxx Change-Id: If15ca89f2b7c54441f076eb233c4e1414dac25c0
-
Miklos Vajna yazdı
Change-Id: I16e51e074704026a45471e7a08c3b96846d44053 (cherry picked from commit 5f687598)
-
Miklos Vajna yazdı
Change-Id: I7493eaab55c23c79ca0878c34a97dfb4af857260 (cherry picked from commit 8fc6aafc)
-
Miklos Vajna yazdı
And use map modes to get the painting to the correct position instead of manually adjusting each and every Paint() method. (cherry picked from commit 177e375d) Conflicts: sw/source/uibase/docvw/SidebarTxtControl.cxx sw/source/uibase/docvw/SidebarTxtControl.hxx Change-Id: I66798321b8bbf2c7968d6ac1edebb1f8df60bce8
-
Miklos Vajna yazdı
(cherry picked from commit d54aaea3) Conflicts: sw/inc/PostItMgr.hxx sw/inc/SidebarWin.hxx sw/source/uibase/docvw/SidebarTxtControl.cxx sw/source/uibase/docvw/SidebarTxtControl.hxx sw/source/uibase/docvw/SidebarWin.cxx Change-Id: I4fcb05f8a58965341cf44a1b7e2367b5cbff981d
-
László Németh yazdı
Unicode apostrophe is mandatory for French, English, etc. typography, and it is a default option in all modern word processors. The fix enables single quote AutoCorrect replacement for all languages. Change-Id: I2964242ecd1cc839bf27e9a3d772f5cab95d8db0 (cherry picked from commit e6fade1c)
-
- 13 Kas, 2015 11 kayıt (commit)
-
-
Tomaž Vajngerl yazdı
Change-Id: I661b3de74066831f22757b587e8b367913030573 (cherry picked from commit 613ef017)
-
Tomaž Vajngerl yazdı
Change-Id: Iad3ad138a9a7164d10ab6e51e22032ad115d08a5 (cherry picked from commit e4130895)
-
Tomaž Vajngerl yazdı
Change-Id: Iea5df81bb2f85376dc67e1cca63d5586a834e1b0 (cherry picked from commit 7b3f6dd1)
-
Tomaž Vajngerl yazdı
Change-Id: I68d87af8ec2662208776d3b202d412145c86d9b2 (cherry picked from commit cb5fa33f)
-
Tomaž Vajngerl yazdı
Change-Id: I3fcb7bb2fda925a1c5b2633ac7f6846fda0dabf8 (cherry picked from commit d30e0aea)
-
Tomaž Vajngerl yazdı
Change-Id: I64f76d22018fcd8af2991933ba5ab2069f84181f (cherry picked from commit 89089204)
-
Tomaž Vajngerl yazdı
LOKit supports searching, but this was not implemented yet in the Android GUI. This adds a bottom search toolbar where you can type a search string + up/down search handles to search for the string from the current cursor position. Change-Id: Ia7461d2c6399c23201d2ea81f0b44c38533939a1 (cherry picked from commit 6636476c)
-
Tomaž Vajngerl yazdı
The bottom formatting toolbar now shows the formatting options previously located in the main toolbar as a menu entry (bold, italic, ...). In addition alignment options and selection of fonts and sizes have been added. Bottom formatting toolbar is not shown by default - it enables when hitting the icon in main toolbar. Also soft keyboard and formatting toolbar should not be shown at the same time. Change-Id: I5f6cf8a9fcbdb4d154ae7504a65f9a226c99d694 (cherry picked from commit 319623a3)
-
Tomaž Vajngerl yazdı
Change-Id: I5b4dd8b8c407640cfcd9f366cecfaf6deb0cb3be (cherry picked from commit 01d0983e)
-
Tomaž Vajngerl yazdı
Change-Id: I7d3742af0c11a996701f7d263fc04a387edb0d00 (cherry picked from commit b0166b1d)
-
Jan Holesovsky yazdı
Change-Id: Ie5bf5d4ab139f22e67f3654b0bb31e10b8c9f337 (cherry picked from commit addd8847)
-