To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=73229 Issue #|73229 Summary|Inserterting a document with a section and a pagebreak | at the first paragraph produces an unnecessary empty |first page. Component|Word processor Version|OOo 2.0.4 Platform|All URL| OS/Version|All Status|NEW Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|open-import Assigned to|mru Reported by|clutz
------- Additional comments from [EMAIL PROTECTED] Mon Jan 8 00:18:19 -0800 2007 ------- Attached, there are two files that are nearly similar, but behave different when they are inserted into an empty document via "Insert->File...". Here is how to reproduce: 1) create a new empty writer document 2) Insert->File... and select the attached file pagebreak_noSection.odt The content of pagebreak_noSection.odt is shown at the FIRST page of the result document. Thats correct! The file pagebreak_noSection is very simple: there are only two paragraphs with the content "a" and "b". The first paragraph is formatted with the set formatting option Format->Paragraph/TextFlow/Breaks/Insert (Type Page). When inserting that document into the new empty document, the insert method correctly recognizes that there is no content at the first page of the empty document (so the document already starts with a new page) and DOES NOT produce a pagebreak. NOW: 1) create a new empty writer document 2) Insert->File... and select the attached file pagebreak_WITHSection.odt The content of pagebreak_WITHSection.odt is shown at the SECOND page of the result document. Thats NOT correct! The correct behaviour would be to show the content at the first page. The file pagebreak_WITHSection differs from the first document only in one small point: there is a section around the first paragraph "a". When inserting that document into the new empty document, the insert method wrongly creates a new paragraph before the section. Hence the document is no longer empty and an unwanted pagebreak is produced. I think everything would be OK, if the empty paragraph before the inserted section would not be produced in this case. --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]