Bug 157927

Summary: Header formatting is off when docx file is opened and converted to pdf in LO Writer
Product: LibreOffice Reporter: Omid <omid.hazara>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: normal CC: buzea.bogdan, miguelangelrv
Priority: medium    
Version: 7.6.2.1 release   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 104522    
Attachments: Sample dummy file

Description Omid 2023-10-26 08:01:48 UTC
Description:
I am trying to resolve an issue regarding the imported docx files from Word Office 365 to the redhat linux server that uses LO for conversion of these docx files. The issue is that when opening the file, the header and some formatting regarding the fonts and other styles disappear in the newer versions of LO. The logo in the header is rendered but now shown and is malpositioned in the middle of the header and cannot be edited manually either. These headers follow a template at the org. and does not seem to have problem with the earlier versions of LO (v6.4 and v7.x.y versions closer to that are Ok but not the later versions) when opened and converted to pdf.

Steps to Reproduce:
1. Given a sample file with logo as part of the header, when opened in LO Writer V7.6.2.1 the logo is misplaced


Actual Results:
The docx/ converted pdf content is not same as the word file and the Scania logo is not where it should be.

Expected Results:
The docx/ converted pdf content should reflect the content in the same way as it is available in word file with format and font.


Reproducible: Always


User Profile Reset: No

Additional Info:
Sample dummy file attached
Comment 1 Omid 2023-10-26 08:35:09 UTC
Created attachment 190431 [details]
Sample dummy file
Comment 2 m_a_riosv 2023-10-26 17:23:21 UTC
Reproducible
Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 926826e40955175a8c115472e0d2f6c7f2f1a453
CPU threads: 16; OS: Windows 10.0 Build 22621; UI render: Skia/Vulkan; VCL: win
Locale: es-ES (es_ES); UI: en-US Calc: CL threaded

and I can't find any version working fine.