In unit test file sw\qa\extras\ooxmlexport\data\tdf118812_tableStyles-comprehensive.docx
The last cell of the table contains a bulleted paragraph with paragraph settings Left indent 0.63 cm, Right indent 2.54 cm and hanging indent 0.63 cm.
Opening this in Writer sets the Left indent to 2.54 cm and the hanging indent to 0, while the Right indent is correct.
Steps to Reproduce:
Open unit test file sw\qa\extras\ooxmlexport\data\tdf118812_tableStyles-comprehensive.docx
Last cell text has large left indent.
Same indents as the original.
User Profile Reset: No
Verzió: 18.104.22.168.alpha0+ (x64)
Build az.: a0e8a42a45abc7e626346bf01903ed81a026287d
CPU szálak: 8; OS: Windows 10.0 Build 17134; Felületmegjelenítés: alapértelmezett; VCL: win;
Területi beállítások: hu-HU (hu_HU); Felület nyelve: hu-HU
Created attachment 158309 [details]
Screenshot of the original document side by side in Word and Writer
Sorry, but I'm not really sure, which file from bug 118812 I should use. Would be nice, if you can attach it here
(In reply to Dieter from comment #2)
> Sorry, but I'm not really sure, which file from bug 118812 I should use.
> Would be nice, if you can attach it here
> => NEEDINFO
It's attachment #154853 [details]
I confirm it with
Version: 22.214.171.124.alpha0+ (x64)
Build ID: eeb2d19e77d6dc47c68e8ba0920a02cf64a1247b
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: default; VCL: win;
Locale: de-DE (de_DE); UI-Language: en-GB
Looking a bit more at the last three numbered / bulleted paragraphs in the table, they all have somewhat different indent settings compared to Word:
- Left 0.63 cm from Direct format (2.54 cm from Table style),
- Right: 0 (from Table style),
- Hanging: 0.63 cm from Direct format (not specified in Table style).
In Writer: Left 2.54 cm , Right: 0, Hanging: 0.
""Numbering effect can only apply to LRSpaceItem, and not to ULSpace, or linespacing""
- Left: 0.63 cm from Direct format (2.54 cm from Table style)
- Right: 3 cm from Direct format (0 from Table style, )
- Hanging: 0.63 cm from Direct format (not specified in Table style)
In Writer: Left 1.26 cm, Right 3 cm, Hanging: -0.63 cm
""Numbering effects on character properties only affect the numbering,, not the whole paragraph""
- Left: 0.63 cm from Direct format (0 from paragraph style ParaSubStyleDefaults, 2.54 cm from Table style)
- Right: 2.54 cm from paragraph style ParaSubStyleDefaults (0 from Table style)
- Hanging: 0.63 cm from Direct format
In Writer: Left 2.54 cm, Right: 2.54 cm, Hanging: 0
László Németh committed a patch related to this issue.
It has been pushed to "master":
tdf#131070 DOCX import: fix indentation of direct numbering
It will be available in 7.1.0.
The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
Affected users are encouraged to test the fix and report feedback.
Version: 126.96.36.199 (x64) / LibreOffice Community
Build ID: f6099ecf3d29644b5008cc8f48f42f4a40986e4c
CPU threads: 4; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
László, thanks for fixing it!