Bug 90758

Summary: Bug with page break after index in .docx
Product: LibreOffice Reporter: gon_aranda
Component: LibreOfficeAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED INVALID    
Severity: normal CC: ilmari.lauhakangas
Priority: medium    
Version: Inherited From OOo   
Hardware: Other   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Attachments: Two page breaks, one before and one after (should be but isn’t)
An example document .docx
The same example document but .doc.
The original file .dot

Description gon_aranda 2015-04-21 01:06:37 UTC
Created attachment 114974 [details]
Two page breaks, one before and one after (should be but isn’t)

The page break doesn’t work after the index in the documents .docx. In .doc it work fine and in .docx that is the only page break that doesn’t work.
Comment 1 gon_aranda 2015-04-21 01:07:43 UTC
Created attachment 114975 [details]
An example document .docx
Comment 2 gon_aranda 2015-04-21 01:51:25 UTC
Created attachment 114977 [details]
The same example document but .doc.

Here the page brak after the index work.
Comment 3 Buovjaga 2015-04-25 12:02:53 UTC
Confirmed.

Did you originally create the docx in LibreOffice? You don't have an odt version?

Win 7 Pro 64-bit Version: 5.0.0.0.alpha1+ (x64)
Build ID: f3375fa07f27bd2ade519af3c07d69040d10eaa9
TinderBox: Win-x86_64@42, Branch:master, Time: 2015-04-22_23:38:50
Locale: fi_FI

Ubuntu 15.04 64-bit 
OpenOffice.org 3.3.0
OOO330m20 (Build:9567)
Comment 4 gon_aranda 2015-04-25 13:36:22 UTC
Created attachment 115086 [details]
The original file .dot

This is the original file created in .dot.
Comment 5 gon_aranda 2015-04-25 13:38:30 UTC
(In reply to Beluga from comment #3)
> Confirmed.
> 
> Did you originally create the docx in LibreOffice? You don't have an odt
> version?
> 
> Win 7 Pro 64-bit Version: 5.0.0.0.alpha1+ (x64)
> Build ID: f3375fa07f27bd2ade519af3c07d69040d10eaa9
> TinderBox: Win-x86_64@42, Branch:master, Time: 2015-04-22_23:38:50
> Locale: fi_FI
> 
> Ubuntu 15.04 64-bit 
> OpenOffice.org 3.3.0
> OOO330m20 (Build:9567)

 The file comes from a template in .dot that I just downloaded in case it's needed.
Comment 6 Buovjaga 2015-04-25 18:28:05 UTC
Ok, I noticed that using the plain .dot file and saving to .docx, the page break after TOC is preserved.

So I thought you have simply edited your file in a way that has deleted the page break.

I fixed it in your own .docx by:
1. Adding an empty paragraph above 1. Brief Description
2. Selecting Use-Case Specification: <Use-Case Name> and cutting it, pasting it in the extra empty paragraph above 1. Brief Description
3. Inserting a page break in front of Use-Case Specification

I'm closing this as invalid, I hope you are ok with that.

Win 7 Pro 64-bit, Version: 4.4.3.1
Build ID: b2f347f2ac68821efc00b6f1793cda90af748118
Locale: fi_FI

Version: 5.0.0.0.alpha1+ (x64)
Build ID: f3375fa07f27bd2ade519af3c07d69040d10eaa9
TinderBox: Win-x86_64@42, Branch:master, Time: 2015-04-22_23:38:50
Locale: fi_FI