I have a database table with more than 200 records.
I have to write this data to ms excel using java and poi api.
I am able to write the data. But, all the data appears in a single page (not sheet).
I want to split every 70 rows into different pages (not sheets).
Along with headers and footers i need it.
setautopagebreaks(true) sets it to every 30 rows by default
e.g., after every 70 rows, there has to be a page break.
How do i do this?