Adding Page-Breaks in PDF report output format

Monday, November 23, 2015 10:41:09 AM
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?

Thanks
Kai
2 Replies
Monday, December 7, 2015 2:48:52 PM
Avatar
re: KaiGerhold on Monday, November 23, 2015 10:41:09 AM
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 - https://en.wikipedia.org/wiki/XSL_Formatting_Objects

Regards
Sarah
Monday, June 18, 2018 2:27:04 PM
Avatar
re: KaiGerhold on Monday, November 23, 2015 10:41:09 AM

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 https://form-cd-401s.pdffiller.com/ it requires more steps to pass in order to get it ready to go, but it's dead simple nevertheless

Statistics
  • Started: Monday, November 23, 2015 10:41:09 AM
  • Last Reply: Monday, June 18, 2018 2:27:04 PM
  • Replies: 2
  • Views: 1291