summaryrefslogtreecommitdiff
path: root/libreofficekit/source
AgeCommit message (Collapse)Author
2014-07-30LOKDocView: add set_part_mode.Andrzej Hunt
Change-Id: I0e14a535124e93979ef05431255911245a11aa29
2014-07-30LOKDocView: add part name retrieval.Andrzej Hunt
Change-Id: Iac31de0410d7f6187e5884152c329375047a23f4
2014-07-29Kill the libreofficekit static library / shim.c.Andrzej Hunt
It looks like the cleanest method of getting lok_init into a LibreOfficeKitInit.h header (in a c89 compatible way) is to have it as a static function. (inline is only available in C99 or later -- this is actually available on Linux which is the only place that we can actually use lok_init anyways currently, however given we have to keep c89 for the C code (for MSVC) compatibility, selectively enabling c99 would likely be more messy.) Change-Id: I0493e7a68ed5397479220bb6ba8c3db870b6dd32
2014-07-28-Werror=declaration-after-statementMiklos Vajna
Change-Id: I97b1d03410e98c5ff2ad3cc15cef692e9b994a6c
2014-07-28Prevent LOK DocView crash if document too large.Andrzej Hunt
There seems to be a maximum size that gdk's pixbuf can handle, however I have been unable to find any documentatation. Seeing as the current implementation isn't realistically useable anyway, we might as well set a hard limit here (in practice we'd have much smaller tiles + compositing). Specifically extras/source/shellnew/soffice.ods will fail without this patch. Change-Id: I6ac495adca8e15878989375ef8b2de472788279a
2014-07-17Fix some CppunitTest_libreofficekit_tiledrendering related problemsMatúš Kukan
Change-Id: Icdcde0af1b3d5744ef2842e4b4d2b85a094ac686
2014-07-16LibreOfficeKit: Check for libmerged too.Jan Holesovsky
And avoid some strcat's when at it. Change-Id: I0c70ee2a1abf0c9e2914f756b06bedc3a16df19b
2014-07-12LOK DocView: implement part selection.Andrzej Hunt
Change-Id: I2e16ca9d2d5fcd25b0435f1b9b0fbcb52b92e012
2014-07-12LOK DocView: only rerender on zoom if we have a document open.Andrzej Hunt
Otherwise we would segfault, and it's perfectly valid to set a zoom level _before_ opening a document (as that would e.g. save the document first being rendered on opening if the client wants to immediately render at a non-standard zoom level). Change-Id: Ide261b09f4aab8dc3b552f6c3bf55f78ffd7870c
2014-06-27LOK DocView: handle document load failure without crashing.Michael Meeks
Change-Id: Icd668b3a7ec3ac58322a6af3f1da6008837d0b6b
2014-06-25fix buildCaolán McNamara
Change-Id: I33f06887b4b2b7950c6e322ccf1c7ec65240f9b0
2014-06-25LOK DocView: clean up document on exit.Andrzej Hunt
Otherwise lock files etc. aren't cleaned up, which isn't particularly nice should when then opening the file in normal LibreOffice. Change-Id: I822b6fb582473674371a4c1d403d5a05adb7ea6b
2014-06-25LOK Docview: add set_zoomAndrzej Hunt
Change-Id: I902f3a134b4a7dcc721eff3f67376014a4276885
2014-06-25Prevent GTK assertions due to scrolled window not being initialised.Andrzej Hunt
Seems to be a gtk bug which we need to work around. The assertions don't actually seem to cause any harm (they just print a bunch of "Gtk-CRITICAL **: IA__gtk_range_get_adjustment: assertion `GTK_IS_RANGE (range)' failed" but probably best to avoid them. Change-Id: I5d1bb20bd5c0569c6d023a6148123208a15b9de2
2014-06-25Implement LibreOfficeKit gtk+ viewer widget.Andrzej Hunt
Very basic, but works. Change-Id: I0c521e833b53e13065e0be48e6fa767e44b29787
2014-06-18LOK: kill double initialize.Andrzej Hunt
Change-Id: I4d3dd913faea8b9f4a0bd3c13af37d097ced9888
2014-06-17LOK: Split into instance and class.Andrzej Hunt
Change-Id: I2b6f33eaf12343c7da1328a932eb703bb4e4ef6f
2014-06-11Rename C api of LibreOfficeKit.Andrzej Hunt
However for the sake of ABI compatibility we can't change liblibreoffice_hook. Change-Id: I0e921efeeab40ef1b53a67c0e7a89d4c75ced831
2014-06-11Move liblibreoffice into LibreOfficeKit.Andrzej Hunt
Change-Id: Ib2754a77be470faaa6f9b27644a1d8dd082ed2b8