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)
Version:
(earliest affected)
4.3.0.4 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
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:


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

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
Description:
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
2.
3.

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: 4.4.0.0.alpha0+
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:

Version: 7.0.4.2
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
7.0.4-2
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.