You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@poi.apache.org by Philip Nienhuis <pr...@hccnet.nl> on 2010/10/08 19:28:42 UTC

How to distinguish Excel sheet type

(Sorry if this question has been answered before, Google didn't show it up)

Using the HSSFWorkbook and HSSFSheet classes, how can I determine the 
type of sheet? (Worksheet, Chart, .....)
I'm looking for something like Visual Basic's Sheets.Type() function.

I did find some low-level stuff that (maybe, maybe) may be helpful:
     http://www.roseindia.net/java/poi/TypeOfSheet.shtml
but I'm using the "high-level classes" and I can't find how to get to 
the low levels (BOFRecord etc) starting from usermodel.HSSFWorkbook or 
usermodel.HSSFSheet objects.

Thanks,

Philip

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