summaryrefslogtreecommitdiff
path: root/download.lst
diff options
context:
space:
mode:
authorSzymon Kłos <szymon.klos@collabora.com>2023-09-05 16:58:22 +0200
committerSzymon Kłos <szymon.klos@collabora.com>2023-09-11 09:58:55 +0200
commit202f4119632cb845d0ba5e5fff23c1fd94c18bed (patch)
tree0cb54f2c0fd02ad3c47ac23d33ad56c8b478cba5 /download.lst
parentda8e60218adac676e33b0031c70859027ec5f328 (diff)
lok: save to xlsx changes column size
When xlsx spreadsheet was opened in LOK on every save default column width was decreased. This doesn't happen in non-LOK case. Column width in Excel are defined by double value which specifies number of '0' characters which fit into the column. On export we use mnCharWidth from XclRootData to convert Calc twips size to number of characters. In LOK case it was 102 while in non-lok case 101. It was caused by different Reference Device used in ScDocument::GetRefDevice() because in LOK case we are in WYSWIG mode as introduced in ScModelObj::initializeForTiledRendering in commit c25062f: sc tiled rendering: Don't adjust the text width according to printer. Let's use for export purpose the GetVirtualDevice_100th_mm() Change-Id: I6709194d7924e8c7e0aaa75ff3901afbcc1f8c11 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156576 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com> Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156750 Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Diffstat (limited to 'download.lst')
0 files changed, 0 insertions, 0 deletions