poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Danny Mui <da...@muibros.com>
Subject Re: Is there a bug in the setPrintArea()?
Date Fri, 19 Dec 2003 17:44:59 GMT
looks simple enough to match the test cases that were written but will 
investigate nonetheless.

both calls end up using the same logic so they should be consistently 
wrong/right hehe.


Lior Shliechkorn wrote:
> Hi,
>  
> I'm trying to set a print area so that my file can fit on one page. However, I'm not
getting the results I need from the setPrintArea() - both methods.
>  
> This is what I'm doing:
>  
> wb.setPrintArea(0, "$A$1:$N$" + GLOBAL_ROW_COUNT);
>  
> or
> 
> wb.setPrintArea(0, 0, 15, 0, (int) GLOBAL_ROW_COUNT);
> 
> The global_row_count just keeps track on which row I am on the page - pretty self-explanatory.
>  
> The problem is that it's doing ok on the row side, but on the column side it's still
cutting off around column J.
>  
> Any ideas on how to get around this issue?
>  
> Thank you very much,
>  
> Lior Shliechkorn
> 
> 
> ---------------------------------
> Do you Yahoo!?
> New Yahoo! Photos - easier uploading and sharing

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


Mime
View raw message