Oh, sorry I see now that it sounds like it may be a recursion issue. Have you tried downloading one of the latest nightly builds to see if the problem has been fixed? There is talk on the developers list of an upcoming release of version 3.7 in beta form and it could be that this problem has been addressed there. Of course, I cannot promise that this is the case as I do not know but it will be worth looking into.
The other option would be to raise this issue on the developer list, explain that the problem identified in that bugzilla entry persists and enquire whether it has been fixed or will be fixed soon. Yours Mark B Yohan Yudanara-2 wrote: > > The code is exactly the same with poi hssf quick guide on this site: > http://poi.apache.org/spreadsheet/quick-guide.html#PrintArea2 > > After searching the bugzilla, I've found out that this problem already > submitted as a bug since February 2009: > https://issues.apache.org/bugzilla/show_bug.cgi?id=46664 > > This bug is happened since poi 3.5. > This problem doesn't appear on poi-3.2-final. > > Hope somebody will fixed it :) > For instant solution, I would fallback using poi-3.2. > > I'm looking at the source code and it looks like the source code for > setPrintArea on poi 3.2 and poi 3.5/3.6 is quite different. > > Thanks... > > > On Mon, Jun 7, 2010 at 10:38 PM, MSB <markbrd...@tiscali.co.uk> wrote: >> >> Hello, >> >> Can you post some code please so that we can see what you are trying to >> do. >> You do not need to post everything, just the part where you are trying to >> set the print area. While you are doing that, I will have a look through >> the >> test code and play with some of my own to see if I can put together >> something that will (hopefully, crosses fingers and toes) work. >> >> Yours >> >> Mark B >> >> >> Yohan Yudanara-2 wrote: >>> >>> Hi, >>> >>> I'm trying to setprintarea in HSSF using wb.setPrintArea, which is >>> mentioned in documentation. >>> But I can't get it working. >>> When I'm opening my workbook in Excel, the print area is not set. >>> >>> What am I doing wrong ? >>> >>> I'm asking the same problem with >>> http://mail-archives.apache.org/mod_mbox/poi-user/200702.mbox/%3cb9a453c20702270153w6567ea9fo7c3114eae8cb3...@mail.gmail.com%3e >>> and >>> http://mail-archives.apache.org/mod_mbox/poi-user/200901.mbox/%3c1232033996.732.4.ca...@baldridgeec%3e >>> >>> Thanks in advance >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: user-unsubscr...@poi.apache.org >>> For additional commands, e-mail: user-h...@poi.apache.org >>> >>> >>> >> >> -- >> View this message in context: >> http://old.nabble.com/setprintarea-not-working-tp28803698p28806939.html >> Sent from the POI - User mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: user-unsubscr...@poi.apache.org >> For additional commands, e-mail: user-h...@poi.apache.org >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@poi.apache.org > For additional commands, e-mail: user-h...@poi.apache.org > > > -- View this message in context: http://old.nabble.com/setprintarea-not-working-tp28803698p28814298.html Sent from the POI - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@poi.apache.org For additional commands, e-mail: user-h...@poi.apache.org