If I do like this I gate the following exception :
java.lang.NullPointerException
at org.apache.poi.POIDocument.getPropertySet(POIDocument.java:126)
at org.apache.poi.POIDocument.readProperties(POIDocument.java:99)
at org.apache.poi.POIDocument.getSummaryInformation(POIDocument.java:85)
...........................
Nick Burch wrote:
>
> On Tue, 24 Nov 2009, dpmihai wrote:
>> ( before we close the file output stream) : I was talking about the
>> file output stream used to write the WorkBook.
>
> Can you not call the getSummaryInformation() method of HSSFWorkbook
> (inherited from POIDocument), and work on it that way before you save
> the workbook?
>
> Nick
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
>
--
View this message in context:
http://old.nabble.com/SummaryInformation-tp26497648p26498539.html
Sent from the POI - Dev mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]