diff options
author | Dennis Francis <dennis.francis@collabora.com> | 2021-11-19 10:21:46 +0530 |
---|---|---|
committer | Dennis Francis <dennis.francis@collabora.com> | 2022-01-29 05:01:16 +0100 |
commit | 09ed49ae42b7c5368d0ef2774ba4e04aeb9bafdb (patch) | |
tree | d92e54e93c11745dce69a32c37b7cbfd430e7d6c /sc/CppunitTest_sc_sheetlinksobj.mk | |
parent | 651ff4f195804b206941e6316c5120a914d28b6b (diff) |
lokCalcRTL: fix editcell tile painting
Don't use internal gridwindow width to invert the edit area coordinates.
The gridwin width is not in sync with lok client width, and it seems
making them in sync is non-trivial as it currently breaks other things.
For tile-painting, always use the width of visible columns in the
(combined-)tile area as the mirror width.
In the case of LOK + RTL, because we avoid coordinate mirroring based on
gridwin-width, any corresponding adjustments in edit engine paper-size,
output area, visible area are done appropriately.
Advantage of this approach is that the invalidation rectangles sent are
in the document coordinates which is exactly what the client expects! So
no additional coordinate reversal needed in core or in lok client for
invalidation.
Change-Id: I0b687a12dc9344fba9ee772111e7598888fa16bf
(cherry picked from commit 8266f569c864ae309f362088d42dfb3b952c4267)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128896
Tested-by: Jenkins
Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
Diffstat (limited to 'sc/CppunitTest_sc_sheetlinksobj.mk')
0 files changed, 0 insertions, 0 deletions