RE: Page Break – Advanced PDF table

  1. Is there a way to add page break in table when there are less than 5 lines of sentences near to the end of the page? Or is there any way to add page-break-inside in table?
  2. Is there a way to bold line item description by adding asterisks? E.g.  *Bold Text* and the text will be bold.
Jie Rookie Asked on May 28, 2022 in How To's.
Add Comment
2 Answers

Hi Jie,

For add page break in table, you can handle it through footer by increasing footer size in body tag.

For to add page-break-inside in table, you can use style=”page-break-inside:avoid/always” as per need.

For more info you can refer:

https://bfo.com/products/report/docs/tags/atts/page-break-inside.html#:~:text=page%2Dbreak%2Dinside%20attribute&text=Whether%20to%20allow%20the%20specified,at%20page%20breaks%20by%20default

For to bold line item description by adding asterisks- you can not bold any text using asterisks. you have to use <b>*${item.description}*</b>.

 

Thanks,

Ajay K Mandloi

Rookie Answered on May 31, 2022.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.