thuliobuarque / java2word

Automatically exported from code.google.com/p/java2word
0 stars 0 forks source link

need the table to start in new page. #84

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What web framework and version are you using (Struts1, Struts2, Spring,
JBoss Seam)?

Did you download j2w-ejb-2.0.zip or built from the source code?

yeah

Which web server did you deploy your .WAR (Tomcat, JBoss)?

Are you using Maven or Ant?

What is your Operational System?

What steps will reproduce the problem?
1.i am using ur java2word api to generate the word document. I am generating 
number of tables in the word document.. now my problem is every table has to 
start in a new page..
is there any existance method in your api to start the each and every table in 
the new page....

please help me... thanks in advance...
2.
3.

Please provide any additional information below.

Original issue reported on code.google.com by juturuna...@gmail.com on 8 Feb 2012 at 10:38

GoogleCodeExporter commented 8 years ago
thats an easy one:

right before every table, do this:

myDoc.addEle(PageBreak.create());

cheers
Leonardo

Original comment by leonardo...@gmail.com on 8 Feb 2012 at 12:38

GoogleCodeExporter commented 8 years ago
thanks a lot leonardo....

Original comment by juturuna...@gmail.com on 8 Feb 2012 at 1:51

GoogleCodeExporter commented 8 years ago

Original comment by leonardo...@gmail.com on 16 Feb 2012 at 10:43