diff options
author | Tünde Tóth <toth.tunde@nisz.hu> | 2022-07-27 08:58:35 +0200 |
---|---|---|
committer | László Németh <nemeth@numbertext.org> | 2022-08-18 13:39:31 +0200 |
commit | e59db22b3b57c9e1a5678218cb56fb75bcc84c26 (patch) | |
tree | ebebb3ac16caba9876cd136561d534e8509cec64 /emfio | |
parent | 326534372ee5436d2f6e972de46fc01bb635e9d9 (diff) |
tdf#150434: chart2, XLSX import: strip long legend labels
Full text of legend labels could overflow the chart area,
if the legend text was too long. If it's longer than
520 characters, strip it at the first space from the
500th character (or if there is no space, at the 500th
character). This results better XLSX interoperability, too.
Change-Id: I23a94f6baaf620b40e9b2819738eba5c5a921722
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137492
Reviewed-by: László Németh <nemeth@numbertext.org>
Tested-by: László Németh <nemeth@numbertext.org>
Diffstat (limited to 'emfio')
0 files changed, 0 insertions, 0 deletions