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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to