Table border lines do not appear on the inside of tables in the PDF output
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 18
- Joined: Tue Mar 12, 2013 1:39 am
Table border lines do not appear on the inside of tables in the PDF output
The table borders do not appear inside of the tables when they are output to PDF. The external table border DOES appear, but the internal border lines do not. In other words, the table has a box border around it, but no lines inside it.
Is there some way I can add the border lines inside the table so they can be seen in the PDF output?
BTW - the internal tables border lines DO appear in the HTML output of the same file.
Is there some way I can add the border lines inside the table so they can be seen in the PDF output?
BTW - the internal tables border lines DO appear in the HTML output of the same file.
-
- Posts: 9438
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Table border lines do not appear on the inside of tables in the PDF output
Hi,
Oxygen uses the DITA Open Toolkit processor to publish DITA content to XHTML, PDF and other output formats.
The DITA specification does not seem to make it very clear if by default the table column separator lines should be drawn or not.
To force this, you can edit each <colspec> attribute from the <table> and set to it the attribute colsep="1".
Another workaround, according to this issue:
https://github.com/dita-ot/dita-ot/issues/1165
You can change in the XSL:
OXYGEN_INSTALL_DIR/frameworks/dita/DITA-OT/plugins/org.dita.pdf2/xsl/fo/tables.xsl
the default values for the parameters table.rowsep-default and table.colsep-default to be 1.
Regards,
Radu
Oxygen uses the DITA Open Toolkit processor to publish DITA content to XHTML, PDF and other output formats.
The DITA specification does not seem to make it very clear if by default the table column separator lines should be drawn or not.
To force this, you can edit each <colspec> attribute from the <table> and set to it the attribute colsep="1".
Another workaround, according to this issue:
https://github.com/dita-ot/dita-ot/issues/1165
You can change in the XSL:
OXYGEN_INSTALL_DIR/frameworks/dita/DITA-OT/plugins/org.dita.pdf2/xsl/fo/tables.xsl
the default values for the parameters table.rowsep-default and table.colsep-default to be 1.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 1
- Joined: Tue Apr 02, 2019 1:43 pm
Re: Table border lines do not appear on the inside of tables in the PDF output
Dear Radu,
I have generated a classic webhelp output however, the tables were not appearing in the output. The tabular structure was maintained however there were no visible lines.
I have set colsep and rowsep as '1' in bot table properties and in Author view.
<table frame="all" rowsep="1" colsep="1" id="table_rdn_zf4_sgb">
<title>Test</title>
<tgroup cols="2">
<colspec colname="col1" colnum="1" colwidth="1*" colsep="1" rowsep="1"/>
<colspec colname="col2" colnum="2" colwidth="1*" colsep="1" rowsep="1"/>
Please suggest a remedy for the same.
I have generated a classic webhelp output however, the tables were not appearing in the output. The tabular structure was maintained however there were no visible lines.
I have set colsep and rowsep as '1' in bot table properties and in Author view.
<table frame="all" rowsep="1" colsep="1" id="table_rdn_zf4_sgb">
<title>Test</title>
<tgroup cols="2">
<colspec colname="col1" colnum="1" colwidth="1*" colsep="1" rowsep="1"/>
<colspec colname="col2" colnum="2" colwidth="1*" colsep="1" rowsep="1"/>
Please suggest a remedy for the same.
-
- Posts: 9438
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Table border lines do not appear on the inside of tables in the PDF output
Hi Anand,
Your post is not related to this forum thread.
But indeed from what I asked my colleagues there is a small bug in the WebHelp generation related to table borders not appearing.
If you contact us via email (support@oxygenxml.com) one of my colleagues could give you a custom CSS stylesheet to apply in order to overcome the problem.
Regards,
Radu
Your post is not related to this forum thread.
But indeed from what I asked my colleagues there is a small bug in the WebHelp generation related to table borders not appearing.
If you contact us via email (support@oxygenxml.com) one of my colleagues could give you a custom CSS stylesheet to apply in order to overcome the problem.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
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)
- ↳ 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