Hi Alessandro, On Sat, Feb 10, 2007 at 01:51:17AM +0100, Alessandro Zummo wrote:
> [...]
>    I'm planning to write a plugin for Calc to draw
>   DataMatrix 2D barcodes.

If you don't have the logic already to actually generate that barcode, I
suggest to have a look at the barcode4j project.
http://barcode4j.sourceforge.net/
It is under Apache License v2

>    I'm new in writing plugins, so I would like
>  to ask if someone can help in dealing with the
>  interfacing with OO while I can write the barcode
>  handling code.

See above. You don't need to reinvent the whell :-)
Basically the tough thing is embedding the generated graphic into the
document.
I was having trouble with this as well, but got around it using an idea
from Danny Brewer (using the BitmapTable to get the graphic into the
container):
http://codesnippets.services.openoffice.org/Writer/Writer.EmbedAGraphicIntoATextdocument.snip

>    If things goes well, support for other
>  1D and 2D barcode symbologies will be added.

Others were faster :-)) (but maybe you could do the same in another
programming language)

ciao
Christian
-- 
NP: Bif Naked - Any Day Now

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to