Age | Commit message (Collapse) | Author |
|
Change-Id: Id8e20e6561239096438d420c65d0da6dcc7f5e2e
Reviewed-on: https://gerrit.libreoffice.org/19474
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
|
|
... as `name`, `nick`, and `blurb` are guaranteed to remain valid
and unmodified for the lifetime of the parameters.
Change-Id: Ic6463b470546669d5a815842daedb170df85d161
Reviewed-on: https://gerrit.libreoffice.org/19472
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
|
|
Change-Id: I0febc2b89d95bde59ad9d3a90d404b3932cc3624
|
|
1) The size of the searchResultSelection array in
LOK_CALLBACK_SEARCH_RESULT_SELECTION provides the same information.
2) None of the clients except lokdocview used it.
3) Only sw provided this callback, not sc/sd.
Change-Id: I9da639b6693f24634f298f9bc4773f705e944359
|
|
Without this e.g. Calc search does not show the selection rectangle
correctly.
Change-Id: I5bc20a93ee861d3353bc2e1c1ed7ea8d0e6c8ed4
|
|
Change-Id: I154bd2c101819669d43ab475144ae400454df4d0
|
|
Change-Id: I8015c8030c1c7f53ae1de053fe268a33464834ad
|
|
Change-Id: Ib932ee36e41afcb53d15a6362b998cc673d474f2
|
|
|
|
We need this to notify the user for which search phrase no results were
found
Change-Id: I8cc7ab235b9129dfdcb022145456180ff7e4ca92
|
|
To get a better functionality we need to know the button type (left,
right, middle). We also need the key modifier (ctrl, alt, shift) for
actions such as ctrl+click (to open a link) or shift+click to select
Change-Id: Iaccb93b276f8a6870dd41cc5132dbb85d2bbf71b
|
|
Change-Id: I0d1b641654e0de65169e19bb5843ea11b43a90a3
|
|
Resetting tiles only is not enough. We need to empty stale
selection rectangles, handle bars, cursor positions etc., so that
they do not interfere with next view to be opened using same
widget instance.
We are not destroying the document here, so the widget would
still point to the same document unless it is made to point to
another document by subsequent lok_doc_view_open_document calls.
Change-Id: I3c7cc789c8c7393b3793b4edf6aa96d54bc0b1a3
Reviewed-on: https://gerrit.libreoffice.org/18866
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
|
|
Change-Id: I60eb53d4bf9943fd52e0a9d8e3574a7d1cc027e0
|
|
... wherever possible. There are few things we can't move to
header file, for example, the comments corresponding to GObject
properties, and signals.
Change-Id: If74d61b17ccee11f8a056f3a93040d2cff2dd98d
Reviewed-on: https://gerrit.libreoffice.org/18863
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
|
|
Change-Id: Ic48adaf038e8fbcc86a94b5e351d2f963fcfcd16
|
|
getTextSelection() is still to be done, but has to be moved to the
widget first.
Change-Id: I780a31f1dbce38b2b7398bfdacbbc1c40881229d
|
|
Change-Id: Iafb08cb44a96dbc03d12367d21b4120063bd0222
|
|
Also in SfxLokHelper::setView() set the current view shell directly,
GetFocus() in VCL may be a NOP for hidden windows.
With this, the Writer layout dump shows that two Gtk windows can have
different cursor positions correctly.
Change-Id: I81890c1d8ad7972f1194db3d5f2e9d8a39fc2f87
|
|
With this finally the number of GTK+ windows always match the number
returned by SfxLokHelper::getViews().
Change-Id: Ia45bef7dea86b80cfac00e2ad7c1a16d7f5b507b
|
|
GTK+ calls should be made from the main thread.
Change-Id: Idcfa46d427d6e35fc544246a691bafc72f75a74c
|
|
Change-Id: I2ff57c4be11cd3908bc951ebf572a2c02e2c4585
|
|
Change-Id: Ia76ef111170700ef507550222ca917986d4fe00e
|
|
Change-Id: I2665a12251921523045f4071df88ca69ecd5a5c0
|
|
Change-Id: If50ac0bd21e59b0e0639aa353513451e88ae2a9f
|
|
Change-Id: I6801618efb5a66d24156fa429e026acb6ca03aba
Reviewed-on: https://gerrit.libreoffice.org/17506
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
|
|
Change-Id: Ia208e3309bb64baf71ceb97cdf1b3b57b6120353
|
|
Change-Id: I4e933b458ca26b2a92d4953ca6cd6220dd730cf9
|
|
In Writer, the meaning of 'parts' is a bit different than in Calc or Impress.
In Writer, the parts mean pages, and the document does not give a completely
different view, the cursor just jumps to the given page.
It is up to the client to follow the cursor appropriately to have the desired
effect.
Change-Id: I56b3264e0340cd639bdabfa92b74b52bd1f391a5
|
|
Change-Id: I177ea091fb1061d9fa71f7fb1a84629128afd6a0
|
|
Change-Id: Ibc22d03d9eee9fd151ecf5773e36c2519141a5eb
|
|
Change-Id: Ib7a6bf63ee6f300c6c5d50d02a3465d0a075a5be
|
|
Change-Id: I9d1a08db2a91a596d3039a2388c22e6ea76dc2b1
|
|
... and set each member variable manually.
Additionally, improves documentation of the struct LOEvent.
Change-Id: I2e8e1dc70298dc85943769e2f01c6127eedb8207
|
|
Change-Id: I05582d33ee3535d4b677fa8138c9d573585a4252
|
|
Change-Id: I875d49a9e4360659087ae70456edefb15bc57b20
|
|
Change-Id: I45e94248013277affa11e91439fbc16995b8ed8e
|
|
Change-Id: I27377f0a758729a7877cfc6a56ea1b4bb3d1c3c9
|
|
Change-Id: I57db9e3adf26996e6e1e105b8b95f53e88e7760f
|
|
This is a thread pool with just single thread because LOK is
single threaded; using multiple threads in this case would be
useless.
Primary reason we are using a thread pool here is to avoid the
overhead in spawning a new thread for each LOK call.
Change-Id: Ibbfdb7cb0a8ef9f07bcc659e65ce8997716aa245
|
|
Change-Id: I69b4c05d12c0c0b2ca6b7d1ad76ed74cc1f4346a
|
|
This is to keep the widget responsive during document load.
Change-Id: I81acaffc75ca7deddd6cc2de6abae22d009d40cd
|
|
[ Miklos Vajna: The point of the change is that without this, part switching in
Calc does not work, as Calc does not invalidate everything after a part switch
(unlike Impress), and we suppose the right fix for this is to let the clients
throw away the tiles, rather than letting Calc send out invalidations, too. ]
Change-Id: Id368b955c54efb87ecf3d59278ddb5cdbb2e7856
Reviewed-on: https://gerrit.libreoffice.org/17267
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
|
|
Change-Id: I65187bbd2cc32d9278d8b3890a82b5555390858a
|
|
Change-Id: I58d0c36decf81c812c108458b449402416ebcc2d
|
|
Change-Id: I2645863c7445e17d77e2c4e2dc24e22f8685034e
|
|
Instead directly let LOKDocView handle the input.
Change-Id: I260a460df23c3e2e5c78d8b363bb864ae5c63dab
|
|
Instead emit the signal 'hyperlink-clicked', and let the
application decide how it wants to handle the hyperlink clicks.
Change-Id: Ief72bbd16727e140cacf28b852ad43952c02f7ae
|
|
Change-Id: I645516d43562dfa03c27e2bea366e9a161829bfe
|
|
Let lok_doc_view_get_instance_private () do the pointer
arithmatic. Additionally, we are saving sizeof (void*) already in
the _LOKDocView struct with this approach.
Change-Id: I6d991d5834ef15dad24acb14a1d4bbf7d03df762
|