Hello Georg, i purposely put break-after attribute because i wanted each and every table on a different page which works good but when it comes to the last record it adds a page break there too :-(. is there a way i could resolve this.
Georg Datterl wrote: > > Hi shrutin, > > I guess, since your last table has a break-after="page", there's a page > break after the last table. And what would a page break be without a > following page? > > Regards, > > Georg Datterl > > ------ Kontakt ------ > > Georg Datterl > > Geneon media solutions gmbh > Gutenstetter Straße 8a > 90449 Nürnberg > > HRB Nürnberg: 17193 > Geschäftsführer: Yong-Harry Steiert > > Tel.: 0911/36 78 88 - 26 > Fax: 0911/36 78 88 - 20 > > www.geneon.de > > Weitere Mitglieder der Willmy MediaGroup: > > IRS Integrated Realization Services GmbH: www.irs-nbg.de > Willmy PrintMedia GmbH: www.willmy.de > Willmy Consult & Content GmbH: www.willmycc.de > -----Ursprüngliche Nachricht----- > Von: shrutin [mailto:[email protected]] > Gesendet: Donnerstag, 15. Oktober 2009 14:41 > An: [email protected] > Betreff: Re: Page Breaks in Table > > > > Hello Sergiu, > This the peice of xsl that i have made > > <xsl:for-each select="record"> > <fo:table width="100%" font-size="10pt" break-after="page"> > <fo:table-column column-width="3cm" /> <fo:table-column column-width="8cm" > /> <fo:table-body> <fo:table-row> <fo:table-cell text-align="left"> > <fo:block left="0cm"> <xsl:value-of select="data1"/> </fo:block> > </fo:table-cell> <fo:table-cell text-align="left"> <fo:block left="0cm"> > <xsl:value-of select="data2"/> </fo:block> </fo:table-cell> > </fo:table-row> <fo:table-row> <fo:table-cell number-columns-spanned="2" > text-align="left" width="100%"> <fo:block left="0cm"> <xsl:value-of > select="data3"/> </fo:block> </fo:table-cell> > </fo:table-row> > </fo:table-body> > </fo:table> > </xsl:for-each> > > What this does is adds a blank page at the end of the last record. > > I may be doing somthing wrong but am not able to catch it > > > Sergiu Dumitriu-2 wrote: >> >> On 10/15/2009 01:21 PM, shrutin wrote: >>> >>> Hello All, >>> >>> I have a list of record and each record needs to be displayed on a >>> different page. But if i add a break-before="page" or >>> break-after="page" i get a blank page before or after respectively. >>> So how could i achieve this requirement without an extra blank page, >>> also setting the length of the row or column is also not possible >>> before the data content may vary. >> >> Strange, the specification says that only "odd-page" and "even-page" >> create blank pages, while "page" simply forces the content to be on a >> new page. You either have some other code that generates the extra >> page (maybe a previous attempt to insert page breaks, or a break-after >> on another element), or there's a bug in FOP. Please check that >> there's no problem in your XSLT or FO documents. >> >> -- >> Sergiu Dumitriu >> http://purl.org/net/sergiu/ >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> >> > > -- > View this message in context: > http://www.nabble.com/Page-Breaks-in-Table-tp25906883p25907859.html > Sent from the FOP - Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > 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] > > > -- View this message in context: http://www.nabble.com/Page-Breaks-in-Table-tp25906883p25908067.html Sent from the FOP - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
