diff options
author | Regina Henschel <rb.henschel@t-online.de> | 2020-06-20 15:08:12 +0200 |
---|---|---|
committer | Regina Henschel <rb.henschel@t-online.de> | 2020-06-22 10:43:08 +0200 |
commit | 3f3b50015e4fd9efc3459612a70409fca49cf390 (patch) | |
tree | b9bf5c45f1c8732e74c0852640b666eca78e59af /ios | |
parent | 586f106bbec37c81804c63969fd3ad0c1d3da054 (diff) |
tdf#134053 tweak dash and space length for ooxml
OOXML does not specify how line caps are applied to dashes. MS Office
keeps dash and space length for preset dash styles and for round
custom dash styles and add them for square line caps on custom dash
styles. ODF specifies, that the linecaps are added to the dashes and
the spaces are reduced, so that the dash-space pair keeps its length.
This patch changes the dash and space length on import and export so,
that they look nearly the same in LibreOffice as in MS Office.
For custom dash styles with square line cap the first dash is longer
as in MS Office. I have no solution for that. But I consider it as
minor problem, because MS Office has not even an UI for that case. It
should not hinder the improvement for the usual cases.
Change-Id: I3e3e4b7c9d71e440ed301d2be423100440cb688b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96769
Tested-by: Jenkins
Reviewed-by: Regina Henschel <rb.henschel@t-online.de>
Diffstat (limited to 'ios')
0 files changed, 0 insertions, 0 deletions