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??

2
  • Does the PDF already exist, or are you hoping to add page breaks to an existing one? Jan 28, 2014 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, 2014 at 12:16

1 Answer 1

1

You can have a style for tr inside pdf see w3schools

<style>

{
tr{page-break-after:always;}
}
</style>
1
  • I am not usinf visualforce page. I am creating pdf through batch class
    – Mahi
    Jan 28, 2014 at 12:16

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .