T. H. wrote:
I'm looking for a solution concerning W2X and table cell borders.
In this archive
https://XXX/YYY/ZZZ
please find a Word file (test.docx) which has a table with 3 cells.
On Word, the border between B and C looks solid. (word.png)
Converting it using W2X 1.7 with these options
-o xhtml_css
-p convert.charset UTF-8
generates an XHTML file (test.html) where I expect the border in question to be
solid too.
But it's dotted. (xhtml_css.png)
Your table specifies that inside borders should be solid, but this is
overridden by middle cell "B" which specifies that its top and bottom
borders should be dotted. Last cell "C" does not specifying anything
about its borders. So what does w2x seems to make sense.
We'll carefully re-read the DOCX spec to check what is the correct
behavior and if w2x behavior is incorrect, we'll try to fix this bug in
the next release.
For now, we cannot suggest any workaround for this issue. Sorry for that.
Also please note that this kind of table styling problems is common with
w2x. During the development of w2x, we have found that Word does things
which are not documented in the DOCX spec. Moreover we often failed to
understand what is the logic behind what does Word.
--
XMLmind Word To XML Support List
w2x-support@xmlmind.com
https://www.xmlmind.com/mailman/listinfo/w2x-support