You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@poi.apache.org by Nick Burch <ni...@torchbox.com> on 2008/09/02 23:01:19 UTC

Re: printing issue: Landscape, fixed width, repeating rows

On Thu, 28 Aug 2008, Jason Vincent wrote:
> I'm having a printing issue with my application.  I've gotten the 
> landscape and 1 page fixed width printing to work.  As soon as I try to 
> set some repeating Rows and Columns the print, rendering gets all messed 
> up.  In Excel, the print setup and preview appears to still be in 
> landscape mode, but the content of the page is scaled down and rotated 
> into portrait mode.

I suspect this is a little used and poorly tested area of poi. It might be 
worth you producing three files:
* the closest to the print layout that you want, as produced by poi, that
   excel renders properly
* the same file, re-saved by poi with the print layout you want, which
   excel doesn't render correctly
* the same file, re-saved by excel with the print layout you want

Finally, use org.apache.poi.hssf.dev.BiffViewer to try to figure out what 
poi's doing differently to excel. Hopefully the poi fix will fall neatly 
out of that discovery :)

Nick

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