https://bugs.documentfoundation.org/show_bug.cgi?id=97526

            Bug ID: 97526
           Summary: Copy of the first line of the page and inserting,
                    produce a page break (exept of the first page)
           Product: LibreOffice
           Version: 5.2.0.0.alpha0+ Master
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 122353
  --> https://bugs.documentfoundation.org/attachment.cgi?id=122353&action=edit
Example from LO and saved in MSWord

First scenario (with MSWord):
-----------------------------
 1. In a empty doc insert "First Line in Lo" <Enter>
 2. save as odt
 3. load in MSWord insert "Second Line in MS" <Enter>
 4. and save
 5. load in Lo
 6. copy the "First Line in Lo"
 7. on a new paragraph insert the Line
 8. you can see a page break and the "First Line in Lo"

When you not have MSWord, you can you us the attached file then you can start
with setp 5

I have investigate and found follow

In LO it is: 
<office:automatic-styles>
  <style:style style:name="P1" style:family="paragraph" 
               style:parent-style-name="Standard">
     <style:text-properties officeooo:rsid="0006bdfe" 
                            officeooo:paragraph-rsid="0006bdfe"/>
  </style:style>
</office:automatic-styles>

And when MSWord save, it look like:
<office:automatic-styles>
  <style:style style:name="P1" style:parent-style-name="Standard" 
               style:master-page-name="MP0" style:family="paragraph">
        <style:paragraph-properties fo:break-before="page"/>
  </style:style>
</office:automatic-styles>

The different is: 

    style:master-page-name="MP0" 
    fo:break-before="page" 

I have found a side 
 http://books.evc-cit.info/odbook/ch03.html#master-styles-section 
is decript this and i am not sure is LO wrong or msword, but LO copy here
wrong.


I have found the Bug 39400 but it descript the problem in the first page
without MSWord. 


-------------------------------------------------------------------------------

Second scenario (only LO)
-------------------------
 1. In a empty doc insert "First line on page 1" <Enter>
 2. insert a manuel page break (CTRL-Enter)
 3. insert "First line on page 2" <Enter>
 4. copy the "First line on page 2"
 5. insert on the new paragraph the Line
 6. you can see on the new page 3 the "First line on page 2"

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to