Created attachment 141911 [details]
Sample in DOCX
The attached Word document (same in DOC and DOCX formats) contains a regular and a floating table. When opened in Writer, only the regular table is shown, the floating table is lost upon import.
Observed using LO 6.1alpha1, 126.96.36.199 & 188.8.131.52 / Windows 7.
Both tables are imported in LO 3.3.0 (positioning is bad with DOCX, not with DOC).
=> regression, not bibisectable
Created attachment 141912 [details]
Sample in DOC
Created attachment 141913 [details]
PDF exported in Word
Note that the PDF only shows one table, the missing one, because the other has no borders, and they're both empty.
Arch Linux 64-bit
Build ID: 67aaa98600269e6b8fa631146c3649a261369471
CPU threads: 8; OS: Linux 4.16; UI render: default; VCL: kde4;
Locale: fi-FI (fi_FI.UTF-8); Calc: group threaded
Built on June 7th 2018
(In reply to Aron Budea from comment #0)
> Observed using LO 6.1alpha1, 184.108.40.206 & 220.127.116.11 / Windows 7.
> Both tables are imported in LO 3.3.0 (positioning is bad with DOCX, not with
> => regression, not bibisectable
Also checked in bibisect-43all, and with the DOC it's already buggy in the oldest commit.
Now with the DOCX, the disappearance of the table could be bibisected with bibisect-43all, and the result is the following range:
suspecting one of the following DOCX-related changes from Miklos (on the basis that they are dealing with tables and/or DOCX):
n#775899 SwXText::convertToTextFrame fix for multi-paragraph tables
n#775899 initial docx import of w:vertAnchor inside w:tblpPr
n#775899 SwXText::convertToTextFrame fix removing fake paragraph
If it would be beneficial to have separate tickets for the DOC/DOCX case, let me know.
Table is still missing when first round-tripped by Office 2016, and when text is added to the floating table, and when the position is based on margin instead of page.
The 13 row table is definitely being read:
warn:sw.core:565509:565509:sw/source/core/table/swnewtable.cxx:2183: Line width differs from table width: 14784 current : 14780
This is a "hidden" problem. The paragraph before the table contains
(In reply to Justin L from comment #6)
> The paragraph before the table contains <w:vanish/>
The paragraph AFTER the table contains the vanish actually. Even worse...
The option to see hidden content is now in tools-options-writer-Formatting Aids-Hidden characters.
Adding some similar bugs about objects anchored to characters with w:vanish (hidden character) property... for inspiration.