On Aug 22, 2006, at 21:00, Jacqueline Radebaugh wrote:

Hi,

Unfortunately, now I have another problem.  Like I wrote yesterday,
<snip />
Unfortunately, sometimes the <name> data exceeds the line of the column and flows on over to the next line. When this happens, my output columns resemble:

$a    Name of $a that goes over the
$b    line and ruins the relationship between <label> and <name>
$c    Name of $b

Strange, this should normally only happen if you create only two cells, one with the labels and another with the names.

Please inspect the _generated_ FO(*), and make sure it does not look like

<fo:table>
  <fo:table-body>
    <fo:table-row>
      <fo:table-cell>
        <fo:block>$a</fo:block>
        <fo:block>$b</fo:block>
        ...
      </fo:table-cell>
      <fo:table-cell>
        <fo:block>Name of $a...</fo:block>
        <fo:block>Name of $b</fo:block>
      </fo:table-cell>
    </fo:table-row>


(*) With FOP 0.92, you can obtain this by using '-foout' on the command-line.

As you can see, when the <name> data in the one column exceeds the line, the 1 to 1 relationship between the <label> column and <name> column is lost. The <label> "$b" is no longer across to its name. It is across to the second line of the <name> for $a.

Is there a way to connect two different columns together so that their data stays in synch?

That's generally the idea of lists and tables. If FOP really behaves as described, then this would be a bug, but as I can't reproduce, I strongly suspect the problem is in the stylesheet. We'd need a look at the higher level xsl:templates as well to get an idea of what actually happens in that transform.



HTH!

Andreas


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

Reply via email to