Benjamin F. wrote:
For instance, I am looking through the W2X options now, but there doesn’t seem to be any way to include row and column separators in the output…

There is no such option because, in principle, it is not needed. Whether row and column separators are present or absent entirely depends on the source DOCX table.

- If the DOCX table is borderless, our W2X tool adds colsep="0" rowsep="0".

- Otherwise, our W2X tool does *NOT* add colsep="1" rowsep="1" because it's the implicit value of these attributes.

See "OASIS Technical Memorandum TM 9502:1995", "CALS Table Model Document Type Definition", https://www.oasis-open.org/specs/a502.htm:
---
colsep=x
...
Default = IMPLIED (implies value from tabstyle in style specification if available, if not, implies "1").

rowsep =x
...
Default = IMPLIED (implies value from tabstyle if used, if not, implies "1").
---

See for example:

- DOCX input contains several tables: http://www.xmlmind.com/w2x/_distrib/doc/manual/manual.docx

- DITA Topic output contains equivalent CALS tables (without explicit colsep="1" rowsep="1" but yet showing row and column separators): http://www.xmlmind.com/w2x/_distrib/doc/manual/manual_topic.dita





/(Frankly, I think colsep=”1” rowsep=”1” should be the default: tables with separators are _far_ more common than tables without them.)/

That's right but, in principle, everything in the output comes from what's found in the input, therefore, in principle, we don't need to rely on such defaults for our W2X tool.

What to do now?

--> You may have found a bug. We would be very grateful in you could send us a sample DOCX file letting us reproduce the issue here at XMLmind Software.

OR

--> There is no bug, but your DITA processor (DITA-OT?) does not consider that colsep="1" rowsep="1" are the defaults. In such case, the customization to force colsep="1" rowsep="1" is super simple. Just ask for it.


--
XMLmind Word To XML Support List
w2x-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/w2x-support

Reply via email to