You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@poi.apache.org by Robson Caetano <do...@gmail.com> on 2009/02/12 10:55:12 UTC

size of page A4, A5

Hi.

How i set size ? A4, A5 and etc.

Thanks!

Re: size of page A4, A5

Posted by MSB <ma...@tiscali.co.uk>.
Hello Robson,

Take a look at the HSSFSheet class. You should see a method called
getPrintSetup() that returns an instance of the HSSFPrintSetup class. This
class has methods that allow you to do lots of things like setting the page
size - setPaperSize().

Yours

Mark B


Robson Caetano wrote:
> 
> Hi.
> 
> How i set size ? A4, A5 and etc.
> 
> Thanks!
> 
> 

-- 
View this message in context: http://www.nabble.com/size-of-page-A4%2C-A5-tp21972950p21981040.html
Sent from the POI - User mailing list archive at Nabble.com.


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


Re: size of page A4, A5

Posted by Christophe Charles <ch...@gmail.com>.
ok

2009/2/12 Robson Caetano <do...@gmail.com>

> Excel with POI 3.0
>
> 2009/2/12 Christophe Charles <ch...@gmail.com>
>
> > For which document (word, excel, ...) ?
> >
> > 2009/2/12 Robson Caetano <do...@gmail.com>
> >
> > > Hi.
> > >
> > > How i set size ? A4, A5 and etc.
> > >
> > > Thanks!
> > >
> >
>

Re: size of page A4, A5

Posted by Robson Caetano <do...@gmail.com>.
Excel with POI 3.0

2009/2/12 Christophe Charles <ch...@gmail.com>

> For which document (word, excel, ...) ?
>
> 2009/2/12 Robson Caetano <do...@gmail.com>
>
> > Hi.
> >
> > How i set size ? A4, A5 and etc.
> >
> > Thanks!
> >
>

Re: size of page A4, A5

Posted by Christophe Charles <ch...@gmail.com>.
For which document (word, excel, ...) ?

2009/2/12 Robson Caetano <do...@gmail.com>

> Hi.
>
> How i set size ? A4, A5 and etc.
>
> Thanks!
>