summaryrefslogtreecommitdiffstats
path: root/include/LibreOfficeKit/LibreOfficeKitEnums.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix typoAndrea Gelmini2019-05-211-1/+1
| | | | | | | Change-Id: I7fd8a1657f0c39937860671de54e7f85e8f13a35 Reviewed-on: https://gerrit.libreoffice.org/72623 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
* Fix typoAndrea Gelmini2019-05-211-1/+1
| | | | | | | Change-Id: Ib4e99488025d2eedb08eff3690cbb57d0741f1f1 Reviewed-on: https://gerrit.libreoffice.org/72621 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
* lok: update graphic selection callback descriptionMarco Cecchetti2019-05-201-4/+33
| | | | | | | Change-Id: I1ae073cc8e307b5c42aed9b17d405ef36ce4dc43 Reviewed-on: https://gerrit.libreoffice.org/70569 Tested-by: Jenkins Reviewed-by: Marco Cecchetti <mrcekets@gmail.com>
* libreofficekit: send show/hide messages for dialogsSzymon Kłos2019-05-031-0/+2
| | | | | | | Change-Id: I2b3ff5e5122b2be099be500ac544bf81f8d1b2ae Reviewed-on: https://gerrit.libreoffice.org/71544 Tested-by: Jenkins Reviewed-by: Jan Holesovsky <kendy@collabora.com>
* lok: allow paste content to popup dialogHenry Castro2019-04-261-1/+2
| | | | | | | Change-Id: I1893d52df505bc43428c37a624ca05c569ba1bc0 Reviewed-on: https://gerrit.libreoffice.org/70958 Tested-by: Jenkins Reviewed-by: Henry Castro <hcastro@collabora.com>
* lok: emit ProfileZone data in messages when requested.Michael Meeks2019-04-151-0/+6
| | | | | | | Change-Id: I42a773e2d5b8e4deeafa8eeb2785913db36a47d7 Reviewed-on: https://gerrit.libreoffice.org/70688 Tested-by: Jenkins Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
* lok: shape scaling reworkMarco Cecchetti2018-12-101-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | Now shape scaling is handled through the transform dialog instead of simulating a drag and drop event in core. For Impress the unit used for length is '100th mm' instead of twips, so we need to transform positions and size from twips to '100th mm'. Anyway since we don't know in SetGeoAttrToMarked if the new data is due to a mouse event or by entering a new value in the transormation dialog or in the side pane, for Impress we need to convert the new values sent by the dialogs from '100th mm' to twips which are converted back in SetGeoAttrToMarked. For performing a uniform scaling when the shape/image is rotated we need to inform the client about the rotation angle for the selected graphic object that has been achieved but appending an angle argument to the graphic selection callback. Now it is also possible to reverse shapes/images through negative scaling. Change-Id: I8a32f3e4b28f36e884a59c59b7e1351e85ef4489 Reviewed-on: https://gerrit.libreoffice.org/64696 Tested-by: Jenkins Reviewed-by: Jan Holesovsky <kendy@collabora.com>
* lok: send signature status on document loadTomaž Vajngerl2018-11-071-0/+5
| | | | | | | Change-Id: If164d0edc9343b1db5ee96a2da46c9436ddbc73f Reviewed-on: https://gerrit.libreoffice.org/62776 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
* lok: Notify about the current editing context.Jan Holesovsky2018-11-061-0/+9
| | | | | | | Change-Id: I47e67b680a6abdb66020b295f55ee6a73b7b5608 Reviewed-on: https://gerrit.libreoffice.org/62956 Tested-by: Jenkins Reviewed-by: Jan Holesovsky <kendy@collabora.com>
* Fix typo: s/an other/another/gAndrea Gelmini2018-08-291-1/+1
| | | | | | | | Change-Id: Ifd83affcb16209f4134c725640fbd95077c8ab0f Reviewed-on: https://gerrit.libreoffice.org/59099 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* sw lok: View jumps to cursor position even if it is moved by an other view.Tamás Zolnai2018-04-071-1/+7
| | | | | | | | | | | | | Scrolling is done twice. Once in SwCursorShell::UpdateCursor() by SCROLLWIN flag. Here we can check the actual viewid and avoid scrolling if the cursor is move by an other user. The second instance in the LO online code, for it we need to pass the viewid identifying the view which moved the cursor. Change-Id: I033274f88ce41acbb632e2aeb0d986ab11cd2d52 Reviewed-on: https://gerrit.libreoffice.org/52220 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
* lok - sc: validity list drop down button callbackMarco Cecchetti2018-04-031-1/+10
| | | | | | | Change-Id: Iaedc7f15147ea7f09e71877b592f932e3ecb37d5 Reviewed-on: https://gerrit.libreoffice.org/51596 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Marco Cecchetti <mrcekets@gmail.com>
* lok: notify clients of clipboard changesAshod Nakashian2018-03-171-0/+11
| | | | | | | Change-Id: I93d8eacc0defb1176ec5d767f49356812cf90ff6 Reviewed-on: https://gerrit.libreoffice.org/50327 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
* sw lok: IME support + unit testPranav Kant2018-02-081-0/+11
| | | | | | | Change-Id: I557493db23dfa3529606050c86161628dbd722e7 Reviewed-on: https://gerrit.libreoffice.org/49354 Reviewed-by: pranavk <pranavk@collabora.co.uk> Tested-by: pranavk <pranavk@collabora.co.uk>
* Fix typosAndrea Gelmini2017-12-211-1/+1
| | | | | | | Change-Id: I5c6e252072089a06f0be4292d51aed020cbc67fe Reviewed-on: https://gerrit.libreoffice.org/46888 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
* lokdocview: Handle INVALIDATE_HEADER cbPranav Kant2017-12-211-3/+29
| | | | | | | | | With this calc gtktiledviewer or any other lok client shouldn't crash anymore when a new view is opened. And while at it, update documentation of callbacks. Change-Id: I436c3b424dd4e2e6b8c312b0d3ba43d7006e944b
* lok: sc: append the col, row position to the cell cursor messageMarco Cecchetti2017-12-161-0/+5
| | | | | | | | | | | | | The payload changes from: "x, y, width, height" to: "x, y, width, height, column, row". This feature is exploited by online starting from the 3.0 release. This change is compatible with older online release: the column, row coordinates are just ignored. Change-Id: I7f8c0e3685c57ff20520ee068b215037f6137389 Reviewed-on: https://gerrit.libreoffice.org/46528 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Marco Cecchetti <mrcekets@gmail.com>
* lok: calc: LOK_FEATURE_RANGE_HEADERSMarco Cecchetti2017-12-151-1/+6
| | | | | | | | | | | | | | For allowing the client to enable/disable the new range based header data Change-Id: I95da8ec3e48137fb75b9b22af3bb1296001ba9ca Reviewed-on: https://gerrit.libreoffice.org/46095 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com> (cherry picked from commit 069cf9321be51e7203e336e0e87d8ba7dc9b729e) Reviewed-on: https://gerrit.libreoffice.org/46570 Reviewed-by: Marco Cecchetti <mrcekets@gmail.com> Tested-by: Marco Cecchetti <mrcekets@gmail.com>
* lokdialog: Simplify; make the LOK dialog API more genericPranav Kant2017-12-041-20/+1
| | | | | | | | | | | | | | Merge the dialog floating window callbacks and function calls into one. Unique window ids across vcl::Window is enough to distinguish between them. Floating windows don't have a LOK notifier as they are created in the vcl itself (so we can't access them from sfx2). Use the parent LOK notifier in that case (which would be a dialog). This API should also help in autopopup filter tunneling later. Change-Id: I63a2c97ffdd84695dc967e14c793089a7c50b41b
* lokdialog: Allow closing a dialog from LOK clientPranav Kant2017-12-041-0/+6
| | | | | | | ... and rename paintDialog -> paintWindow before it's too late. We not only render dialogs now but also popups. Change-Id: I6b1253c4d9be0c79199b683df4413658a461f850
* Change CB_DIALOG_INVALIDATE to CB_DIALOGPranav Kant2017-10-021-1/+1
| | | | | | | We can specify whether it is an invalidation or something else in the payload. Change-Id: I95c5fc0a0a88b5277eaa93c8d1f9b937bddce7b3
* lokdialog: Support for rendering floating window dialog widgetsPranav Kant2017-10-021-1/+19
| | | | | | | Now gtktiledviewer can show floating window dialog widgets when user clicks any of such widget in the dialog. Change-Id: I13d756f236379bc8b2041ed41cb7b502f7fd9b24
* lokdialog: Dialog invalidation supportPranav Kant2017-10-021-1/+5
| | | | | | | | | | For now, just invalidate the whole dialog whenever any of the controls in the dialog get invalidated. Since during dialog painting, many such invalidations are triggered, don't listen to them when we are painting. Change-Id: Ia8fc12cf9469691d60e91ef770d687e5ff01a7ef
* implementing callback for ruler invalidationAditya Dewan2017-08-171-1/+18
| | | | | | | | | | adding commands to fetch and changee ruler state '.uno:RulerState' and '.uno:RulerStateChange' Change-Id: I66107039a7ae5893691feb45c8ab2e4aa476ea76 Reviewed-on: https://gerrit.libreoffice.org/40727 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: pranavk <pranavk@collabora.co.uk>
* lok: sc: notify cell cursor position to address control in clientMarco Cecchetti2017-05-111-1/+6
| | | | | | | | | | A new callback has been introduced for notifying the client: LOK_CALLBACK_CELL_ADDRESS Change-Id: I40b38a3cb8fb658c3f00332d56cfcbaf98e13771 Reviewed-on: https://gerrit.libreoffice.org/37357 Reviewed-by: pranavk <pranavk@collabora.co.uk> Tested-by: pranavk <pranavk@collabora.co.uk>
* LOK - Calc: changed the way header is updated on row/col insert/removeMarco Cecchetti2017-04-211-1/+9
| | | | | | | | | | This patch introduce a new LOK callback for informing the client that the row/col header is no more valid and needs to be updated. Change-Id: I21a3a41d69bd1a3c11c9ffaf1d7d53dbc3b9681d Reviewed-on: https://gerrit.libreoffice.org/36733 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jan Holesovsky <kendy@collabora.com>
* lok: Implement new callbacks for comment notificationsPranav Kant2017-01-271-0/+26
| | | | | | | Change-Id: I298183b295c68c4a39cb1f6fffe4b89b4eaee0f3 Reviewed-on: https://gerrit.libreoffice.org/33469 Reviewed-by: pranavk <pranavk@collabora.co.uk> Tested-by: pranavk <pranavk@collabora.co.uk>
* lok: New feature flag to turn off tiled annotationsPranav Kant2017-01-231-0/+5
| | | | | | | Change-Id: Ie418642242ada98d4a41f30bb6cefcd57f398ef0 Reviewed-on: https://gerrit.libreoffice.org/33472 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jan Holesovsky <kendy@collabora.com>
* Lok: number callback enum for easier debuggingAshod Nakashian2016-11-271-32/+32
| | | | | | | | | | | | | Since the entries and their order are part of the public API, and will not change, numbering them makes it easier to trap particular callbacks by their number (as that's what shows in logs and the debugger). Change-Id: Ife2fe3e601ce3dce0939363d748fcb54d3c85fd4 Reviewed-on: https://gerrit.libreoffice.org/31257 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
* LOK: conditionally include part number in invalidation payloadMiklos Vajna2016-09-291-0/+8
| | | | | | | | | | | | | | | | Since desktop/ code queues, compresses and only emits callbacks on idle, it's possible that two invalidations are in the queue, and there was a setPart() call between them. In this case it's impossible to tell what part the invalidation was sent for. Fix this by conditionally including the part number in the invalidation payload. It's off by default, a new feature flag is added to request this behavior. gtktiledviewer enables this feature flag by default, though just to show the part number in the debug output. Android doesn't enable it. Change-Id: I73e6def848c0eb61d64e71026002c7a0e750aab4
* Clarify what the error code actually isTor Lillqvist2016-08-301-1/+1
| | | | | | | Based on how LOK_CALLBACK_ERROR callbacks are actually done in desktop/source/lib/lokinteractionhandler.cxx. Change-Id: Ibbe37c681252aa91c979d51b9aae6236ff9d88de
* Emit notification to a LibreOfficeKit client also when a redline is modifiedTor Lillqvist2016-08-291-0/+23
| | | | | | | Work in progress, not all modifications to a redline record cause notifications yet. Change-Id: I01614cd6ede9576e9cc329889fef86342567325f
* sw redlines: expose description as part of the UNO/LOK APIMiklos Vajna2016-08-191-0/+1
| | | | | | | | | A redline can have a manual comment and also an autogenerated description, like "Insert 'abc'". Expose this later property as well, as it provides useful additional information, especially when the comment property is empty. Change-Id: Id0f0ff62aef58d96b9b6071706c6f5b4a0d74800
* sw lok: add callbacks for redline table insertion / removalMiklos Vajna2016-08-191-0/+24
| | | | | | | | | An alternative would be to follow the Manage Changes dialog approach and subscribe to the SFX_HINT_DOCCHANGED notification in SwDocShell, cache the old redline table and find out the differences to the current one, but that way sound much more complex without benefits. Change-Id: I20a45285b88255ccea9d6646c0b5288ac1c91879
* sw: add new LOK_CALLBACK_VIEW_LOCK callbackMiklos Vajna2016-07-221-0/+16
| | | | | | | | | | | | | | | | | When we're after SdrBeginTextEdit(), but before SdrEndTextEdit(), and have multiple views, then only the active view paints the edited text, the other views look like the shape has no text at all. Add a new callback that exposes the position and size of the rectangle where the shape text will be painted after text edit ended, so clients can draw some kind of locking indicator there. This way the rendered result can differ in the "shape has no text" and the "shape text is edited in an other view" cases. Change-Id: I6096479a8a05c2547d15222e6d997b848af02945 Reviewed-on: https://gerrit.libreoffice.org/27441 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
* sw lok: add LOK_CALLBACK_VIEW_CURSOR_VISIBLEMiklos Vajna2016-07-081-0/+16
| | | | | | | | | | With this, in case a text cursor is turned into a graphic selection in view#0, then view#1 can also hide the text cursor of view#0. Change-Id: I7de89b8537ef8b0985336793b719d93733604bff Reviewed-on: https://gerrit.libreoffice.org/27044 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
* svx lok: add LOK_CALLBACK_GRAPHIC_VIEW_SELECTIONMiklos Vajna2016-07-011-0/+16
| | | | | | | | | So a view can be aware where the graphic selections of other views are. Change-Id: I0cc420cfe4bf3824fbfa1a58da889cac5e9a7b60 Reviewed-on: https://gerrit.libreoffice.org/26863 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
* sc lok: add LOK_CALLBACK_CELL_VIEW_CURSORMiklos Vajna2016-07-011-1/+16
| | | | | | | | | So a view can be aware where the cell cursors of other views are. Change-Id: Ifcf06c0019c6af8b859e2e92222e4f3fd18da74f Reviewed-on: https://gerrit.libreoffice.org/26844 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
* sw lok: add LOK_CALLBACK_TEXT_VIEW_SELECTIONMiklos Vajna2016-06-211-1/+15
| | | | | | | | | So a view can be aware where selections of other views are. Change-Id: I5026b1ff2b99a4eedfd0bde32a05ceb8e2f424bc Reviewed-on: https://gerrit.libreoffice.org/26542 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
* sw lok: add LOK_CALLBACK_INVALIDATE_VIEW_CURSORMiklos Vajna2016-06-201-0/+17
| | | | | | | | | So a view can be aware where cursors of other views are. Change-Id: I6133fb55aa2869843c0284b7d76264bab3b3d5da Reviewed-on: https://gerrit.libreoffice.org/26513 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
* lok context menu: Expose the disabled commands too.Jan Holesovsky2016-04-081-6/+13
| | | | | | | OTOH, don't show choices that don't have the .uno: command, we have no way to handle them. Change-Id: I0df6ffe2049bbf11ba4b8931164be6a3381d3916
* lok context menu: Expose context menuPranav Kant2016-04-081-0/+16
| | | | Change-Id: I0968689630e10f838c075e86357eb36a9a220d0d
* Mention that there are two disjunct sets of callbacksTor Lillqvist2016-03-041-0/+9
| | | | Change-Id: Ia8f18666c766cafa63cc702bfdfa69e971cf0e71
* sd lok: Remove LOK_CALLBACK_PARTS_COUNT_CHANGED from the API.Jan Holesovsky2016-03-031-12/+0
| | | | | | | | | | | | LOK_CALLBACK_PARTS_COUNT_CHANGED did not cover more complex scenarios, like more pages deleted at the same time, etc. Instead, we need to trigger the LOK_CALLBACK_DOCUMENT_SIZE_CHANGED, and the client has to be smart enough to update the previews in a way that does not consume too much resources - ie. it has to have a link between the part names (which are unique) and the previews, and request only the missing ones. Change-Id: I36ff5dc86f360e3c7bd2c55fae8aaa99e054b4eb
* sd lok: add LOK_CALLBACK_PARTS_COUNT_CHANGED callbackHenry Castro2016-02-161-0/+12
| | | | | | | | | | | | | | | | | | In the tiled rendering case, when a slide is deleted or inserted the sorted slides are updated on client side. However, when .uno:Undo and .uno:Redo actions are requested on client side the sorted slides are required to update all sorted slides. So every time when .uno:InsertPage, .uno:DeletePage, .uno:Undo, .uno:Redo actions are requested, it will notify verbose action (PageInserted, PageDeleted) with index on client side to update the sorted slide index. Change-Id: Iebda2aa11be13aea8fbb6d0cc50442805d7485e9 Reviewed-on: https://gerrit.libreoffice.org/22309 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Henry Castro <hcastro@collabora.com>
* lok: Search result should contain info if it is a 'search all' result.Jan Holesovsky2016-02-061-0/+1
| | | | Change-Id: Ia3ee81ced4f74c0d029a478bd59eff44d72ef327
* lok interaction handler: Add handling of io and network errors.Jan Holesovsky2016-02-031-0/+14
| | | | Change-Id: If7c84a7b24f2072439718fb0c473b73243f2ecc1
* libreofficekit: password interaction optional and off by defaultMichael Stahl2016-01-271-0/+26
| | | | | | | | | | Add setOptionalFeatures() function that clients must call during initialization, and enum LibreOfficeKitOptionalFeatures. Change-Id: I73035193c87033052921c3aad94fdc057fe81111 Reviewed-on: https://gerrit.libreoffice.org/21809 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com>
* libreofficekit: ask for password when loading encrypted documentsMichael Stahl2016-01-251-1/+18
| | | | Change-Id: I3b3b0c0e64965280c24842b0cf70a21b8abb4dfb
* Let LIBO_INTERNAL_ONLY imply LOK_USE_UNSTABLE_APIMiklos Vajna2015-12-071-2/+2
| | | | Change-Id: Ifbed5e534ba79d32b7188bb7fb7108338b6e124d