📄 ean13_2.java
字号:
// Decompiled by DJ v3.7.7.81 Copyright 2004 Atanas Neshkov Date: 2007-11-23 16:17:26
// Home Page : http://members.fortunecity.com/neshkov/dj.html - Check often for new version!
// Decompiler options: packimports(3)
// Source File Name: EAN13_2.java
package com.bokai.barcodes;
// Referenced classes of package com.bokai.barcodes:
// BarcodeSpec, Barcode, EANUPC, CharDef
class EAN13_2 extends BarcodeSpec
{
EAN13_2()
{
super.bdType = 10;
super.bdTypeName = "EAN-13 + 2";
super.bdStyle = 3902;
super.bdLongBars = 7;
super.bdCharBitNum = 7;
super.bdCharNum = 10;
super.bdTextLen = 13;
super.bdCentralCharInd = 7;
super.bdBarExtNum = 1;
super.bdBarExt = (new byte[] {
1, 0, 0, 0
});
super.bdSpaceExtNum = 1;
super.bdSpaceExt = (new byte[] {
1, 0, 0, 0
});
super.bdInterCharExt = 0;
super.bdLeftMargin = 11;
super.bdTopMargin = 1;
super.bdRightMargin = 5;
super.bdBottomMargin = 1;
super.bdCentralMargin = 8;
super.bdCharset = (new CharDef[][] {
EANUPC._chardef_eana, EANUPC._chardef_eanb, EANUPC._chardef_eanc
});
super.bdCharsetSel = EANUPC._ean_sel;
super.bdStyle2 = 206;
super.bdTextLen2 = 2;
super.bdCharset2 = (new CharDef[][] {
EANUPC._chardef_add2a, EANUPC._chardef_add2b, null
});
super.bdCharsetSel2 = EANUPC._add2_sel;
}
CharDef calcCharDef(CharDef achardef[][], byte abyte0[], char ac[], int i)
{
return EANUPC.s_calcCharDef(achardef, abyte0, ac, i);
}
CharDef calcCharDef2(CharDef achardef[][], byte abyte0[], char ac[], int i)
{
return EANUPC.s_calcAdd2CharDef(achardef, abyte0, ac, i);
}
char calcCheckChar(char ac[], int i)
{
return EANUPC.s_calcCheckChar(ac, i);
}
static final String name = "EAN-13 + 2";
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -