<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - FILESAVE: RTF: section at document start creates extra, empty section"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=122589">122589</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>FILESAVE: RTF: section at document start creates extra, empty section
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>Inherited From OOo
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Writer
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>jluth@mail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=148158" name="attach_148158" title="rtfSections.odt: bibisect43all suggests extra empty section inherited from OOo">attachment 148158</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=148158&action=edit" title="rtfSections.odt: bibisect43all suggests extra empty section inherited from OOo">[details]</a></span>
rtfSections.odt: bibisect43all suggests extra empty section inherited from OOo

If the document starts with a defined section, then on export to RTF, it adds a
continuous section break before the first paragraph. Both Word and LO load this
as a blank paragraph at the top of the document.

Steps to reproduce:
-create a two paragraph document
-select the first paragraph and "insert section"
-save and RTF and reload.

This is different from <a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED - FILESAVE: RTF: new sections added after RT"
   href="show_bug.cgi?id=122456">bug 122456</a> which describes extra sections added at the
bottom. Interestingly, this time the extra section is not cumulative. Even
though the new section at the start of the document is a "true" section, it
doesn't force the creation of another section on each round-trip.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>