<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] Saving as .docx generates spurious page breaks"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=133334">133334</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[FILESAVE] Saving as .docx generates spurious page breaks
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>6.4.2.2 release
          </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>luke.kendall@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=161212" name="attach_161212" title="Zip file with two short sample documents">attachment 161212</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=161212&action=edit" title="Zip file with two short sample documents">[details]</a></span>
Zip file with two short sample documents

Saving a document as .docx causes and extra spurious page break to be inserted
on or soon after the 1st page following manual page breaks.

By examining the XML produced, I found spurious <w:sectPR>...</w:sectPR> XML
that causes the additional page breaks to be inserted. Examining the XML of the
source .odt, I was unable to see anything that might lead to an extra page
break.

The first spurious page break is after the text "letting any other speak who
wished to." in the Prologue.
The second spurious page break is after the text "Calmly, he returned to
studying the orphanage records."

The .docx conversion also changes the layout by causing page spills in places
they weren't before, but I consider that a minor nuisance.

Please see the attached source document WTKDP-BadDocxGen.odt and the bad .docx
file generated by Save As from:

Version: 6.4.3.2
Build ID: 747b5d0ebf89f41c860ec2a39efd7cb15b54f2d8
CPU threads: 4; OS: Linux 4.4; UI render: default; VCL: x11; 
Locale: en-GB (en_AU.UTF-8); UI-Language: en-US
Calc: threaded</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>