diff options
author | Marco Cecchetti <marco.cecchetti@collabora.com> | 2017-12-13 18:02:01 +0100 |
---|---|---|
committer | Marco Cecchetti <mrcekets@gmail.com> | 2017-12-16 14:13:46 +0100 |
commit | 7a5efaa02cbe4140c017d8777993479369c2f10a (patch) | |
tree | bf9aeceed51ab1a9e7d770d096d9944f1182503a /include/LibreOfficeKit | |
parent | Updated core (diff) | |
download | core-7a5efaa02cbe4140c017d8777993479369c2f10a.tar.gz core-7a5efaa02cbe4140c017d8777993479369c2f10a.zip |
lok: sc: append the col, row position to the cell cursor message
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>
Diffstat (limited to 'include/LibreOfficeKit')
-rw-r--r-- | include/LibreOfficeKit/LibreOfficeKitEnums.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/LibreOfficeKit/LibreOfficeKitEnums.h b/include/LibreOfficeKit/LibreOfficeKitEnums.h index f14ce4d36a7a..9cf635bb4c40 100644 --- a/include/LibreOfficeKit/LibreOfficeKitEnums.h +++ b/include/LibreOfficeKit/LibreOfficeKitEnums.h @@ -267,6 +267,11 @@ typedef enum /** * The size and/or the position of the cell cursor changed. * + * Payload format: "x, y, width, height, column, row", where the first + * 4 numbers are document coordinates, in twips, and the last 2 are table + * coordinates starting from 0. + * When the cursor is not shown the payload format is the "EMPTY" string. + * * Rectangle format is the same as LOK_CALLBACK_INVALIDATE_TILES. */ LOK_CALLBACK_CELL_CURSOR = 17, |