DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41995>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41995

           Summary: [PATCH] Barcode Support for AFP Renderer
           Product: Fop
           Version: all
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: general
        AssignedTo: fop-dev@xmlgraphics.apache.org
        ReportedBy: [EMAIL PROTECTED]


The attached patch provides barcode support for the AFP Renderer, defining the
barcode using BCOCA (Bar Code Object Content Architecture) within 

the AFP datastream. The patch uses a specific BCOCA extension, although this
could easily be change to a generic extension to barcodes in 

different output formats. The extension nanespace is
xmlns:bcoca="http://xmlgraphics.apache.org/fop/extensions/afp/bcoca";

I have created a seperate package org.apache.fop.barcode which contains the code
for the barcode configuration and dimension calculations, this is 

based largely on the excellent Barcode4J code by Jeremias Maerki, except that I
have removed the aspects not required for AFP such as the 

generation of the barcode. So far I have only implemented Code39, PDF417 and
POSTNET. Ideally this needs to be re-organized to provide generic 

barcode support, although this would require closer integration with Barcode4J.
This package does not contain any AFP specifics and these are 

handled in the bcoca packages.

Two files are attached, the patch file and a seperate zip containing the new 
files.

Rgds, Pete Townsend

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to