[Libreoffice-bugs] [Bug 78508] FILEOPEN: DOCX Strict - Table cell spacing not retained from < w:tcMar>

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Sep 30 16:41:10 UTC 2017


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

Yousuf Philips (jay) <philipz85 at hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jluth at mail.com,
                   |                            |mikekaganski at hotmail.com
             Blocks|                            |104444
            Summary|FILEOPEN: DOCX Strict table |FILEOPEN: DOCX Strict -
                   |size and spacing not        |Table cell spacing not
                   |retained                    |retained from <w:tcMar>

--- Comment #17 from Yousuf Philips (jay) <philipz85 at hotmail.com> ---
(In reply to Xisco FaulĂ­ from comment #14)
> Created attachment 118547 [details]
> Comparison between Word 2010 (above) and  Libreoffice 5.0.1.2 (below)

The Word 2010 preview isnt correct because you havent installed the ooxml
strict support for office 2010[1].

[1] https://www.microsoft.com/en-us/download/details.aspx?id=38828

So i checked the table in Word and each cell has cell margins of 0.14cm, but LO
isnt picking up on this. The relevant XML code is below.

<w:tc>
 <w:tcPr>
   ...
   <w:tcMar>
     <w:top w:w="4pt" w:type="dxa" />
     <w:start w:w="4pt" w:type="dxa" />
     <w:bottom w:w="4pt" w:type="dxa" />
     <w:end w:w="4pt" w:type="dxa" />
   </w:tcMar>
   ...
 </w:tcPr>
</w:tc>

LO doesnt seem to have a problem importing the cell margins in the original
docx mentioned in comment 0 when the values were like so.

<w:tcMar>
  <w:top w:w="80" w:type="dxa" />
  <w:left w:w="80" w:type="dxa" />
  <w:bottom w:w="80" w:type="dxa" />
  <w:right w:w="80" w:type="dxa" />
</w:tcMar>

Justin, Mike, Miklos: Any thoughts?


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=104444
[Bug 104444] [META] DOCX (OOXML) table-related issues
-- 
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/20170930/a524002f/attachment.html>


More information about the Libreoffice-bugs mailing list