Bug 162808 - FILEOPEN DOCX: Wrong Paragraph indent
Summary: FILEOPEN DOCX: Wrong Paragraph indent
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: ARM macOS (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: DOCX-Paragraph
  Show dependency treegraph
 
Reported: 2024-09-05 12:35 UTC by Caleb Meredith
Modified: 2024-10-10 03:13 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
input.docx (108.69 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2024-09-05 12:36 UTC, Caleb Meredith
Details
actual.pdf (175.13 KB, application/pdf)
2024-09-05 12:36 UTC, Caleb Meredith
Details
expected.pdf (135.25 KB, application/pdf)
2024-09-05 12:37 UTC, Caleb Meredith
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Caleb Meredith 2024-09-05 12:35:36 UTC
Description:
When converting the attached .docx file to .pdf via the command line or by opening the attached .docx file in LibreOffice writer the headers are placed in the left margin. Whereas opening the .docx file in Microsoft Word or Google Docs aligns headers correctly.

The vertical spacing in LibreOffice on the first page also looks to be different.

Steps to Reproduce:
1. Open the attached .docx file in Writer

or...

1. Run the CLI command `libreoffice --headless --convert-to pdf --outdir . input.docx`.

Actual Results:
See the attached actual.pdf file. The headers are not properly aligned according to the input document.

Expected Results:
See the attached expected.pdf file where the headers are properly aligned.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Version: 24.8.0.3 (AARCH64) / LibreOffice Community
Build ID: 0bdf1299c94fe897b119f97f3c613e9dca6be583
CPU threads: 10; OS: macOS 14.2.1; UI render: Skia/Metal; VCL: osx
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 1 Caleb Meredith 2024-09-05 12:36:29 UTC
Created attachment 196249 [details]
input.docx
Comment 2 Caleb Meredith 2024-09-05 12:36:43 UTC
Created attachment 196250 [details]
actual.pdf
Comment 3 Caleb Meredith 2024-09-05 12:37:37 UTC
Created attachment 196252 [details]
expected.pdf
Comment 4 Dieter 2024-10-09 15:34:48 UTC
Thank you for reporting the bug. I don't think it is related to PDF export, because, if you open it in LO it also shows the different indent.

I couldn't test with MS word, but what I can see is, that first heading has a paragraph direct formatting "First indent -0,76 cm" (same for heading on page 2)