<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 - Write cannot find empty paragraphs in a table (== empty cells)."
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=138781">138781</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Write cannot find empty paragraphs in a table (== empty cells).
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>7.0.3.1 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>mmelchior@xs4all.nl
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Use the following scenario to see the problems:

The steps marked with * designate incorrect behavior, I expect the correct
behavior is obvious.

    1. Create new text document
    2. Click "Toggle Formatting Marks" see the empty paragraphs.
    3. Type "Enter" 10 times to create 10 empty paragraphs.
    4. insert a big table (6x6) after paragraph 5.
    5. Make some paragraphs non-empty, like "X" in line 3, in some table cells
and on line 8.
    6. Move cursor to begin of document.
    7. Click "Find and Replace"
    8. For reference, enter "X" as find string and click "Find All"
    9. Note this correctly finds all "X" paragraphs, both inside and outside
the table.
    10. Click "Regular expressions"
    11. Find empty paragraphs: search for "^$" and click "Find All"
    12. Most of the empty paragraphs outside the table are marked.
 *  13. The last empty paragraphs before the table and before the end of
document are not marked *
 *  14. No cells in the table are marked *
 *  15. Note "Find Next" works correctly, and "Find Previous" moves to the
begin of document *
    16. Select the whole table
    17. Check the checkbox "Current selection only"
    18. Note "^$" is still there and click "Find All"
 *  19. The non-empty paragraphs and the last empty one in the table are
selected *
 *  20. Click "Find Next" and the first empty paragraph in the document is
selected *
    21. Close Find dialogue
    22. Select the whole table
    23. Click "Find and Replace"
    24. Click “Find All”
 *  25. Note: non-empty cells and the last cell is selected *
    26. Click “Find All”
 *  27. Now the last two paragraphs of the table are selected *


My intention is to select all empty cells in the table and assign a different
font and background color for the digits that are to be entered later into
those cells.

See also bugs <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Search and replace empty paragraphs in a Writer document with tables"
   href="show_bug.cgi?id=34596">34596</a>, <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - FIND&REPLACE: Empty paragraph at the end of a document is not found when searching for paragraph styles in Find & Replace"
   href="show_bug.cgi?id=129449">129449</a> pertaining to last empty paragraphs.</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>