Details
-
Bug
-
Status: Resolved
-
Resolution: Fixed
-
1.0
-
None
-
None
-
Operating System: All
Platform: Other
-
50901
Description
The width of table columns is not correctly calculated for RTF output. A percental width should be calculated from the enclosing table's width.
org.apache.fop.layoutmgr.table.TableLayoutManager actually does this for PDF output (see getBaseLength() implementation), but org.apache.fop.render.rtf.rtflib.tools.PercentContext doesn't.
The result is that the last column gets the entire space.
I'll attach a small example demonstrating the problem as well as a patch that fixes that problem for me.