[Libreoffice-bugs] [Bug 109306] New: DOCX IMPORT: A table in a specific document has wrong width in Writer

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Jul 24 10:44:31 UTC 2017


https://bugs.documentfoundation.org/show_bug.cgi?id=109306

            Bug ID: 109306
           Summary: DOCX IMPORT: A table in a specific document has wrong
                    width in Writer
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Keywords: filter:docx
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: mikekaganski at hotmail.com

Created attachment 134814
  --> https://bugs.documentfoundation.org/attachment.cgi?id=134814&action=edit
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).

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20170724/2a9113aa/attachment.html>


More information about the Libreoffice-bugs mailing list