diff options
author | Marco Cecchetti <marco.cecchetti@collabora.com> | 2017-03-29 12:55:12 +0200 |
---|---|---|
committer | Marco Cecchetti <mrcekets@gmail.com> | 2017-10-02 18:44:46 +0200 |
commit | b230f845e794641721254e0a95b006eb3588aa0c (patch) | |
tree | a8fce1f2b972d7ccd9745b4448a908603b00862a /include/sal | |
parent | a789ef3c41443a3aa964bea31e2c8e22552fcdfd (diff) |
lok - sc: document size as sum of row heights/col widths in pixel
Grid lines, cursor overlay, row/col headers are all computed by
summing up row heights / col widths converted to pixels.
On the contrary the document size was converted to pixel only at the
end after having summed up heights/widths in twips.
All that lead to have a document height/width greater than the
position of the last row/col, with the scrolling in online going
unplesantly far beyond the last row/column.
This patch change the way the document size is computed, so that the
spreadsheet height/width matches the position of the last row/column.
Moreover it exploits the cache-like structure for row/col positions
introduced in a previous commit.
Change-Id: Ibb2cc6a7b592e359a0b1202dc9bea1dd4c421354
Reviewed-on: https://gerrit.libreoffice.org/40448
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Marco Cecchetti <mrcekets@gmail.com>
Diffstat (limited to 'include/sal')
-rw-r--r-- | include/sal/log-areas.dox | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sal/log-areas.dox b/include/sal/log-areas.dox index e1f826e6ec70..c4ae03e79a48 100644 --- a/include/sal/log-areas.dox +++ b/include/sal/log-areas.dox @@ -131,6 +131,7 @@ certain functionality. @li @c sc.core.formulagroup @li @c sc.core.grouparealistener - sc::FormulaGroupAreaListener @li @c sc.filter - Calc filter +@li @c sc.lok.docsize @li @c sc.lok.poshelper @li @c sc.opencl - OpenCL-related stuff in general @li @c sc.opencl.source - Generated OpenCL source code |