Title: Nachricht
That's really not enough to go on.  You didn't include information about your pages, which is *critical* in spotting a spillover issue.  Also, I'm seeing XSL tags in there, which means that I don't have the EXACT data that's causing the problem.  If you can please send the data, post XSL transform, that is breaking, it'll be a lot more useful.
-----Original Message-----
From: Tobias Kuhn [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 30, 2002 10:37 AM
To: [EMAIL PROTECTED]
Subject: AW: large tables loop problem

hi,
 
simply terminating the endless loop would be a good "first fix" of the problem for me too...
 
This is the part of the code creating the tables which will not fit in one page in some cases...
 
 

<!-- ANFANG TABLE "AUFWANDS- & ZEITPLANUNG" -->

<fo:block space-before.optimum="2cm" space-after="0.75cm" font-style="italic" font-size="20pt" keep-together="always">

Aufwands- / Zeitplanung

</fo:block>

<fo:table table-omit-header-at-break="true" table-layout="fixed">

<fo:table-column column-width="2cm"/>

<fo:table-column column-width="1cm"/>

<fo:table-column column-width="4cm"/>

<fo:table-column column-width="3cm"/>

<fo:table-column column-width="3cm"/>

<fo:table-column column-width="2cm"/>

<fo:table-column column-width="2cm"/>

<fo:table-header>

<fo:table-row>

<fo:table-cell background-color="#F7F24D">

<fo:block font-weight="bold" text-align="center" vertical-align="middle"

border-width="1pt" border-color="black" background-color="#F7F24D" font-size="10pt">

PSP-Nr

<fo:block background-color="#F7F24D" font-size="10pt"><xsl:value-of select="leer" /></fo:block>

</fo:block>

</fo:table-cell>

<fo:table-cell background-color="#F7F24D">

<fo:block font-weight="bold" text-align="center" vertical-align="middle"

border-width="1pt" border-color="black" background-color="#F7F24D" font-size="10pt">

Typ

<fo:block background-color="#F7F24D" font-size="10pt"><xsl:value-of select="leer" /></fo:block>

</fo:block>

</fo:table-cell>

<fo:table-cell background-color="#F7F24D">

<fo:block font-weight="bold" text-align="center" vertical-align="middle"

border-width="1pt" border-color="black" background-color="#F7F24D" font-size="10pt">

Bezeichnung

<fo:block background-color="#F7F24D" font-size="10pt"><xsl:value-of select="leer" /></fo:block>

</fo:block>

</fo:table-cell>

<fo:table-cell>

<fo:block font-weight="bold" text-align="center" vertical-align="middle"

border-width="1pt" border-color="black" background-color="#F7F24D" font-size="10pt">

Anfang

<fo:block background-color="#F7F24D" font-size="10pt">(Plan)</fo:block>

</fo:block>

</fo:table-cell>

<fo:table-cell>

<fo:block font-weight="bold" text-align="center" vertical-align="middle"

border-width="1pt" border-color="black" background-color="#F7F24D" font-size="10pt">

Ende

<fo:block background-color="#F7F24D" font-size="10pt">(Plan)</fo:block>

</fo:block>

</fo:table-cell>

<fo:table-cell>

<fo:block font-weight="bold" text-align="center" vertical-align="middle"

border-width="1pt" border-color="black" background-color="#F7F24D" font-size="10pt">

Aufwand

<fo:block background-color="#F7F24D" font-size="10pt">(Plan)</fo:block>

</fo:block>

</fo:table-cell>

<fo:table-cell>

<fo:block font-weight="bold" text-align="center" vertical-align="middle"

border-width="1pt" border-color="black" background-color="#F7F24D" font-size="10pt">

Kosten

<fo:block background-color="#F7F24D" font-size="10pt">(Plan)</fo:block>

</fo:block>

</fo:table-cell>

</fo:table-row>

</fo:table-header>

<fo:table-body>

<xsl:for-each select="/projekt/projektstruktur/planzeile">

<xsl:sort select="id" order="ascending" data-type="number"/>

<fo:table-row>

<fo:table-cell>

<fo:block font-size="10pt" text-align="center" space-before="0.25cm"><xsl:value-of select="pspnr" /></fo:block>

</fo:table-cell>

<fo:table-cell>

<fo:block font-size="10pt" text-align="center" space-before="0.25cm"><xsl:value-of select="typ" /></fo:block>

</fo:table-cell>

<fo:table-cell>

<fo:block font-size="10pt" text-align="center" space-before="0.25cm"><xsl:value-of select="bezeichnung" /></fo:block>

</fo:table-cell>

<fo:table-cell>

<fo:block font-size="10pt" text-align="center" space-before="0.25cm"><xsl:value-of select="plananfang" /></fo:block>

</fo:table-cell>

<fo:table-cell>

<fo:block font-size="10pt" text-align="center" space-before="0.25cm"><xsl:value-of select="planende" /></fo:block>

</fo:table-cell>

<fo:table-cell>

<fo:block font-size="10pt" text-align="center" space-before="0.25cm"><xsl:value-of select="planaufwand" /></fo:block>

</fo:table-cell>

<fo:table-cell>

<fo:block font-size="10pt" text-align="center" space-before="0.25cm"><xsl:value-of select="plankosten" /></fo:block>

</fo:table-cell>

</fo:table-row>

</xsl:for-each>

</fo:table-body>

</fo:table><!-- ENDE TABLE "AUFWANDS- & ZEITPLANUNG" -->

 
-----Ursprüngliche Nachricht-----
Von: Rhett Aultman [mailto:[EMAIL PROTECTED]]
Gesendet: Montag, 30. September 2002 16:29
An: [EMAIL PROTECTED]
Betreff: RE: large tables loop problem

I'm actually trying to shore up this from happening, but it won't address your situation, since my patch simply terminates the endless loop rather than necessarily finding and making splits more aggressively.
 
Could you post a copy of the FO data that is triggering the endless loop?  I'd like the opportunity to analyze it.  Putting in a bug in Bugzilla and attaching some sample data there would be even better.
-----Original Message-----
From: Tobias Kuhn [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 30, 2002 10:25 AM
To: [EMAIL PROTECTED]
Subject: large tables loop problem

hello,
 
i successfully embed tables in my created pdf File using  fop version 20.4
now i got the problem of an endless loop when a table is bigger than one page and it does no fit on one page any more
 
any ideas how i can deal with this problem? automatically split a table correct to the next page....
it would be no problem for me if the table ends "abrupt" and just starts on the next page without a headline or so..
i read a lot of this in fop-dev and fop-user but i did not find any solution...
 
Many regards,
 
Tobias Kuhn

Reply via email to