poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eden <kamja...@gmail.com>
Subject Excel freezepane question.
Date Mon, 25 Jun 2012 00:49:02 GMT


Hello?

I have a excel freezepane question.

Freezepane already created in excel if i can modify a code using  api?

This is a sample code.

=====================================

XSSFWorkbook workBook = new XSSFWorkbook(new FileInputStream(file));

XSSFSheet xssfSheet = workBook.getSheetAt(0);
		
xssfSheet.createFreezePane(1, 6, 1, 2);

System.out.println(" xssfSheet.getFirstRowNum : " +
xssfSheet.getFirstRowNum() + " xssfSheet.getLastRowNum :  " +
xssfSheet.getLastRowNum());


out put : 

 xssfSheet.getFirstRowNum : -1 xssfSheet.getLastRowNum :  2

=====================================

With best regards, 





--
View this message in context: http://apache-poi.1045710.n5.nabble.com/Excel-freezepane-question-tp5710288.html
Sent from the POI - Dev mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


Mime
View raw message