code128c.java
来自「遗传算法改进神经网络源程序 该小程序可以添加条形码功能到你的网页或者applet」· Java 代码 · 共 63 行
JAVA
63 行
// Decompiled by DJ v3.7.7.81 Copyright 2004 Atanas Neshkov Date: 2007-11-23 16:17:24
// Home Page : http://members.fortunecity.com/neshkov/dj.html - Check often for new version!
// Decompiler options: packimports(3)
// Source File Name: Code128C.java
package com.bokai.barcodes;
// Referenced classes of package com.bokai.barcodes:
// EAN128, Barcode, BarcodeSpec, CharDef
class Code128C extends EAN128
{
Code128C()
{
super.bdType = 25;
super.bdTypeName = "CODE-128 C";
super.bdStyle = 41754;
super.bdLongBars = 0;
super.bdCharBitNum = 6;
super.bdCharNum = 103;
super.bdTextLen = 7;
super.bdCentralCharInd = 0;
super.bdBarExtNum = 4;
super.bdBarExt = (new byte[] {
1, 2, 3, 4
});
super.bdSpaceExtNum = 4;
super.bdSpaceExt = (new byte[] {
1, 2, 3, 4
});
super.bdInterCharExt = 0;
super.bdLeftMargin = 6;
super.bdTopMargin = 1;
super.bdRightMargin = 6;
super.bdBottomMargin = 1;
super.bdCentralMargin = 0;
super.bdCharset = (new CharDef[][] {
EAN128._chardef_ean128_a, EAN128._chardef_ean128_b, EAN128._chardef_ean128_c
});
super.bdCharsetSel = null;
super.bdStyle2 = 0;
super.bdTextLen2 = 0;
super.bdCharset2 = null;
super.bdCharsetSel2 = null;
}
CharDef calcCharDef(CharDef achardef[][], byte abyte0[], char ac[], int i)
{
if(i == -5)
return null;
else
return EAN128.s_C128CharDef(2, achardef, ac, 0, i);
}
char calcCheckChar(char ac[], int i)
{
return EAN128.s_C128CheckChar(2, false, ac, 0, i);
}
static final String name = "CODE-128 C";
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?