--- Comment #3 from Jeremias Maerki <[EMAIL PROTECTED]> 2008-06-05 01:26:09
Maximilian, this goes in the direction of supporting percentages in RTF output.
This is mostly done in the layout managers for the page-oriented output
formats, so that means it has to be recreated for the flow-based output
formats. I assume some kind of tracking mechanism is necessary to have the base
values for percentage-based calculations (and proportional-column-width() for
that matter). If done properly this might even be useful for the layout
managers at some point. Anyway, take a look at
org.apache.fop.datatypes.PercentBaseContext. This interface is implemented by
AbstractBaseLayoutManager. In the case of RTF, this should probably be a
separate class (i.e. that tracking mechanism I mentioned above) so it can be
reused by other/future flow-based output formats . For the table columns,
take a look at org.apache.fop.layoutmgr.table.TableLayoutManager which contains
code for handling the proportional-column-width() approach. Something similar
has to be done for the flow-based formats.
 Incidentally, I'm going to a client today to coach them for implementing
ODF output support.
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.