<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 - EDITING Consecutive spaces in table cell not ignored if they start at the beginning"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=132372">132372</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>EDITING Consecutive spaces in table cell not ignored if they start at the beginning
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>7.0.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>

        <tr>
          <th>CC</th>
          <td>nemeth@numbertext.org
          </td>
        </tr>

        <tr>
          <th>Blocks</th>
          <td>103100
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=159884" name="attach_159884" title="Example file from Word">attachment 159884</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=159884&action=edit" title="Example file from Word">[details]</a></span>
Example file from Word

If a table cells text is long, spanning multiple rows and centered, the line
breaking behaves differently when it contains consecutive spaces: If they are
between visible letters, they are hidden and have no effect on alignment.
But if they start the cell text, they are not hidden and are considered for
alignment.

The hiding results in consistent behavior with Word, which ignores the
consecutive spaces when calculating alignment. 
Probably Writer should do the hiding of spaces even if they start the cell
content.


Steps to reproduce:
    1. Open attached document

Actual results:
First tables text looks different than in Word, 

Expected results:
Similar behavior to Word, so that Word-made files layout can match.

LibreOffice details:
Version: 7.0.0.0.alpha0+ (x64)
Build ID: 94a7ceae287a7967e8f013d012673e26637c6bb5
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: GL; VCL: win; 
Locale: hu-HU (hu_HU); UI-Language: en-US
Calc: CL

Also happens in older versions way back to 3.5.0</pre>
        </div>
      </p>

        <div id="referenced">
          <hr style="border: 1px dashed #969696">
          <b>Referenced Bugs:</b>
          <ul>
              <li>
                [<a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [META] Writer table bugs"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=103100">Bug 103100</a>] [META] Writer table bugs
              </li>
          </ul>
        </div>
        <br>

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

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