diff options
author | Michael Stahl <michael.stahl@allotropia.de> | 2024-06-13 12:59:19 +0200 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2024-06-24 16:36:55 +0200 |
commit | 1e4af581d64c7d29e571e979899fa8625c3f969f (patch) | |
tree | b5bd36db730469803abc7086a0ba47ab37b26749 /external/poppler | |
parent | 22d11dba5c4b11eec5cfb1d307cb3c5eaea8c73f (diff) |
tdf#158658 sw: text formatting: try to make TabOverMargin more crazy
... to better match Word's formatting; this commit is not based on a
complete diagnosis of Word's compatibility-mode tab-in-margin
formatting disorders.
1. in SwTabPortion::PreFormat() allow a left aligned tab beyond the
width of the paragraph, like already done for TabOverSpacing
2. in SwTextFormatInfo::GetLineWidth() add some extra width to the
paragraph so text can be hidden in the right margin.
(it's very unclear what Word does here exactly, in one case it puts
339 additional "a" characters in the margin but then the 340th "a"
goes onto a new line...)
3. in SwTextFormatter::NewTabPortion() allow manual tab stops to be
positioned beyond the width of the paragraph, like already done
for TabOverSpacing
testTdf118672, testTdf120287b, testTdf120287c fail but the files,
converted to RTF, render in Word 2013 basically the same as in Writer
with this change.
Change-Id: I5f74ced09c704bfd9967df61351c8bac6540e714
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168819
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
(cherry picked from commit 10d753b8aadb50ec4309551b97d4cf2163ea3e3d)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168863
Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
Diffstat (limited to 'external/poppler')
0 files changed, 0 insertions, 0 deletions