-2

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?

4

1 回答 1

2

查看 :public void setRowBreak(int row)

关联

于 2013-03-12T12:23:51.120 回答