Page 1 of 1

Page-Break in a table

Posted: Thu Jun 06, 2019 2:15 pm
by MK0508
Hello.

I got a Problem with page break in my table which is automatically generatet.

I want after the template anf_komm automatically a page break.


<fo:table-row>
<fo:table-cell border-bottom-style="solid" border-bottom-width="1.0pt" border-bottom-color="#cccccc" number-columns-spanned="11" display-align="before">
<fo:block position="relative" span="all" white-space-collapse="true" display-align="before" text-align="start" color="#000000" font-family="Arial" font-size="12.0pt"><xsl:call-template name="anf_komm"/>
</fo:block>
</fo:table-cell>
<fo:table-cell/></fo:table-row>


Best Regards,

MK0508

Re: Page-Break in a table

Posted: Thu Jun 06, 2019 5:21 pm
by Costin
Hello,

What specific transformation scenario are you using?

Regards,
Costin

Re: Page-Break in a table

Posted: Tue Jun 11, 2019 11:35 am
by MK0508
I work with the program XSLFast 3.0. This is saved as .xsf. It uses an .xml file to generate an .xsl which will be used as a layout.

The external program then sends out an .xml file and generates a .pdf document with the .xsl file.

The .xml always has the same structure.

Best regards

MK0508

Re: Page-Break in a table

Posted: Thu Jun 13, 2019 8:14 pm
by Radu
Hi,

Usually to add a page break inside XSL-FO I add a new fo:block looking something like this:

Code: Select all

<fo:block page-break-before="always"/>
If this does not work inside table cells, maybe depending on the FO processor used to create the PDF from XSL-FO (Oxygen uses Apache FOP by default) you could register on a specific processor-specific user's mailing list and ask there.

Regards,
Radu

Re: Page-Break in a table

Posted: Mon Jun 17, 2019 9:56 am
by MK0508
Radu wrote: Thu Jun 13, 2019 8:14 pm Hi,

Usually to add a page break inside XSL-FO I add a new fo:block looking something like this:

Code: Select all

<fo:block page-break-before="always"/>
If this does not work inside table cells, maybe depending on the FO processor used to create the PDF from XSL-FO (Oxygen uses Apache FOP by default) you could register on a specific processor-specific user's mailing list and ask there.

Regards,
Radu


Didn't work for me. Nothing happens when i add

Code: Select all

<fo:block page-break-before="always"/>
in my Table or directly in the .xsl data

Re: Page-Break in a table

Posted: Tue Jun 18, 2019 8:58 am
by Radu
Hi,

You can probably try to come up with a small XSL-FO sample document exemplifying the problem and post a question on the Apache FOP users list.

Regards,
Radu