Bug 157927 - Header formatting is off when docx file is opened and converted to pdf in LO Writer
Summary: Header formatting is off when docx file is opened and converted to pdf in LO ...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.6.2.1 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: DOCX-Header-Footer
  Show dependency treegraph
 
Reported: 2023-10-26 08:01 UTC by Omid
Modified: 2024-11-10 08:50 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Sample dummy file (47.84 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2023-10-26 08:35 UTC, Omid
Details
24.8.2.1 (488.39 KB, image/jpeg)
2024-11-10 08:50 UTC, Chika
Details

Note You need to log in before you can comment on or make changes to this bug.
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.
Comment 3 Chika 2024-11-10 08:49:45 UTC
Hello,

I can reproduce this issue in the latest stable version.

Version: 24.8.2.1 (X86_64) / LibreOffice Community
Build ID: 0f794b6e29741098670a3b95d60478a65d05ef13
CPU threads: 8; OS: macOS 13.6.3; UI render: Skia/Metal; VCL: osx
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

Adding my comment with the latest information and findings.

Sincerely,

Chika
Comment 4 Chika 2024-11-10 08:50:09 UTC
Created attachment 197519 [details]
24.8.2.1