<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 - FILEOPEN DOCX Numbering restarts on deleted paragraph"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=125916">125916</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>FILEOPEN DOCX Numbering restarts on deleted paragraph
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>6.4.0.0.alpha0+ Master
          </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>libreoffice@nisz.hu
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
Attached user document has numbered headings, some of which are marked as
deleted entirely by Word.
In current master the numbering restarts at the first deleted numbered
paragraph.

Steps to Reproduce:
1. Open attached document
2. Notice that in Word the Heading paragraphs are numbered as 1 2 3 with the
second and third deleted, while in Writer the numbering restarts at the second
as: 1 1 2.

Actual Results:
Accepting all changes in Word results in 6 numbered headings, while in Writer
it results in 7, with an empty first paragraph appearing.
Rejecting all changes in Word results in 7 numbered headings, while in Writer
it results in 8.

Expected Results:
Numbering matches the one seen in Word on open/accept all/reject all.


Reproducible: Always


User Profile Reset: No



Additional Info:
LibreOffice details:
Version: 6.4.0.0.alpha0+ (x86)
Build ID: 2dc6bdd1d5789ace0500cad90f5d2eb930888bb9
CPU threads: 4; OS: Windows 6.3; UI render: GL; VCL: win; 
TinderBox: Win-x86@42, Branch:master, Time: 2019-06-12_23:41:00
Locale: hu-HU (hu_HU); UI-Language: en-US
Calc: threaded

Bibisected to: 
<a href="https://cgit.freedesktop.org/libreoffice/core/commit/?id=8acc15b5113c798ecdbeed91456a92e7b0c1334e">https://cgit.freedesktop.org/libreoffice/core/commit/?id=8acc15b5113c798ecdbeed91456a92e7b0c1334e</a>


author  László Németh <<a href="mailto:nemeth@numbertext.org">nemeth@numbertext.org</a>>   2019-05-08 19:00:18 +0200
committer       László Németh <<a href="mailto:nemeth@numbertext.org">nemeth@numbertext.org</a>>   2019-05-15 08:18:17
+0200

<a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - FILEOPEN DOCX Accepting tracked changes has different result in LO Writer and MS Word in document with numbered paragraphs"
   href="show_bug.cgi?id=118699">tdf#118699</a> DOCX import: don't add numbering</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>