Since everyone talking about leader thought I woudl
also ask something.
I am wondering if the following result is achievable

----------SOME TEXT----------
-----SOME MORE TEXT SOME-----

-- is my leader pattern which can be a regular rule as
well.
Thanks,
Abhi


--- "J.Pietschmann" <[EMAIL PROTECTED]> wrote:
> Andreas L. Delmelle wrote:
> > the FOP compliance page, ... indicates only
> partial support for this object.
> This is mostly with regards to using leader content
> as a pattern, which
> is not possible as well as various ruler types which
> aren't implemented
> either.
> 
> > What definitely works, are fixed-length leaders
> and leaders aligned
> > according to the settings of the reference area
> Actually, fixed-length leaders in justified text
> will most likely
> *not* be properly aligned, because space
> justification is done after
> leader alignment (nobody complained yet...)
> 
> > <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>
> ...
> > 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.
> 
> This should not happen with 0.20.5. The following
> works for me:
>   <fo:block text-align="justify"
> text-align-last="justify">
>     line1
>     <fo:leader leader-pattern="dots"
> leader-pattern-width="3pt"
>      leader-alignment="reference-area" />
>     someOtherText
>   </fo:block>
> Did you try it?
> 
> BTW enclosing text in fo:inline is just a waste of
> ressources, it doesn't
> change much with regard how the text is handled
> (except exposing a bunch
> of nasty bugs). In particular, it wont cause
> different handling of the
> whitespace which happens to be before or after the
> fo:inline, unlike
> xsl:text.
> 
> J.Pietschmann
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 


__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to