PDF Transform: Table cell does not have a bottom border when row is allowed to break across pages
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 25
- Joined: Mon Aug 07, 2017 7:46 pm
PDF Transform: Table cell does not have a bottom border when row is allowed to break across pages
Post by Exotic Hadron »
Hello,
By default, the tables.xsl file is configured to keep rows together:
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:
breaking rows are drawn incorrectly.
If a row breaks across the page, the bottom border of the row does not draw:

How do I make the PDF transformation to draw the bottom border of the row that breaks onto the following page?
Thank you.
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>
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>
If a row breaks across the page, the bottom border of the row does not draw:

How do I make the PDF transformation to draw the bottom border of the row that breaks onto the following page?
Thank you.
-
- Posts: 847
- Joined: Mon Dec 05, 2011 6:04 pm
Re: PDF Transform: Table cell does not have a bottom border when row is allowed to break across pages
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
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
Costin Sandoi
oXygen XML Editor and Author Support
oXygen XML Editor and Author Support
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service