Age | Commit message (Collapse) | Author |
|
This is to keep the widget responsive during document load.
Change-Id: I81acaffc75ca7deddd6cc2de6abae22d009d40cd
|
|
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>
|
|
[ 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: Ie98c37d4bdaa365ac27e8620fb5bbecbb0faccdf
|
|
Change-Id: I5916357903fad5878d29bc31f21af45816a45ec5
|
|
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: Ifd126a535f18db79a18aaec61b76cdf26ab33dff
Reviewed-on: https://gerrit.libreoffice.org/16522
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
|
|
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
|
|
The construction of LokDocView widget can fail because it
involves initializing the lok context via lok_init.
Having lok_init calls in constructed virtual method is a bad idea
since it assumes that construction will never fail. So, implement
GInitable for this class, and move the object initialization from
constructed to initable.
Change-Id: Idf18a054cf8ef2e946392458ec52cb0107bd7454
|
|
Change-Id: I24e7b18442cb08814a73dd33b368b368039a11e4
|
|
This allows requesting text/html, with falling back to plain text if
necessary.
Change-Id: Ie6d4e0e173311ba018553043b6a869abf193bf6f
Reviewed-on: https://gerrit.libreoffice.org/16377
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
|
|
Change-Id: I56ed5047da118eac01d7dea150597133215278e2
|
|
This may reduce some degree of dependency on boost.
Done by running a script like:
git grep -l '#include *.boost/scoped_array.hpp.' \
| xargs sed -i -e 's@#include *.boost/scoped_array.hpp.@#include <memory>@'
git grep -l '\(boost::\)\?scoped_array<\([^<>]*\)>' \
| xargs sed -i -e 's/\(boost::\)\?scoped_array<\([^<>]*\)>/std::unique_ptr<\2[]>/'
... and then killing duplicate or unnecessary includes,
while changing manually
m_xOutlineStylesCandidates in xmloff/source/text/txtimp.cxx,
extensions/source/ole/unoconversionutilities.hxx, and
extensions/source/ole/oleobjw.cxx.
Change-Id: I3955ed3ad99b94499a7bd0e6e3a09078771f9bfd
Reviewed-on: https://gerrit.libreoffice.org/16289
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
Change-Id: I038c05c0d081f52e4ac90688f73397565413632d
|
|
Change-Id: I2f49394c53deece8e86a7f290250c4f52918c5d8
|
|
This is a big messy commit restructuring the whole class to follow most
common practices followed by standard GObject classes, so that it can
keep gobject-introspection happy; hence, allowing this widget to be used
from other languages.
Change-Id: I10c34dad402d1ec586958b2db21ff44412c36cea
|
|
Change-Id: I354aa987f8e732945fb552d855a3416c782bb508
|
|
We already have the global ENABLE_GTK3 guard for RHEL5 baseline.
Change-Id: Id814a4063861a1e750952b44686ed24864c0394f
|
|
Change-Id: I8d2541f5cbd2b908c2b0dc52cccf9b936bbc307a
|
|
Change-Id: I57f2d7b9383790e5c34fc517a905dd537519598f
|
|
Change-Id: Ia17bdf6e8f871d64add358822ea383236ecd6405
|
|
Change-Id: I9a71ee85d2d28aed5bd3f4d1f6e91261a9228d04
|
|
Change-Id: I675192d6bd6d10e6c7974a5de6f488f9a087ac32
|
|
... so that this widget can be used from other languages.
Change-Id: Icd7d6df6aa587ffdb018af0b911300dc81ec6560
|
|
It is not the job of the widget to provide the scroll bars.
Change-Id: Iafc5724ed5b21717d711bb8f7e1a076dd1288b76
|
|
Change-Id: Ib1ff285d1f8180ecb0be8448ac4c2d1878dff274
|
|
Change-Id: Iee0e9ef3a623706c33f84c34c1fbbf5b173f7f5d
|
|
Change-Id: I2011b491012dfd623ece9fd24a265107ac690cba
|
|
Change-Id: I85fa46de5b864369158d047fd3f7c683f10c822f
|
|
Change-Id: I76cf487c66e048b5e9d0877a1b690cd066b73528
|
|
Change-Id: I1eae8c96c12ba4d272341f45fee6c1fd66ab9e28
|
|
Change-Id: I9f533f577f959c9a715e5214be99ca59cb0d206c
|
|
Change-Id: I06dae2e7a5067160326f4c65f5975c4e5afb05ce
|
|
Change-Id: I27da86c774f0450c844e742563c4a8de3f23ad34
|
|
Change-Id: I3bbd07ce8163890f9b88567966622dd4fbe9d94d
|
|
If we are mentioning this type as DocView, we should break it at each
capital letter.
Change-Id: I76c7eea455281e541b2196a03778018aa127cebe
|
|
Change-Id: Ib33f0e1dcf257350be1e2cf6c49cd92494472a55
|
|
... and place it at places only where the widget can change its size.
Change-Id: I4a4b28b35eba06a6faab434677d4d70d2a33339a
|
|
Lets follow the old advice: "Be liberal in what you accept, be strict in
what you produce".
This is after noticing negative values for x, y in
the payload in some situation, such as, hitting a backspace key when the
cursor is at the start of a line
Change-Id: I11939b981f75969b88214baee66b4c69c5e41906
|
|
Change-Id: Iaf4a5fba5c4c34d03b91ca9ca4dd4eff1dbf39f6
|
|
Improve documentation, style fixes
Change-Id: I5000e32e90cd8e3b75e8df2907673efc303a55fd
|
|
Lets use a member function to set invalid tiles that come under the
given GdkRectangle.
Change-Id: I440336ddf3c5fd9094f35bb89479aa76a42477fa
|
|
twipToPixel and pixelToTwip are also being used by the new TileBuffer
clsas. Lets move these utility functions to a common header,
tilebuffer.hxx
The variables for DPI and tileSize are also moved to tilebuffer.hxx
Change-Id: I9d0bec7f2aefe412df232040a7a9abc6db3e4ccb
|
|
Change-Id: I8637d99e6fa59129af207e667bcdf03dc212efeb
|
|
Using vector each tile needs to be allocated memory irrespective of
whether tile is required or not. This approach fails when we zoom in to
a very high level to have thousands of tiles due to lot of memory
required. Using maps instead of vector takes care of this, and only
allocates Tiles when required.
Change-Id: I523f815618451a7f014e28258e0de7b1c0693370
|