reply inline...

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

<snipped/>

> Here is what I do:
> - set the page format (A4) on the sheet
> - set the page layout (Horizontal) on the sheet
> - set the page margins on the sheet
> - create my data rows and columns, and format them
> - try to set the 'fit to' by using:
>        sheet.getPrintSetup().setFitWidth((short) 1);


Add HSSFSheet.setAutobreaks(true) here


> - save the file.

<snipped/>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/

Reply via email to