Hi,
Since just using a fo:leader by itself does not produce what I want, is there a way to use a (1 row x 3 columns) table for each line? The middle line would use as much space as possible. This would mimic what can be done in HTML where you would specify a 100% width for the middle column.
Is this doable?
Patrick
On 17 Nov 2003, at 6:07 PM, Andreas L. Delmelle wrote:
-----Original Message----- From: Patrick JUSSEAU [mailto:[EMAIL PROTECTED]
In other word I want the right side of my text to be aligned. The fo:leader should expand as much as it can to fill the middle part. I also want the parent block to have a 10cm width.
As I understand, behaviour of the fo:leader is very vaguely described in the
spec, and apart from that, the FOP compliance page,
http://xml.apache.org/fop/compliance.html#fo-object-leader, indicates only
partial support for this object.
What definitely works, are fixed-length leaders and leaders aligned
according to the settings of the reference area (mostly: the surrounding
fo:block).
The latter _seems_ a good choice in combination with text-align="justify"
and text-align-last="justify", but from my experience, it can only be used
in practice to create layouts like this:
<fo:block text-align="justify" text-align-last="justify"> <fo:inline>line1</fo:inline> <fo:leader leader-pattern="dots" leader-pattern-width="3pt" leader-alignment="reference-area" /> </fo:block> <fo:block text-align="justify" text-align-last="justify"> <fo:inline>line2withlongername</fo:inline> <fo:leader leader-pattern="dots" leader-pattern-width="3pt" leader-alignment="reference-area" /> </fo:block>
would yield
line1 ......................... line2withlongername ...........
If you add another fo:inline to the above fo:blocks, the fo:leader will
expand to fill the line and the last fo:inline will end up on a new line.
AFAIK there is currently no workaround to achieve the particular effect you're seeking.
Maybe someone else has an idea?
Greetz,
Andreas
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
