[Libreoffice-bugs] [Bug 116194] table content from .DOCX shown as text in Writer
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Mon Aug 20 18:05:53 UTC 2018
https://bugs.documentfoundation.org/show_bug.cgi?id=116194
Justin L <jluth at mail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |bibisected, bisected
--- Comment #8 from Justin L <jluth at mail.com> ---
Used bibisect43max to identify commit cf33af732ed0d3d553bb74636e3b14c55d44c153
Author: Lubos LunĂ¡k
CommitDate: Wed Apr 23 14:57:36 2014 +0200
handle w:gridBefore by faking cells (fdo#38414)
Docx's w:gridBefore means that there should be this given space in the table
grid before any cells come. But writer requires tables to be rectangular, so
the space needs to be faked using cells without border. So far so good, but
now reality in the form of the retarded overdesigned writerfilter comes.
The internal representation of table data (and not just one actually) is
pretty non-obvious and hard to modify, seems to be modelled just to follow
the parser data the way it comes. Moreover dmapper gets notified of
w:gridBefore
only after cells in the row have been already processed. So after futile
attempts
to add the fake cells somehow in dmapper I've eventually given up and hacked up
input handling to fake input as if the fake cells were actually there (which
was tedious to find out as well, but at least it's reasonably doable).
https://cgit.freedesktop.org/libreoffice/core/commit/?id=cf33af732ed0d3d553bb74636e3b14c55d44c153
--
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/20180820/b7b506ce/attachment.html>
More information about the Libreoffice-bugs
mailing list