Why are tables always formatted "proportional" in FOP/PDF
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 36
- Joined: Tue Feb 21, 2012 8:22 pm
- Location: Rotterdam, the Netherlands
- Contact:
Why are tables always formatted "proportional" in FOP/PDF
The DITA editor allows to insert proportional and fixed tables into the document. A propotional table only specifies the relative column widths with multiplication factors 1.0* 1.0* 2.0* etc. The table stretches the body region and the columns get widths relative to their weight. FINE.
But when you insert a table with fixed columns 75pt 75pt 75pt the resulting table still stretches the width of the body region. The columns do not get their exact widths. NOT OK.
Looking at fo/xsl/fo/tables_1.0.xsl There seems to be a parameter that selects the mode <xsl:when test="$tableSpecNonProportional = 'true'">.
How do you set this parameter for an individual table? Some tables should be proportional, some fixed... How do you get fixed tables in DITA-OT?
But when you insert a table with fixed columns 75pt 75pt 75pt the resulting table still stretches the width of the body region. The columns do not get their exact widths. NOT OK.
Looking at fo/xsl/fo/tables_1.0.xsl There seems to be a parameter that selects the mode <xsl:when test="$tableSpecNonProportional = 'true'">.
How do you set this parameter for an individual table? Some tables should be proportional, some fixed... How do you get fixed tables in DITA-OT?
Kind Regards,
Reinier Kleipool,
Course Materials editor,
Open Source Academy
http://www.OpenSourceAcademy.eu
Reinier Kleipool,
Course Materials editor,
Open Source Academy
http://www.OpenSourceAcademy.eu
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Why are tables always formatted "proportional" in FOP/PDF
Hi,
I agree with you.
There is an old bug opened on the DITA OT Bugs List:
https://sourceforge.net/tracker/index.p ... tid=725074
I added two comments there about how the issue would be fixed both for PDF and HTML outputs.
Regards,
Radu
I agree with you.
There is an old bug opened on the DITA OT Bugs List:
https://sourceforge.net/tracker/index.p ... tid=725074
I added two comments there about how the issue would be fixed both for PDF and HTML outputs.
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