Hi Bob.

Around 1 1/2 years ago there was the thread "phantom cells". Please read
this. There some things about memory consumption (allocation of chunks)
are mentioned.

I don't know whether POI was improved meanwhile. But I hope that the
answers there let you understand the thing a bit better.

Regards,        Karl-Heinz.


-----Ursprüngliche Nachricht-----
Von: Zach Engel [mailto:[EMAIL PROTECTED] 
Gesendet: Mittwoch, 17. August 2005 19:22
An: 'POI Users List'
Betreff: RE: Shrink spreadsheet after removing rows?

I think you should use sheet.shiftRows (int startRow, int endRow, int n)

Shift all the rows (under the row you want to remove) up by one

Does this help?

-----Original Message-----
From: Robert Herold [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, August 17, 2005 8:16 PM
To: 'POI Users List'
Subject: RE: Shrink spreadsheet after removing rows?

(Bump to top of communal conciousness again)

Is this possible to do?  Maybe it's so obvious that no one bothered to
respond to such an idiotic question...

Thanks for any help.

-- bob 

-----Original Message-----
From: Robert Herold [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 09, 2005 1:38 PM
To: [email protected]
Subject: Shrink spreadsheet after removing rows?

Just started using poi.hssf yesterday - very nice!

I'm using it to manipulate an existing spreadsheet.  I want to remove a
row
in the middle, so I move all rows after it up by one.  This leaves a
blank
row at the end, which one can see after writing it out and opening it
with
Excel.  I've tried removing the blank row, to no avail.  Is there any
way to
shrink the spreadsheet to not include the blank row?

-- bob



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/

Reply via email to