Adding Page-Breaks in PDF report output format

Monday, November 23, 2015
Is it possible to add a page-break tag/style into the stylesheet, that is creating a page break in the PDF output? For output as word document the following works, but unfortunately not for the PDF output:
<br clear="all" style="mso-special-character:line-break;page-break-after:always"/>

Any Ideas?

3 Replies
Monday, December 7, 2015
re: KaiGerhold Monday, November 23, 2015
Hi Kai

That tag is specific to MS-Word since it has the "mso-" prefix (MS-Office). For the PDF report we're basically converting the HTML dynamically into XSL-FO and then using the open source FoNET engine to convert the XSL-FO to PDF.

So your best bet would be to see if any of the XSL tags work -

Monday, June 18, 2018
re: KaiGerhold Monday, November 23, 2015

There's way more complicated way to make amends for the PDF output than the one for Word docs, as has been mentioned above. To me, it's always an easier option to get that conversion as it is and then edit the final file with this tool it requires more steps to pass in order to get it ready to go, but it's dead simple nevertheless

Thursday, February 7, 2019
re: shepPettibone Monday, June 18, 2018

Hi there

Where do I add the <br clear="all" style="mso-special-character:line-break;page-break-after:always"/>

to make it work?

I've added it into one section but still no page breaks?

Spira Helps You Deliver Quality Software, Faster and With Lower Risk

And if you have any questions, please email or call us at +1 (202) 558-6885


  • Started: Monday, November 23, 2015
  • Last Reply: Thursday, February 7, 2019
  • Replies: 3
  • Views: 16353