Bug 120208 - DOC import filter gives wrong page header size (WPS Office)
Summary: DOC import filter gives wrong page header size (WPS Office)
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected) release
Hardware: All All
: medium normal
Assignee: Not Assigned
Keywords: filter:doc
Depends on:
Blocks: DOC-Header-Footer MSO-External-Producers
  Show dependency treegraph
Reported: 2018-09-30 09:37 UTC by hwm
Modified: 2021-04-07 16:47 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:
Regression By:

docx file that is not correctly imported (244.50 KB, application/wps-office.docx)
2018-09-30 09:38 UTC, hwm
pdf export how the file should appear in Writer (136.73 KB, application/pdf)
2018-09-30 09:39 UTC, hwm

Note You need to log in before you can comment on or make changes to this bug.
Description hwm 2018-09-30 09:37:26 UTC
The attached docx file opens in Writer, but the size of the header is not correctly converted, so that the formatting is wrong. Manually setting the header height to a fixed value is a workaround.

Steps to Reproduce:
1. open Plan.docx

Actual Results:
Resulting header covers almost the full page, text spreads over 10 pages

Expected Results:
two-page document with fitting header (like in Plan.pdf export done with wps office)

Reproducible: Always

User Profile Reset: Yes

Additional Info:
Comment 1 hwm 2018-09-30 09:38:33 UTC
Created attachment 145273 [details]
docx file that is not correctly imported
Comment 2 hwm 2018-09-30 09:39:23 UTC
Created attachment 145274 [details]
pdf export how the file should appear in Writer
Comment 3 raal 2018-10-02 12:10:52 UTC
This is .doc file with .docx suffix.

Reproducible with Version:
Build ID: dea4a3b9d7182700abeb4dc756a24a9e8dea8474 and LO 6.2
Comment 4 QA Administrators 2020-12-25 03:52:56 UTC Comment hidden (obsolete)
Comment 5 hwm 2020-12-26 08:59:35 UTC
The bug is still present:

Build ID: 00(Build:2)
CPU threads: 8; OS: Linux 5.4; UI render: default; VCL: kf5
Locale: de-DE (de_DE.utf8); UI: de-DE
Calc: threaded
Comment 6 Justin L 2021-04-07 16:47:15 UTC
The biggest problem here is the huge single-row table as the third paragraph in the header. That paragraph/table doesn't exist at all in Word 2003.