📄 ean13.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.java
package com.bokai.barcodes;
// Referenced classes of package com.bokai.barcodes:
// BarcodeSpec, Barcode, EANUPC, CharDef
class EAN13 extends BarcodeSpec
{
EAN13()
{
super.bdType = 1;
super.bdTypeName = "EAN-13/JAN-13";
super.bdStyle = 2878;
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 = 7;
super.bdBottomMargin = 1;
super.bdCentralMargin = 0;
super.bdCharset = (new CharDef[][] {
EANUPC._chardef_eana, EANUPC._chardef_eanb, EANUPC._chardef_eanc
});
super.bdCharsetSel = EANUPC._ean_sel;
super.bdStyle2 = 0;
super.bdTextLen2 = 0;
super.bdCharset2 = null;
super.bdCharsetSel2 = null;
}
CharDef calcCharDef(CharDef achardef[][], byte abyte0[], char ac[], int i)
{
return EANUPC.s_calcCharDef(achardef, abyte0, ac, i);
}
char calcCheckChar(char ac[], int i)
{
return EANUPC.s_calcCheckChar(ac, i);
}
static final String name = "EAN-13/JAN-13";
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -