Page 1 of 1

PDF Transform: Table cell does not have a bottom border when row is allowed to break across pages

Posted: Tue Nov 28, 2017 1:32 pm
by Exotic Hadron
Hello,

By default, the tables.xsl file is configured to keep rows together:

Code: Select all

  <xsl:attribute-set name="tbody.row">
<xsl:attribute name="keep-together.within-page">auto</xsl:attribute>
</xsl:attribute-set>
This does not allow rows/cells to break across pages. In effect, if a cell in a row contain that many characters that it doesn't fit a current page, the row propagates through the borders of the page layout, as illustrated here.

However, if we enable PDF transformation to break rows across pages by removing the keep-together.within-page attribute:

Code: Select all

  <xsl:attribute-set name="tbody.row">
</xsl:attribute-set>
breaking rows are drawn incorrectly.

If a row breaks across the page, the bottom border of the row does not draw:

Image

How do I make the PDF transformation to draw the bottom border of the row that breaks onto the following page?

Thank you.

Re: PDF Transform: Table cell does not have a bottom border when row is allowed to break across pages

Posted: Wed Nov 29, 2017 12:35 pm
by Costin
Hi Exotic Hadron,

From the screenshots one can notice that, as one of the table lines is located at the end of the page but there's no space left to comprise all of the line's content, it is spreading between the two pages. It seems to be intended behavior to leave that line without the bottom border, as this indicates its content continues on the next page.
It might be possible to customize your document to force the entire table line to be displayed on a new page but there is no option in oXygen which you could use for that.
As document customizations fall a bit adjacent to the support sphere we can provide for our software and as our human resources are pretty limited, I am afraid we can not help much with investigating such customizations.

However, for this kind of issues you should should feel free to address any DITA customization questions on the DITA Users List (https://groups.yahoo.com/neo/groups/dita-users/info), as I am sure that there will be DITA experts who could provide better suggestions and help you with in-depth, accurate solutions.

Thank you for understanding!
Costin