Created attachment 162872 [details] gridBefore_gridAfter.docx: composed in MS Word 2003 In MS format's, tables are basically just rows connected together. A provision is made for "deleted" cells at the beginning and ending of every row. The outside table borders are supposed to apply to the first/last real cell in these cases, but LO doesn't apply the table border in these cases. Steps to reproduce: 1.) open the attached docx. EVERY row in the table should have a heavy border on the left and right side of the golden table cells, but in LO this is only happening on the outer cells without a gridBefore or gridAfter. Note that the same is NOT true for top and bottom borders - which kindof makes sense since MS Format only knows about one row at a time.
Created attachment 162873 [details] gridBefore_gridAfter_MSWord2003.pdf: printout of how it looks in Word 2003
Created attachment 162889 [details] Comparison MSO 2010 and LibreOffice 7.1 master
Reproduced in Version: 7.1.0.0.alpha0+ Build ID: 12bfedfac3b141fe6c91b0e5ae5b3fb2ba817c48 CPU threads: 4; OS: Linux 4.19; UI render: default; VCL: gtk3 Locale: en-US (en_US.UTF-8); UI: en-US Calc: threaded
partial fix proposed at gerrit.libreoffice.org/c/core/+/98534 tdf#134709 writerfilter: consider gridBefore for table borders A followup commit can do the same thing for gridAfter, but currently gridAfter is not yet populated, so some foundational work needs to be done first.
proposed patch part2: http://gerrit.libreoffice.org/c/core/+/98692 tdf#134709 writerfilter: consider gridAfter for table borders
Justin Luth committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/fafc6c0fc3c6d62f982b0deb9bc1d874c51dd6fe tdf#134709 writerfilter: consider gridBefore for table borders It will be available in 7.1.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Justin Luth committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/c3ca7e85ea27cb19475086e64b14e780c93910ca tdf#134709 writerfilter: consider gridAfter for table borders It will be available in 7.1.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.