I often have to open .doc files made by various versions of MS Word. In many of these documents are applied section brakes, right on the top of the first page, below the header. No I am using LO Writer 188.8.131.52 but newer versions like 6.1.5 and 6.2.0 do the same. The problem is, that the LO Writer handles and displays these section breaks like page breaks.
Steps to Reproduce:
1. Open the .doc file containing section breaks made by MS Word.
The section brakes are displaying like page breaks.
Not displaying section breakes like page breaks. :)
User Profile Reset: No
Thank you for reporting the bug. Please attach a sample document, as this makes it easier for us to verify the bug.
(Please note that the attachment will be public, remove any sensitive information before attaching it.
See https://wiki.documentfoundation.org/QA/FAQ#How_can_I_eliminate_confidential_data_from_a_sample_document.3F for help on how to do so.)
I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' once the requested document is provided.
Created attachment 149117 [details]
example .doc file
Created attachment 149177 [details]
example image file
This image shows the right way the document should be displayed.
confirm wrong layout in example.doc in
Version: 184.108.40.206.alpha0+ (x64)
Build ID: 13a260f59e421f3e67845f8f2eb22b8f0f8fcaf0
CPU threads: 4; OS: Windows 10.0; UI render: GL; VCL: win;
TinderBox: Win-x86_64@42, Branch:master, Time: 2019-03-11_02:46:09
Locale: ru-RU (ru_RU); UI-Language: en-US
Build ID: 3ca42d8d51174010d5e8a32b96e9b4c0b3730a53
Threads 4; Ver: 4.15; Render: default;
but not in
Build ID: c15927f20d4727c3b8de68497b6949e72f9e6e9e
This seems to have begun at the below commit.
Adding Cc: to Luboš Luňák ; Could you possibly take a look at this one?
2eb63500efafca6bacf547876546d1bdba451590 is the first bad commit
Author: Matthew Francis <email@example.com>
Date: Sat Mar 14 23:33:59 2015 +0800
Author: Luboš Luňák <firstname.lastname@example.org>
AuthorDate: Mon Jul 21 10:56:52 2014 +0200
Commit: Luboš Luňák <email@example.com>
CommitDate: Mon Jul 21 11:02:04 2014 +0200
ww8import create a pagedesc if continuous section changes margins (bnc#875383)
This is similar to what writerfilter does. MSWord can have one page with several
different margins, which are saved using continuous sections, which causes all
kinds of trouble, because either we treat them as Writer sections, which means
we lose some of the data, or we treat them as Writer page styles, which causes
spurious page breaks if in the wrong place. Either option has its problems, but
here it seems slightly better to go for keeping the data and hoping the page
break will be in a place where a break will be anyway.
Closing as a dupe of bug 87764
*** This bug has been marked as a duplicate of bug 87764 ***