summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* sc lok: allow requesting row headers only for a logic areaMiklos Vajna2015-11-031-1/+4
| | | | | | | | | | | | | | | | | | | | | | So that for large documents it's not needed to query all of them on load, but (similar to tiled rendering itself) it's possible to query the data that affects the visible area. One catch is that the row sizes are relative, so there is a placeholder row in case the visible area is not the top left corner, and constructing its size needs special care. Normally the handed out twip values have to be floored after twip->px conversion, but this one is already rounded (as the total is a sum of px values, again becase of the previous floor rule), so need to play the +0.5 trick to allow clients always just flooring the logic conversion result they get. (cherry picked from commit 75303695eb4bfe6c8fdea2cad0d3ed3f912f95c9) Conflicts: libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx sc/inc/docuno.hxx Change-Id: I64a155582acdee7b2acc741d77a2c462409b91a8
* LOK: initial Document::getCommandValues() for RowColumnHeadersMiklos Vajna2015-11-031-0/+8
| | | | | | | | | | | Only the row info and for the entire tiled rendering area as a start. (cherry picked from commit a7ce5f83343f8f6ba8a59b05820b3a2066c0ce9a) Conflicts: sc/inc/docuno.hxx Change-Id: Idbccd805b355e8d151ab7025ac1cf0c686cb237b
* vcl: getWindow() -> setClipboard() in ITiledRenderableMiklos Vajna2015-11-031-2/+2
| | | | | | | | | | | | | | It's cleaner to let the apps do this themselves than exposing their underlying vcl::Window. (cherry picked from commit bfd79be417358822023691cf7b7b2946906100ca) Conflicts: sc/inc/docuno.hxx sd/source/ui/inc/unomodel.hxx sw/inc/unotxdoc.hxx Change-Id: Iff2442dd325fa65a0cf3ad4aa7f918542dab1e4c
* lok: Introduce LOK_CALLBACK_UNO_COMMAND_RESULT callback.Jan Holesovsky2015-11-034-5/+29
| | | | | | | | | | | | | | Posting of the .uno:Something commands is asynchronous. To be able to find out when eg. .uno:Save finished, this commit introduces a callback that fires when that happens. To be able to receive such a notification, the appropriate postUnoCommand() must be called with 'true' as the parameter for bNotifyWhenFinished (defaults to 'false'). (cherry picked from commit 8c987fababbddb6e4f81b0cd717b59b9a9ff9be0) Change-Id: I254939ebc8ea5f309ae39686dcaaeddd5148b0c9
* add LOKit interface missing descriptionTomaž Vajngerl2015-11-021-2/+3
| | | | | Change-Id: Ia9e33704cfffd2094606e6fd166796bd8cd5d4fe (cherry picked from commit 3d34594138c42ec4b253a25c403ef9346265a28f)
* tdf#75637: Resolve help images via a vnd.libreoffice.image UCPStephan Bergmann2015-10-291-0/+121
| | | | | | | | | | | | | | | | | | | ...which uses the logic already available in VCL's ImplImageTree to locate the image zip files and find fallbacks for incomplete themes and for localized images. (cherry picked from commit 6948c546fdc00dddec7d58e03150dcc87921d6b2, plus f5174c89cd037d35b975590083cf91b36633808d "...but do not erase localize attributes from image elements," which is needed to make localized image references work again) Conflicts: vcl/osx/vclnsapp.mm Change-Id: Ic1c15fcacb6596a27a2b051093232902202bf472 Reviewed-on: https://gerrit.libreoffice.org/19644 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com> (cherry picked from commit 74453dbed460c0c428ce989b07a65d5cac5db49a)
* tdf#94022 Print dialog: hide Installable OptionsMichael Weghorn2015-10-291-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Options specified in PPD files can be grouped using the keywords "OpenGroup" and "CloseGroup". The keyword "InstallableOptions" is used as a group name for a group containing options that define optional hardware features of the printer that can be present or not (s. section 5.4 in version 4.3 of the PPD specification). As they are not print job specific, it is recommended not to show them in the print dialog. To be able to distinguish those options, the PPD group name was added as an attribute to the PPDKey class. Reviewed-on: https://gerrit.libreoffice.org/19623 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de> (cherry picked from commit f8d0dc09e15b36ae83a5e89280d1f7fbc01da48b) Conflicts: include/vcl/ppdparser.hxx Change-Id: I4a3abf23a711ad98556c0b608a07ef0a91e77e2b Reviewed-on: https://gerrit.libreoffice.org/19630 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de> Tested-by: Jan-Marek Glogowski <glogow@fbihome.de> (cherry picked from commit 2f03a169d2311ed4337103d19f33173e997d0f40)
* sc: implement vcl::ITiledRenderable::isMimeTypeSupported()Miklos Vajna2015-10-271-4/+2
| | | | | | | | | (cherry picked from commit 5b4c29b1b15dcebfe4e76aaa8bdb2dd45e2b67f3) Conflicts: sc/inc/docuno.hxx Change-Id: I0b9de068ddf0f4ff92d8fbf003b7529516f1f80a
* lok::Document::paste: check if the given mime type is supportedMiklos Vajna2015-10-271-0/+5
| | | | | | | | | (cherry picked from commit 7efbbe98d7fe951909234dcacd37f67975f00da2) Conflicts: sw/inc/unotxdoc.hxx Change-Id: Ib59ea43700815c53cdd4be819e2e9cf35c6f89e9
* vcl: ITiledRenderable::getWindow() can be pure-virtual nowMiklos Vajna2015-10-271-4/+1
| | | | | Change-Id: I393ec4427674cd5d77d0e9a069ffe159d14e38b1 (cherry picked from commit e531f846d798e1b9097fcb2a5f4e58d5e3d423de)
* LOK: add Document::paste()Miklos Vajna2015-10-272-0/+18
| | | | | Change-Id: I34998229e7f5cac4c62c859861783be3c161f9bf (cherry picked from commit 6552767aa5ed61215eb64dac0cc026a5f7a9aad1)
* vcl: add ITiledRenderable::getWindow() and implement in swMiklos Vajna2015-10-271-0/+6
| | | | | | | | | (cherry picked from commit 981a974824642a81f86c526dea682cd27cd437db) Conflicts: sw/inc/unotxdoc.hxx Change-Id: I9d0fad3904e74b44b0b126974ace4025f7a4fc5b
* vcl: add Window::SetClipboard()Miklos Vajna2015-10-271-0/+2
| | | | | Change-Id: I385f64b7d5015c9a34f34a436b0ee2ce6b3a83d3 (cherry picked from commit 98cdb563c1c63e93b4722721354d86848d2cd2c2)
* Use SAL_OVERRIDE for overrideJan-Marek Glogowski2015-10-261-2/+2
| | | | | | | | | | Otherwise build breaks on gcc 4.6. Change-Id: I9f0d94448e31e8b61b271fc088f0ce74128c375b Reviewed-on: https://gerrit.libreoffice.org/19564 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com> (cherry picked from commit a3b56a4f3eb55fad4bf10589a0acbc7879429cdd)
* crashtesting+ubsan: kde170880-1.html bad cast to SdrTextAniCountItemCaolán McNamara2015-10-261-1/+7
| | | | | | | | | | | | because a clone of SdrTextAniCountItem is a SfxUInt16Item not a SdrTextAniCountItem Change-Id: I7b8f99b52b1f42a6a28af4495ff25ddb6d497f61 (cherry picked from commit e5c8d01b1c174eafb3335604380480a513ac8db1) Reviewed-on: https://gerrit.libreoffice.org/19536 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com> (cherry picked from commit 0423b5c33ea2c9a5942a20939656e65a56234500)
* tdf#93390 correctly handle back-and-forth between numeric and text valueLionel Elie Mamane2015-10-261-2/+3
| | | | | | | | Change-Id: I06711afd5d668816608661f0fe433efd93fef99e Reviewed-on: https://gerrit.libreoffice.org/19372 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com> (cherry picked from commit 43769b7aebd6e89c5d9260b244e34d0858e99216)
* tdf#95095: Implement "AvoidRecentDocs" property for loadComponentFromURL().Jan Holesovsky2015-10-211-0/+7
| | | | | | | | | | | | | When "AvoidRecentDocs" is set to true, the loaded document is not added to the recent documents list, avoiding the (a bit expensive) thumbnail creation. Useful when loadComponentFromURL() is called from macros, or when LibreOffice is controlled via UNO. See the bug for an example. Conflicts: sfx2/source/doc/objxtor.cxx Change-Id: I99d516cae8b278199a01276686465f716b9b4cec
* Writer image export: cmd. line, default to white backgroundTomaž Vajngerl2015-10-191-1/+2
| | | | | | | | | | | | | This commit fixes the writer image export (jpeg, png) that didn't work because the export pixel size was set to 0 by default. Now the default is set to document size (which depends on system DPI). When exporting to a PNG the background was transparent, which may not be desired. The background color is now by default white and can be changed for DocumentToGraphicRenderer, but the dialog or command line don't support such an option - for now. Change-Id: I16ffd3cd60c47b52768f43ae4c4c170fc821033b
* tdf#92411 : don't select all toolbar buttons in the ImageMap EditorSzymon Kłos2015-10-181-0/+1
| | | | | | | | | | | | Reviewed-on: https://gerrit.libreoffice.org/17755 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> (cherry picked from commit cd3ca5b24eeebd5ab8e3b98c8e1b5edfd9127042) Conflicts: svx/source/dialog/imapdlg.cxx Change-Id: Id69a03b0379becc4c267a85eb7567bbbd41ccf82
* RemoteFilesDialogSzymon Kłos2015-10-1812-20/+249
| | | | | Change-Id: I296ce6233287dac5447462faa4b7404c25297f8b (cherry picked from commit 87297284782adbf1fcb73663ad2d2a38b5ae1872)
* Resolves: tdf#94848 crash on focus with un-cleared but dead mpSubEditDennis Francis2015-10-171-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | was... fixes memleak : clear self referring VclPtr in MetricBox Clears self referring VclPtr called mpField in MetricBox (inherited from FormatterBase class) via dispose() method of MetricBox. Reviewed-on: https://gerrit.libreoffice.org/18674 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit 36c11cb71c6ec107cc08b16109e468765abc9867) Change-Id: I375e03e814de3c6e47c36b1fc6f625b04521a5e2 memleak:clear self referring VclPtr in *Field and *Box classes Clears self referring VclPtr called mpField via FormatterBase in : 1. MetricField, PatternField, NumericField, CurrencyField, DateField, TimeField 2. PatternBox, NumericBox, CurrencyBox, DateBox, TimeBox via respective dispose() methods. Change-Id: I7f92fefd49756cabe7db7d240781260a2d4cd298 Reviewed-on: https://gerrit.libreoffice.org/18701 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit a44e03b5d7822d026a3b2fbaf039522f085defed) Reviewed-on: https://gerrit.libreoffice.org/19397 Reviewed-by: Dennis Francis <dennisfrancis.in@gmail.com> Reviewed-by: Michael Meeks <michael.meeks@collabora.com> (cherry picked from commit 1995ad7d080b1a9da29f0ebfb06641451d6f3653)
* xmloff: fix ODF import of gradient draw:angle attribute a bitMichael Stahl2015-10-171-0/+6
| | | | | | | | | | | | | | | | | | | | | ODF 1.2 part 3, 18.3.1 angle, says "An angle, as defined in §4.1 of [SVG]" and "If no unit identifier is specified, the value is assumed to be in degrees." Unfortunately OOo could only read and write 10th of degree here. See also https://issues.oasis-open.org/browse/OFFICE-3774 As the first step towards fixing that, implement the import for draw:angle values with an angle unit identifier, but leave the import as-is if the angle identifier is missing. Change-Id: Ib88d417c03998ebcfc569b01492f0e1f851bbc85 (cherry picked from commit aadda5d17f6e422da143ea774f759bfc5f629c5b) Reviewed-on: https://gerrit.libreoffice.org/19283 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com> (cherry picked from commit 76a4665a09542fb67dd99c9a607c162e0b678ead)
* vcl: clean up before error returns in OpenGLContext::ImplInit()Michael Stahl2015-10-171-0/+3
| | | | | | | | | | | | | | | | | | | JunitTest_chart_unoapi fails here with "assert(!hasCurrent())" because the initialization apparently fails due to lack of a wglCreateContextAttribsARB in the VM, so ensure that the hTempRC is not active and also deleted in all cases. (cherry picked from commit 5efad73918152f380fa1bf1e2cd3bc06b6353683) vcl: even in the newfangled OpenGL world, initializing members is ... ... still a good idea. (cherry picked from commit 37d243651b7db5dc313686f474f4e7c92e2160ce) Change-Id: I7e03b95d1146af48a24e34692c3c2827298fccee Reviewed-on: https://gerrit.libreoffice.org/19040 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com> (cherry picked from commit 418d7171e1a1ad669c2d8ecfa75ae688a0bf9d70)
* tdf#91293: Preserve hyperlink on URL field OOXML exportKatarina Behrens2015-10-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | The fix is twofold: 1.Get URL property from the underlying text field, not from the text run -- put text field properties into rXPropSet (that's what GETA macro later queries), not into rRun 6a043e9c0acff20e1618ca8ec15c21d5d0fd0d37 does s/rXPropSet/rRun/ afaics for no good reason 2. Retrieve string content from URL field early, so that the test for empty text content doesn't fire Reviewed-on: https://gerrit.libreoffice.org/18031 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Conflicts: sd/qa/unit/export-tests.cxx Change-Id: I4317e4a2f6f2e6f15c30932adc80f1227e010af0 Reviewed-on: https://gerrit.libreoffice.org/18706 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> (cherry picked from commit e17187c323428b7edea425278ea33bca77db12b5)
* move extracting assets to Java & use AssetManager to access assetsChristian Lohmaier2015-10-151-3/+2
| | | | | | | | using AssetsManager in both java as well as native parts allows to handle files both with and without compression transparently Change-Id: If02f1159c498be7ea965fd9c217410722f2dca1f (cherry picked from commit 143fb0a4b5d4ab69d4928299d8112ab95d99870a)
* LOK: include part numbers in CALLBACK_SEARCH_RESULT_SELECTION payloadMiklos Vajna2015-10-141-4/+10
| | | | | | | Without that, the result in Calc/Impress is ambiguous. Change-Id: I8dfd8dafc996102ed583688fddd721c7600dc48c (cherry picked from commit ad280b67f8fda8f832a6a83bc5665df448c6ad00)
* editeng: add EditView::GetSelectionRectangles()Miklos Vajna2015-10-142-0/+3
| | | | | | | | This gives sd access to the selection rectangles as well (as opposed only to the document model positions of selections). Change-Id: Icb903e91f9e868573403b360bbe839705ddf2916 (cherry picked from commit f7764214f2ab8aff030aaeb29efd693275822761)
* tdf#95002 sd tiled rendering: fix handling of images on page switchMiklos Vajna2015-10-141-1/+1
| | | | | | | | | It turns out a full invalidation is still needed to trigger the loading of graphics on the new page, so instead of not invalidating just don't emit the notification about it during page switch. Change-Id: Ic99a3d4e268b3db61cf09c78ed0f310c9d365867 (cherry picked from commit 1631fa9a722553da1ebe0650a65e859862c4405d)
* sd tiled rendering: make invalidation in DrawViewShell::SwitchPage() optionalMiklos Vajna2015-10-141-1/+1
| | | | | | | | | In case of tiled rendering clients already get LOK_CALLBACK_SET_PART when switching slides, so it's pointless to additionally invalidate windows for help lines. Change-Id: Ibc15c9862ae85bd72328161fa5f7e72d82fd2a97 (cherry picked from commit ca3436723455a0d0f3ced6f33b646b7c79ab05a1)
* TypoTor Lillqvist2015-10-131-1/+1
| | | | | Change-Id: Ibecfa73dd1b865edba77caf51f5003d1b18692be (cherry picked from commit a0e10b1e0863b1967ede25053f8e3f1dacf0fbdf)
* Fix typosAndrea Gelmini2015-10-1315-19/+19
| | | | | | | | Change-Id: I6dfb5fb468c1305a8f248bf5788c5760135fd835 Reviewed-on: https://gerrit.libreoffice.org/18955 Reviewed-by: Oliver Specht <oliver.specht@cib.de> Tested-by: Oliver Specht <oliver.specht@cib.de> (cherry picked from commit d344d2b1f5e528c5f2a2d6b892a23e402aa4bd46)
* LOK: fix the rectangle format mentioned in documentation/commentPranav Kant2015-10-131-1/+1
| | | | | Change-Id: I41bf3a21b5da9fc8155bbe6eb0f86078f90f6647 (cherry picked from commit 107d31165479d602fbc644aaf41d213e58e00389)
* LOK: remove unused LOK_PARTMODE_EMBEDDEDOBJMiklos Vajna2015-10-131-5/+2
| | | | | Change-Id: I8cbb5b7a134fb84bd2c363b06f06f7f40964521f (cherry picked from commit 39321c5ffa9b4196308575be6dd19f2b2924214f)
* LOK: CALLBACK_SEARCH_RESULT_COUNT is redundantMiklos Vajna2015-10-091-6/+0
| | | | | | | | | | | | | | | | 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. (cherry picked from commit f0e3fe840b6f103c589f044bbde18b2faa345279) Conflicts: libreofficekit/source/gtk/lokdocview.cxx Change-Id: I9da639b6693f24634f298f9bc4773f705e944359
* comphelper: add string::join()Miklos Vajna2015-10-081-0/+4
| | | | | | | | If there is a need for it, this could be extended later to work with uno sequences and/or OUStrings as well. Change-Id: Id0af8b1755c8e4b668720563d10a052337e1b2c9 (cherry picked from commit fce720b3e4691eb3b7deef1d005d76b23123a5cb)
* LOK: add CALLBACK_SEARCH_RESULT_SELECTION and implement it in swMiklos Vajna2015-10-071-1/+20
| | | | | | | | | (cherry picked from commit 94752d5970be7ce22e053f9cd83bd59711446a0a) Conflicts: sw/source/uibase/uiview/viewsrch.cxx Change-Id: I4c2a5418101976e1cb38c0fa71dbd66fc883f905
* LOK: add the search phrase to the search result count callbackMihai Varga2015-10-071-1/+5
| | | | | | | | | | | | We need this to notify the user for which search phrase no results were found (cherry picked from commit c30defcf8e34daec6ea0455d772fe296cc26ecc9) Conflicts: libreofficekit/source/gtk/lokdocview.cxx Change-Id: I8cc7ab235b9129dfdcb022145456180ff7e4ca92
* LOK: added the button type and key modifier to postMouseEvent()Mihai Varga2015-10-073-4/+6
| | | | | | | | | | | | | | | 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 (cherry picked from commit c90c08a65c480a1012182979d5e9218f17a2ba2e) Conflicts: libreofficekit/Library_libreofficekitgtk.mk libreofficekit/source/gtk/lokdocview.cxx libreofficekit/source/gtk/tilebuffer.hxx Change-Id: Iaccb93b276f8a6870dd41cc5132dbb85d2bbf71b
* LOK: add CALLBACK_SEARCH_RESULT_COUNT and implement in swMiklos Vajna2015-10-071-1/+3
| | | | | Change-Id: I616b3f6d2881aaa479f6498d3121540980256c15 (cherry picked from commit 6c040ad18bd7b5a2d1d11130f4dbfd1c9d90055d)
* drawinglayer: add transparency support to BackgroundColorPrimitive2DMiklos Vajna2015-10-071-1/+4
| | | | | | | | | | | | Impress has tools Color that is wrapped in this primitive, then later drawinglayer::processor2d::VclPixelProcessor2D::processBasePrimitive2D() converts it back to tools Color. Problem is that the primitive uses basegfx BColor, so the alpha channel is lost. Add member and API to survive this roundtrip. Change-Id: I940e60f6e352022306abac3223636d19dd859355 (cherry picked from commit 9824134ab3c19aa0a00943c65a0e09c36ef23899)
* desktop, vcl: support transparency in VirtualDevices with user-provided memoryMiklos Vajna2015-10-071-0/+2
| | | | | Change-Id: I65c31995c02a644aa436aecd065255fab38045e4 (cherry picked from commit 1d3b613318654ceb2d34996ef8ca653cfe32a8ea)
* basebmp: these headers are not used from other modulesMiklos Vajna2015-10-0727-5479/+0
| | | | | Change-Id: I88c5c341b88a6ea62730e5d3dd1962365c531f70 (cherry picked from commit 8e27c68847c6461c7bc0bdbff44412d6bfb0b1e8)
* lok: add Document::getPartPageRectangles()Miklos Vajna2015-10-073-0/+25
| | | | | Change-Id: I20acd44f7a81471982ba96ad3894a9124e035c5f (cherry picked from commit d355207b45755cfe1eef0147bc25ead931741684)
* lok: add Office::getFilterTypes()Miklos Vajna2015-10-062-0/+24
| | | | | Change-Id: I3b1f4e11f2495e5ccb41f85802f243c0190695ee (cherry picked from commit 9b9f2ad9c819421c9f24bcbca98ee147f70d85b2)
* sfx2: adapt comment to realityMiklos Vajna2015-10-061-1/+1
| | | | | Change-Id: I9dd2934eaa7b479460c3a2dc7d2d51ce5c767a9f (cherry picked from commit b20de6c5cfad2a48c4b35b7111b3d6ea285de061)
* comphelper: add LibreOfficeKit::set/isViewCallback()Miklos Vajna2015-10-061-0/+5
| | | | | Change-Id: Iad0b2ee419327daf478f3ddda2378effe0184067 (cherry picked from commit 1704221067e2bc6ba26eaa83573d29964b413a34)
* sfx2: add SfxViewShell::libreOfficeKitViewCallback()Miklos Vajna2015-10-061-0/+7
| | | | | | | | | | | | | | | | | | | | This is similar to the existing LOK callback, the difference is that the existing one assumes there is only one SfxViewShell instance at the same time. This newer callback is precisely per-view, so model notifications can invoke all view callbacks, while view notifications can invoke only the callback of the relevant view. This is just the framework, all actual client code has to be still ported over (and then the existing callback can be removed). (cherry picked from commit c74ccac7cd94eba052d21cf74e03e214d58942e4) Conflicts: sfx2/source/view/viewimp.hxx Change-Id: I3d8f27740c69fcf6ffbbdce12db2ea088321493d
* lokdocview: set view before calling lok::Document member functionsMiklos Vajna2015-10-061-1/+1
| | | | | | | | | | | | getTextSelection() is still to be done, but has to be moved to the widget first. (cherry picked from commit d3446bc860e2e41adbee5ad6c49f12991dd9087b) Conflicts: libreofficekit/source/gtk/lokdocview.cxx Change-Id: I780a31f1dbce38b2b7398bfdacbbc1c40881229d
* Add missing lok::Document::setPartMode() wrapperMiklos Vajna2015-10-062-4/+7
| | | | | Change-Id: I5dd5f0cfb8b34621b18a35be682249e042d9b173 (cherry picked from commit 42844c2a8b614efa3bb7cd4f2525ce05a8647d20)
* LOK: make getViews() be a member function of DocumentMiklos Vajna2015-10-063-16/+12
| | | | | | | | | | | Just to be consistent, as all other view-related member functions are there, too. No real impact, as only the unit test uses this so far, and it always works with a single document. Change-Id: I46f1ed8265ab95017986ab45c1b510e961192241 (cherry picked from commit a04b31c9facb08a8e38b79480b9a73bd2693cb9e)