In this case we are loading the three code128 encodingĬlass clazz = new Class ) it is loading the methods for the encoding into the hashtable. This is the main code that is executed in the class, Public static final BarcodeUtil mUtility = new BarcodeUtil() The BarcodeUtil class needs to be instantiated Public static final Hashtable ENCODERS = new Hashtable(10) The hashtable is used to store references to Public static final String BARCODE_VENDOR_ID = "XMLPBarVendor" register vendor field and format-barcode fields This is the barcode vendor id that is used in the The class implements the XDOBarcodeEncoder interface Public class BarcodeUtil implements XDOBarcodeEncoder This class name will be used in the register vendor 上传java文件BarcodeUtil.java到目录 $JAVA_TOP/oracle/apps/xdo/template/rtf/util/barcoder 没有新建 时调用生成 128 码就可以实现条码的生成和打印。在《Oracle XML PublisherĪdministration and Developer's Guide》中 Advanced Barcode Font Formatting
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |