Pages: 1
Print
Author Topic: Internal table borders still rendered in PDF even when disabled  (Read 1118 times)
ChrisTMH
Member

Posts: 17


« on: August 04, 2016, 05:02:26 AM »

DITA version 1.2
XMetaL version 10.0.0.074

If I have inserted and table and set the attribute values "colsep" and "rowsep" for the "tgroup" element both to 0 (off), then the following occurs:

  • In the XMetaL view, all internal borders are correctly displayed with dashed lines to indicate no borders
  • When the PDF is generated, all internal borders still remain

So, there are no internal borders when processed with CSS, but there are when transformed into PDF.

Is this a known glitch, or am I simply overlooking something?

Cheers
Logged
Derek Read
Program Manager (XMetaL)
Administrator
Member

Posts: 2502



WWW
« Reply #1 on: August 04, 2016, 01:59:00 PM »

Despite the misleading name ("Enhanced") I don't think development of the deliverable named "XMetaL Enhanced PDF via RenderX XEP" has kept up with that of the rest of the DITA Open Toolkit, so it will have limitations like this. This deliverable was originally included to overcome a large number of limitations in the early versions of the DITA Open Toolkit deliverables (adding support for Bookmaps, indexes, sorting, various elements, etc. that the DITA OT versions of PDF output did not handle), however, it has since fallen behind as development on the DITA OT versions of PDF has progressed.

If you use one of the other PDF deliverables they are likely to give you what you want and are being actively developed (Book via RenderX for example).

« Last Edit: August 04, 2016, 04:17:47 PM by Derek Read » Logged
ChrisTMH
Member

Posts: 17


« Reply #2 on: August 05, 2016, 05:38:37 AM »

Despite the misleading name ("Enhanced") I don't think development of the deliverable named "XMetaL Enhanced PDF via RenderX XEP" has kept up with that of the rest of the DITA Open Toolkit, so it will have limitations like this. This deliverable was originally included to overcome a large number of limitations in the early versions of the DITA Open Toolkit deliverables (adding support for Bookmaps, indexes, sorting, various elements, etc. that the DITA OT versions of PDF output did not handle), however, it has since fallen behind as development on the DITA OT versions of PDF has progressed.

If you use one of the other PDF deliverables they are likely to give you what you want and are being actively developed (Book via RenderX for example).



Thanks for the help. Yes, the output is as expected when using "Book via RenderX". So, once I found the source files for this output (org.dita.pdf2), I compared the implementation with my default implementation. I discovered that, by default, there are no table borders (obvious now I know). In our default implementation, not sure if this was done by us in the past, but there was some code that put borders in even with colsep or rowsep set to 0, so I simply commented these out and it now works fine.

Thanks again.
Logged
Pages: 1
Print
Jump to:  

email us