I have a working program that creates a spreadsheet. great. i'm trying to add
some simple bells and whistles based on the Busy Developer's Guide examples,
such as the autofilter and footer examples.
I can get it them to compile, but i don't see any results in the spreadsheet.
I don't see what I'm doing wrong.
here's the relevant code for the autofilter and footers....
import org.apache.poi.hssf.usermodel.*;
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
import org.apache.poi.hssf.usermodel.HSSFFooter;
....
HSSFSheet sheet = wb.createSheet("$230 Report");
// 08/16/11 added autofilter
sheet.setAutoFilter(CellRangeAddress.valueOf("N5:N65000"));
.........
HSSFFooter footer = sheet.getFooter();
footer.setCenter("Center footer");
footer.setLeft("Left footer");
footer.setRight("Right footer");
like i said - the program runs but i don't see the autofilter button or the
footers in the resulting spreadsheet.
i'm using poi 3.7
anybody have any idea what the problem is?
thanks!
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]