Hi -
POI is not a replacement for Excel or OpenOffice so you won't be able
to print from POI. POI is about manipulating Microsoft Office and OLE2
documents.
You can set the printing orientation of an Excel file using POI.
See
http://poi.apache.org/apidocs/org/apache/poi/hssf/usermodel/HSSFPrintSetup.html
And find setLandscape
Landscape is the same as Horizontal and Portrait is Vertical. The
words Landscape and Portrait are from Art History.
You might also see Wide and Narrow.
Regards,
Dave
On Jan 21, 2010, at 8:21 AM, Federica Oltolina wrote
Hi all,
First of all I apologize for my poor english.
does anyone know how can I print a sheet with horizontal orientation
with POI 3.5?
I mean that I would do programmatically the following thing (with
office 2003):
file --> page setup --> page(it's a tab) --> orientation --> a radio
button that let choose between "horizontal" and "vertical"
(I would choose "horizontal")
I googled lots of words with no result, please can you help me?
Thanks in advance
Federica
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]