Description: In some DOCX files, the header alignment appears incorrect or misaligned when opened in LibreOffice. However, the same documents display the header correctly in Microsoft Word. When the header contains both images and text, LibreOffice overlaps these elements, whereas Microsoft Word shows them properly aligned. Steps to Reproduce: 1.Create a document in Microsoft Word with a header that includes elements such as left-, center-, or right‑aligned text, tab stops, indentation, fields (like page number or date), shapes, or an image/logo. 2.Save the document in DOCX format. 3.Open the file in LibreOffice Writer, where the header appears misaligned. Actual Results: The content in the header is not positioned correctly, and the text and images within it overlap. Expected Results: LibreOffice should render the headers exactly as they appear in Microsoft Word. Reproducible: Always User Profile Reset: No Additional Info: Version: 25.8.4.2 (X86_64) Build ID: 290daaa01b999472f0c7a3890eb6a550fd74c6df CPU threads: 20; OS: Windows 11 X86_64 (build 26200); UI render: Skia/Vulkan; VCL: win Locale: en-US (en_US); UI: en-US Calc: CL threaded
Created attachment 204763 [details] Issue - Docx file
Created attachment 204764 [details] output screenshots
Maybe a duplicate of https://bugs.documentfoundation.org/show_bug.cgi?id=95228
Confirm Version: 26.8.0.0.alpha0+ (X86_64) Build ID: 7cbc16bf6e115d2aaabe9b9b20edd66a5c597571 CPU threads: 4; OS: Linux 6.8; UI render: default; VCL: gtk3 Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US Calc: threaded and Version 4.1.0.0.alpha0+ (Build ID: efca6f15609322f62a35619619a6d5fe5c9bd5a)