Page-Break in a table
Here should go questions about transforming XML with XSLT and FOP.
-
- Posts: 3
- Joined: Thu Jun 06, 2019 10:19 am
Page-Break in a table
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
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
-
- Posts: 3
- Joined: Thu Jun 06, 2019 10:19 am
Re: Page-Break in a table
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
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
-
- Posts: 9431
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Page-Break in a table
Hi,
Usually to add a page break inside XSL-FO I add a new fo:block looking something like this:
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
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"/>
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 3
- Joined: Thu Jun 06, 2019 10:19 am
Re: Page-Break in a table
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:
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.Code: Select all
<fo:block page-break-before="always"/>
Regards,
Radu
Didn't work for me. Nothing happens when i add
Code: Select all
<fo:block page-break-before="always"/>
-
- Posts: 9431
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Page-Break in a table
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
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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service