poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stuart Houston" <stuart.hous...@pha.co.za>
Subject Re: Header/Footer question
Date Wed, 12 Feb 2003 15:05:43 GMT
Where can i get the latest version of the POI? 1.9?


----- Original Message -----
From: "Laubach Shawn Contr OC-ALC/PSB" <Shawn.Laubach@tinker.af.mil>
To: "'POI Users List'" <poi-user@jakarta.apache.org>
Sent: Wednesday, February 12, 2003 5:02 PM
Subject: RE: Header/Footer question


> Headers and footers were not added until 1.8.
>
> Shawn
>
> -----Original Message-----
> From: DRINKARD, JAMES E (SBCSI) [mailto:jd4147@sbc.com]
> Sent: Wednesday, February 12, 2003 8:52 AM
> To: 'POI Users List'
> Subject: RE: Header/Footer question
> Importance: High
>
>
> My sheet object doesn't have the getHeader() method. I must be missing a
jar
> file? I'm using: commons-logging-1_0_2.jar,
> jakarta-poi-1.5.0-FINAL-20020506.jar and
> jakarta-poi-examples-1.5.0-FINAL-20020506.jar only or am I doing something
> else wrong?
>
> -----Original Message-----
> From: Laubach Shawn Contr OC-ALC/PSB
> [mailto:Shawn.Laubach@tinker.af.mil]
> Sent: Wednesday, February 12, 2003 8:27 AM
> To: 'POI Users List'
> Subject: RE: Header/Footer question
>
>
> HSSFWorkbook wb = new HSSFWorkbook();
> HSSFSheet sheet = wb.createSheet("new sheet");
>
> HSSFHeader header = sheet.getHeader();
> header.setCenter("Center Header");
> header.setLeft("Left Header");
> header.setRight(HSSFHeader.font("Stencil-Normal", "Italic") +
>                 HSSFHeader.fontSize((short) 16) + "Right w/ Stencil-Normal
> Italic font and size 16");
>
> Shawn
>
> -----Original Message-----
> From: DRINKARD, JAMES E (SBCSI) [mailto:jd4147@sbc.com]
> Sent: Wednesday, February 12, 2003 7:40 AM
> To: 'poi-user@jakarta.apache.org'
> Subject: Header/Footer question
> Importance: High
>
>
> Hello All,
> How do I set a simple header/footer with hssf? I reviewed the api and
docs,
> but don't see any valid examples. I have been able to create a workbook,
> sheet, rows and cells without any problems.
>
> James
>
> James Drinkard
> SBC Online
> 1010 Pine St. 10-W-37
> St. Louis, MO 63101
> Work: (314) 331-2860
> Pager: (877) 717-0418
> Text Pager: http://www.arch.com
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: poi-user-help@jakarta.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: poi-user-help@jakarta.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: poi-user-help@jakarta.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: poi-user-help@jakarta.apache.org
>
>


Mime
View raw message