-
1. Re: <p:barCode> seamPDF + iText barcodes
ivanflorentin Apr 6, 2007 4:49 PM (in response to ivanflorentin)As far as I understand I just have to extend org.jboss.seam.pdf.ui.UIRectangle or even org.jboss.seam.pdf.ui.UIImage.
-
2. Re: <p:barCode> seamPDF + iText barcodes
spambob Apr 6, 2007 5:57 PM (in response to ivanflorentin)I never used iText & Barcodes but if you can convert your barcode to com.lowagie.text.Element you should be able to show it with p:element (have a look at http://www.jboss.com/index.html?module=bb&op=viewtopic&t=105900)
-
3. <p:barCode>
ivanflorentin Apr 7, 2007 11:01 AM (in response to ivanflorentin)I have a working basic implementation of the tag if anyone is interested, it supports absolute positioning/rotation. It has all the functionallity I need now but I plan to extend to most of the underlaying implementation.
-
4. Re: <p:barCode> seamPDF + iText barcodes
norman.richards Apr 7, 2007 9:12 PM (in response to ivanflorentin)Please to open a JIRA case and contribute the code back. I can see how barcode generation might be useful to a lot of people.
-
5. Re: <p:barCode> seamPDF + iText barcodes
ivanflorentin Apr 9, 2007 11:35 AM (in response to ivanflorentin)I created a case and uploaded the files, note that I only need code128 type of barcode at this moment, so I didn't test much the other types. There is also an example of use in the package.
The functionality for code128 is also not complete noe but i expect to expad it in the following days.
It supports absolute positioning and rotation to be able to place the barcode outside the document area<p:barCode type="code128" code="absolute" xpos="200" ypos="300" rotDegrees="45"/>
coordinates are in points from base-left of the page, rotation is in degrees.