1

I am sending a PDF through batch class. In PDF there are some tables. I want new page every time a new table starts in pdf.

How can I achieve this??

  • Does the PDF already exist, or are you hoping to add page breaks to an existing one? – bigassforce Jan 28 '14 at 11:50
  • 1
    I have a batch class in which I create the tables in convert in pdf to send it in mail.I need to break page after every table in pdf – Mahi Jan 28 '14 at 12:16
1

You can have a style for tr inside pdf see w3schools

<style>

{
tr{page-break-after:always;}
}
</style>
| improve this answer | |
  • I am not usinf visualforce page. I am creating pdf through batch class – Mahi Jan 28 '14 at 12:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.