<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: A table in a specific document has wrong width in Writer"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=109306">109306</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>DOCX IMPORT: A table in a specific document has wrong width in Writer
          </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></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=134814" name="attach_134814" title="A document with table width defined in % (instead of fiftieths of percent)">attachment 134814</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=134814&action=edit" title="A document with table width defined in % (instead of fiftieths of percent)">[details]</a></span>
A document with table width defined in % (instead of fiftieths of percent)

The only table in the attached document is too narrow when imported to writer
(it only has 2% relative width, instead of 100% it has in Word).

The problem is caused by ignoring the "%" unit specification in "w:w" attribute
of "w:tblW" element. According to ECMA-376-1:2016, ST_MeasurementOrPercent (the
type of "w:w" attribute) is allowed to have this specification (and then is
expected to be a floating-point value). First edition of the standard (of 2006)
only defined this attribute to contain int32 value (of fiftieths of percent
when holding relative widths).</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>