xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Meena" <meenakshi.sarvago...@wipro.com>
Subject Re: Regarding fo:leader
Date Thu, 03 Jan 2002 10:15:55 GMT
hi Ian,
Thanks for the info. But could you tell me from where i can get the
FOP0.19.0 version.

Regds,
Meena

----- Original Message -----
From: "Ian Larner" <ian_larner@uk.ibm.com>
To: <fop-user@xml.apache.org>
Sent: Thursday, January 03, 2002 3:12 PM
Subject: Re: Regarding fo:leader


> Meena,
> There are a couple of possible factors:
>
> 1) I am using FOP-0.18.1, because it does what I need and I had problems
> with later versions.  The TOC fo tagging works the same on Fop-0.19.0
(I've
> tried it).
>
> There have been a number of problems reported with leaders in FOP-0.20,
> which may be your problem; perhaps try your fo tagging on an earlier
> release?  The effect that you are ssing seems to be the same as reported
> for bug 4839 http://marc.theaimsgroup.com/?l=fop-dev&m=100566225728208&w=2
>
> 2) You seem to be creating a full-page-width TOC, so the
> leader-length.maximum="10cm" will limit the maximum length of the leader.
>
> Changing your tagging to remove the leader-length.maximum created the
> following (on FOP-0.18.1 and FOP-0.19.0):
>
> Contents
> Test link . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
.
> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
.
> . . . . . . . . . . . . . . 1
> A much looooooonger test link . . . . . . . . . . . . . . . . . . . . . .
.
> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
.
> . . . . . . . 1
> A very very very very very very very long test link . . . . . . . . . . .
.
> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
.
> . . . 1
>
> (Which in PDF lines up fine! sort of like...
> Contents
> Test link . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
.
> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
.
> . . . . . . . . . . . . . . . . . . .      1
> A much looooooonger test link . . . . . . . . . . . . . . . . . . . . . .
.
> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
.
> . . . . . . .       1
> A very very very very very very very long test link . . . . . . . . . . .
.
> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
.
> 1
> )
>
> Sorry I have no more definite answers!
>
> Regards,
> Ian
>
> Ian Larner
> User Technologies, IBM Hursley Lab, England
>
> "The credit belongs to the man ...in the arena,  (who) knowing there is no
> effort without ...shortcomings, actually strives to do the deeds..."
> Theodore Roosevelt
>
>
> __________________
>
>
> Hi Ian,
> I do have only a two-cell table, with the first cell to carry the heading
> with the leader dots and the second cell with the page number. My code is
> as
> follows. But still i'm not getting the leader dots as required
> <fo:table space-before.optimum="18pt">
> <fo:table-column column-width="6.5in" />
> <fo:table-column column-width="0.4in"/>
> <fo:table-body font-family="sans-serif">
> <fo:table-row font-weight="normal" font-size="9pt" line-height="12pt"
>                  space-before.optimum="3pt" space-after.optimum="3pt">
>      <fo:table-cell>
>        <fo:block text-align="start"
>                  start-indent="{1.3+count(ancestor-or-self::chapter)
> *0.2}in"
>                  keep-together.within-line="always">
>              <fo:basic-link internal-destination="{generate-id(.)}" >
>               <!-- Will call someother template to generate the
> page-numbers -->
>              </fo:basic-link>
>              <fo:leader text-align="justify"
>                    leader-pattern="dots"
>                    leader-pattern-width="5pt"
>                    leader-alignment="reference-area"
>                    leader-length.maximum="10cm"/>
>        </fo:block>
>       </fo:table-cell>
> </fo:table-row>
> </fo:table-body>
> </fo:table>
>
>
> I get an output as follows
>
>           HEADER-----------------------------          1
>              Chapter1----------------                             2
>                  Section1-----------                                  3
>                  Section2-----------                                  4
>
> I'm still not able to solve this problem.
> Please reply with an appropriate solution
>
> Regds,
> MEena
>
>
****************************************************************************
>
> **********
>


Mime
View raw message