Can't you use a true type font barcode for it?
Most barcodes are also available as true type fonts. All you have to do
is export the barcode numbers as String and set the font of the
HSSFCellStyle to the bar code font.
This of cause means that the user opening the sheet must have the font
installed on his machine.

ciao Bodo

> Well I have some code which almost goes as far as letting you 
> do this that 
> unfortunately I can't release it yet.
> 
> Regards,
> 
> Glen
> 
> At 04:10 AM 3/12/2003, you wrote:
> >Also, if someone has a hint for me for a java class, which can create
> > > this bar code
> >http://www.krysalis.org/barcode/
> >
> >However, as far as poi is concerned, we dont have the 
> ability to attach
> >images into worksheets currently.. but its a sorely needed
> >functionality, and someone needs to volunteer.....
> >
> >On Tue, 2003-12-02 at 22:32, Christoph Jaeger wrote:
> > > Hi,
> > >
> > > Is there a way of including an image into an Excel sheet 
> created with
> > > POI? I want to create a sheet including a bar code (I 
> will probably be
> > > able to create a GIF or PNG or PDF image of the bar code 
> to be used).
> > > The sheet will be printed and the bar code scanned with a bar code
> > > scanner later.
> > >
> > > Also, if someone has a hint for me for a java class, 
> which can create
> > > this bar code (I do not care too much about which type of 
> code, as long
> > > as an ordinary scanner can read it), I would be glad to hear it.
> > >
> > > Thanks a lot,
> > >
> > > Best Regards,
> > >
> > > Christoph J�ger
> > >
> > >
> > > 
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> Glen Stampoultzis
> [EMAIL PROTECTED]
> http://members.iinet.net.au/~gstamp/glen/
> 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to