Issue 37417

Summary: Pagebreak gets lost when inserting document with only one paragraph
Product: Writer Reporter: pjentsch <peter.jentsch>
Component: editingAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: issues
Version: OOo 1.1.3   
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
Three example documents (one with page break, one with single paragraph, one resulting document) none

Description pjentsch 2004-11-18 18:06:10 UTC
When inserting a document (via "Insert->Document") on the first paragraph of a
page after a pagebreak, and the document contains only one paragraph, the
pagebreak will be removed. 
Inserting documents with more than one paragraph works as expected.
Comment 1 pjentsch 2004-11-18 18:08:12 UTC
Created attachment 19474 [details]
Three example documents (one with page break, one with single paragraph, one resulting document)
Comment 2 eric.savary 2005-03-09 12:03:19 UTC
As described. Please forward to the appropriate developper.
Comment 3 zhang_yibo 2006-01-17 19:52:10 UTC
Successfully replicated the bug in OOo 1.1.3 running Linux 7.3, Intel Pentium 4
CPU 3.00GHz. I ran the instructions on the attached document and arrived at the
same result. 

Just a minor point to mention is that the description on how to replicate this
bug could have been more concise if the instruction “Insert->File†was used
instead of "Insert->Document". 

Further testing revealed if the file to be inserted has a paragraph on the first
page and then a page break followed by another paragraph, inserting it into the
first file will cause the page break to be removed. Inserting a file with more
than one paragraph on the first or second page preserves the page break. These
problems also persists in OOo 2.0.