https://issues.apache.org/bugzilla/show_bug.cgi?id=50901

           Summary: Percental table column width not calculated from table
           Product: Fop
           Version: 1.0
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: rtf
        AssignedTo: fop-dev@xmlgraphics.apache.org
        ReportedBy: carsten.pfeif...@gebit.de


Created an attachment (id=26750)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=26750)
Example fo file, a table with 3 columns

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.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to