Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you add a page break in a PDF with XSL-FO?

Tags:

pdf

xslt

xsl-fo

How do you add a page break into a document with XSL-FO? I'm using Apache FOP to create PDFs, if that makes a difference.

like image 372
Philip Morton Avatar asked Oct 22 '08 13:10

Philip Morton


People also ask

How do I insert a page break in a PDF?

When creating visually pleasing PDFs, it is essential to have control over exactly where the content of one page ends and the content of another begins. To insert a page break into your document, simply place your cursor where you want the page to break and click the Page Break button. Insert Page Breaks With Code

How do I add a page break to a confluence page?

By default, Confluence pages are exported without page breaks, so that shorter pages will appear on the same PDF page. To make each Confluence page appear on a separate page in the PDF file, add the following rule in the PDF Stylesheet: As for being able to include a page break on-demand, there's a feature request below for this:

How do I use page breaks in my report?

Use page breaks to customise what information goes on what page. Export your report as a PDF document to see how it looks before sharing it. Use page breaks to keep related information on one page, or to split information into separate pages. For example, add a page break if you’d like a schedule to appear on its own page.

How do I Break A Word document into six separate pages?

I used the Organize Pages tool to break the document into six separate pages. Organize Pages allows you to insert a blank page or insert from the clipboard. 1) Open the unpaginated document in Acrobat. 4) Right-click where you want the page to go. Or hover over the last page, select the three dots.


1 Answers

You can also do:

<fo:block page-break-before="always">   ...things you want in a new page... </fo:block> 
like image 89
cxm8002 Avatar answered Sep 28 '22 04:09

cxm8002