Bug 64876 - FORMATTING: Header / Footer of RTF does not show correctly as it contains text sharing the same area as the body of the text
Summary: FORMATTING: Header / Footer of RTF does not show correctly as it contains tex...
Status: RESOLVED DUPLICATE of bug 119952
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.0.0.3 release
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:rtf
Depends on:
Blocks: RTF
  Show dependency treegraph
 
Reported: 2013-05-22 17:44 UTC by lduchon
Modified: 2022-01-27 19:39 UTC (History)
6 users (show)

See Also:
Crash report or crash signature:


Attachments
Sample document with the issue (67.21 KB, application/rtf)
2013-05-22 17:44 UTC, lduchon
Details
MSWordViewer (67.72 KB, image/png)
2014-08-07 18:35 UTC, Alexandr
Details
minimum test case with word 2013 (41 kb) (41.61 KB, application/rtf)
2018-02-10 06:38 UTC, Mike
Details
minimum test case with word 2007 (36 kb) (36.37 KB, application/rtf)
2018-02-10 06:39 UTC, Mike
Details
minimum test case with WPS office (22 kb) (22.83 KB, application/rtf)
2018-02-10 06:39 UTC, Mike
Details
screenshot word 2013 minimum test case (78.34 KB, image/png)
2018-02-10 06:43 UTC, Mike
Details
The example file in Word and Writer master (153.91 KB, image/png)
2022-01-27 19:39 UTC, Gabor Kelemen (allotropia)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description lduchon 2013-05-22 17:44:23 UTC
Created attachment 79676 [details]
Sample document with the issue

Attached document.RTF file renders incorrectly LibreOffice 4.0 Writer (on Windows).
The reason seems to be header (or footer) that is used as a "side-text" to the body of the document.
This results into unreadable document.
Comment 1 Thomas van der Meulen [retired] 2013-05-23 18:15:19 UTC
Thank you for your bug report, I can reproduce this bug running LibreOffice 4.0.3.3 on Mac osx 10.8.3. it looks like some text disapered and it is alle moved.
Comment 2 Alexandr 2014-08-07 18:35:39 UTC
Created attachment 104245 [details]
MSWordViewer

Reproducible with LibreOffice 4.2.5 and 4.3.1.1 on Debian. I attach a screenshot of MS Word Viewer as a reference representation.
Comment 3 QA Administrators 2015-09-04 02:48:55 UTC Comment hidden (obsolete)
Comment 4 Alexandr 2015-09-19 17:26:09 UTC
In Libre Office 5.0.1 some text is moved to the second page.
Comment 5 Robinson Tryon (qubit) 2015-12-10 01:08:12 UTC Comment hidden (obsolete)
Comment 6 QA Administrators 2017-01-03 19:39:30 UTC Comment hidden (obsolete)
Comment 7 Mike 2018-02-10 06:37:39 UTC
Still present in 

Version: 6.1.0.0.alpha0+ (x64)
Build ID: b1069ea6f25daa268eb4358d5ea20094b46ef347
CPU threads: 4; OS: Windows 6.1; UI render: default; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2018-02-06_23:49:25
Locale: de-DE (de_DE); Calc: group

I made three minimum test cases from the sample document. They all have the same content, but differ in size. Word 2013 (41 kb), Word 2007 (36 kb) and WPS Office (22 kb).
Comment 8 Mike 2018-02-10 06:38:43 UTC
Created attachment 139749 [details]
minimum test case with word 2013 (41 kb)
Comment 9 Mike 2018-02-10 06:39:17 UTC
Created attachment 139750 [details]
minimum test case with word 2007 (36 kb)
Comment 10 Mike 2018-02-10 06:39:55 UTC
Created attachment 139751 [details]
minimum test case with WPS office (22 kb)
Comment 11 Mike 2018-02-10 06:43:21 UTC
Created attachment 139752 [details]
screenshot word 2013 minimum test case
Comment 12 QA Administrators 2019-02-11 03:40:00 UTC Comment hidden (obsolete)
Comment 13 QA Administrators 2021-02-11 04:11:31 UTC Comment hidden (obsolete)
Comment 14 Mike 2021-02-24 15:18:46 UTC
Reproduced

Version: 7.1.0.3 (x64) / LibreOffice Community
Build ID: f6099ecf3d29644b5008cc8f48f42f4a40986e4c
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: de-DE
Calc: CL
Comment 15 Gabor Kelemen (allotropia) 2022-01-27 19:39:04 UTC
Created attachment 177850 [details]
The example file in Word and Writer master

This seems to have been fixed (rather: worked around) since:

https://git.libreoffice.org/core/+/11c61e5f0544966f3901c8fb4270bb07424942f1

author	Attila Szűcs <szucs.attila3@nisz.hu>	Fri Jun 25 10:37:47 2021 +0200
committer	László Németh <nemeth@numbertext.org>	Mon Jul 05 12:26:08 2021 +0200

tdf#119952 DOCX import: fix negative page margins

of course this is not a real solution, Writer should support negative margins (overlay margin counted from the bottom of page) properly.
Comment 16 Gabor Kelemen (allotropia) 2022-01-27 19:39:54 UTC
Thanks Attila for making this one go away as well :)

*** This bug has been marked as a duplicate of bug 119952 ***