Copying rows or cells using Java

G

Gordon

I am creating reports in .xls format from a Java application using Jakarta
POI. For various reasons, I would like to be able to tweak the format of the
report interactively using Excel rather than POI. My approach to this is to
create a report template using Excel. My application will then open the
template and, for each row in the report, simply copy a row from the template
onto the report, and then fill in the values. However, I have not found a way
to copy a row or cell via POI in such a way that preserves formatting. Is it
possible to do this with POI? If not, is there any other Java API that
supports this? The copying of rows or cells would be between worksheets but
within the same workbook.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top