<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 - DOCX IMPORT: page number is absent in specific document's footer"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=108970">108970</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>DOCX IMPORT: page number is absent in specific document's footer
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>unspecified
          </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>Keywords</th>
          <td>filter:docx
          </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>mikekaganski@hotmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>vmiklos@collabora.co.uk
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=134492" name="attach_134492" title="A test file with 2 pages with page numbers in footers' paragraph-attached text boxes">attachment 134492</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=134492&action=edit" title="A test file with 2 pages with page numbers in footers' paragraph-attached text boxes">[details]</a></span>
A test file with 2 pages with page numbers in footers' paragraph-attached text
boxes

Attachment has page number in text box in each of two pages in Word.
When open in Writer, it only has page number in 1st page, the second page has
empty footer.

The problem is that the second section in document inherits the footer from
first section, so LibreOffice copies the footer data between page styles on
import (SectionPropertyMap::CopyLastHeaderFooter), and the functions that do
real job (DocumentContentOperationsManager::Copy[Range|Impl]) do not copy last
paragraph's anchored objects.</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>