调整黑白属性依赖;调整JSON配置工具
This commit is contained in:
parent
47cc997004
commit
9dc4f54904
|
@ -4,10 +4,10 @@
|
||||||
"option_count": 65
|
"option_count": 65
|
||||||
},
|
},
|
||||||
"restore": {
|
"restore": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "none",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -20,10 +20,10 @@
|
||||||
"size": 0
|
"size": 0
|
||||||
},
|
},
|
||||||
"help": {
|
"help": {
|
||||||
"category": "advanced",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "none",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -36,22 +36,22 @@
|
||||||
"size": 4
|
"size": 4
|
||||||
},
|
},
|
||||||
"grp-1": {
|
"grp-1": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"title": "基本设置",
|
"title": "基本设置",
|
||||||
"type": "group",
|
"type": "group",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"unit": "None"
|
"unit": "None"
|
||||||
},
|
},
|
||||||
"is-multiout": {
|
"is-multiout": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -64,10 +64,10 @@
|
||||||
"size": 4
|
"size": 4
|
||||||
},
|
},
|
||||||
"multiout-type": {
|
"multiout-type": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -82,10 +82,10 @@
|
||||||
"depend_or": ["is-multiout==true"]
|
"depend_or": ["is-multiout==true"]
|
||||||
},
|
},
|
||||||
"mode": {
|
"mode": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -100,10 +100,10 @@
|
||||||
"depend_or": ["is-multiout!=true"]
|
"depend_or": ["is-multiout!=true"]
|
||||||
},
|
},
|
||||||
"binary-threshold": {
|
"binary-threshold": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -119,13 +119,13 @@
|
||||||
"max": 255,
|
"max": 255,
|
||||||
"step": 1
|
"step": 1
|
||||||
},
|
},
|
||||||
"depend_or": ["is-multiout==true", "mode==黑白"]
|
"depend_or": ["multiout-type!=彩色+灰度", "mode==黑白"]
|
||||||
},
|
},
|
||||||
"reverse-bw": {
|
"reverse-bw": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -136,13 +136,13 @@
|
||||||
"cur": false,
|
"cur": false,
|
||||||
"default": false,
|
"default": false,
|
||||||
"size": 4,
|
"size": 4,
|
||||||
"depend_or": ["is-multiout==true", "mode==黑白"]
|
"depend_or": ["multiout-type!=彩色+灰度", "mode==黑白"]
|
||||||
},
|
},
|
||||||
"filter": {
|
"filter": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -157,10 +157,10 @@
|
||||||
"depend_and": ["is-multiout!=true", "mode!=24位彩色", "!=颜色自动识别"]
|
"depend_and": ["is-multiout!=true", "mode!=24位彩色", "!=颜色自动识别"]
|
||||||
},
|
},
|
||||||
"is-rid-multiout-red": {
|
"is-rid-multiout-red": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -174,10 +174,10 @@
|
||||||
"depend_and": ["is-multiout!=true", "mode!=256级灰度", "!=黑白", "!=颜色自动识别"]
|
"depend_and": ["is-multiout!=true", "mode!=256级灰度", "!=黑白", "!=颜色自动识别"]
|
||||||
},
|
},
|
||||||
"is-rid-answer-sheet-red": {
|
"is-rid-answer-sheet-red": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -191,10 +191,10 @@
|
||||||
"depend_and": ["is-multiout!=true", "mode!=256级灰度", "!=黑白", "!=颜色自动识别"]
|
"depend_and": ["is-multiout!=true", "mode!=256级灰度", "!=黑白", "!=颜色自动识别"]
|
||||||
},
|
},
|
||||||
"is-erase-bkg": {
|
"is-erase-bkg": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -208,10 +208,10 @@
|
||||||
"depend_and": ["is-multiout!=true", "mode!=256级灰度", "!=黑白", "!=颜色自动识别"]
|
"depend_and": ["is-multiout!=true", "mode!=256级灰度", "!=黑白", "!=颜色自动识别"]
|
||||||
},
|
},
|
||||||
"bkg-color-range": {
|
"bkg-color-range": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -230,10 +230,10 @@
|
||||||
"depend_or": ["is-erase-bkg==true"]
|
"depend_or": ["is-erase-bkg==true"]
|
||||||
},
|
},
|
||||||
"sharpen": {
|
"sharpen": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -248,10 +248,10 @@
|
||||||
"depend_and": ["is-multiout!=true", "mode!=黑白", "!=颜色自动识别"]
|
"depend_and": ["is-multiout!=true", "mode!=黑白", "!=颜色自动识别"]
|
||||||
},
|
},
|
||||||
"is-rid-morr": {
|
"is-rid-morr": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -265,10 +265,10 @@
|
||||||
"depend_and": ["is-multiout!=true", "mode!=黑白", "!=颜色自动识别"]
|
"depend_and": ["is-multiout!=true", "mode!=黑白", "!=颜色自动识别"]
|
||||||
},
|
},
|
||||||
"is-rid-grid": {
|
"is-rid-grid": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -282,10 +282,10 @@
|
||||||
"depend_and": ["is-multiout!=true", "mode!=黑白", "!=颜色自动识别"]
|
"depend_and": ["is-multiout!=true", "mode!=黑白", "!=颜色自动识别"]
|
||||||
},
|
},
|
||||||
"is-err-extension": {
|
"is-err-extension": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -299,10 +299,10 @@
|
||||||
"depend_or": ["mode==黑白"]
|
"depend_or": ["mode==黑白"]
|
||||||
},
|
},
|
||||||
"is-noise-optimize": {
|
"is-noise-optimize": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -316,10 +316,10 @@
|
||||||
"depend_or": ["mode==黑白"]
|
"depend_or": ["mode==黑白"]
|
||||||
},
|
},
|
||||||
"noise-size": {
|
"noise-size": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -338,10 +338,10 @@
|
||||||
"depend_or": ["is-noise-optimize==true"]
|
"depend_or": ["is-noise-optimize==true"]
|
||||||
},
|
},
|
||||||
"paper": {
|
"paper": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -355,10 +355,10 @@
|
||||||
"range": ["A3", "8开", "A4", "A4横向", "16开", "16开横向", "A5", "A5横向", "A6", "A6横向", "B4", "B5", "B5横向", "B6", "B6横向", "Letter", "Letter横向", "Double Letter", "LEGAL", "匹配原始尺寸", "最大扫描尺寸自动裁切", "最大扫描尺寸", "三联试卷"]
|
"range": ["A3", "8开", "A4", "A4横向", "16开", "16开横向", "A5", "A5横向", "A6", "A6横向", "B4", "B5", "B5横向", "B6", "B6横向", "Letter", "Letter横向", "Double Letter", "LEGAL", "匹配原始尺寸", "最大扫描尺寸自动裁切", "最大扫描尺寸", "三联试卷"]
|
||||||
},
|
},
|
||||||
"is-custom-area": {
|
"is-custom-area": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -372,10 +372,10 @@
|
||||||
"depend_and": ["paper!=匹配原始尺寸", "!=三联试卷", "!=最大扫描尺寸", "!=最大扫描尺寸自动裁切"]
|
"depend_and": ["paper!=匹配原始尺寸", "!=三联试卷", "!=最大扫描尺寸", "!=最大扫描尺寸自动裁切"]
|
||||||
},
|
},
|
||||||
"tl-x": {
|
"tl-x": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -394,10 +394,10 @@
|
||||||
"depend_and": ["is-custom-area==true"]
|
"depend_and": ["is-custom-area==true"]
|
||||||
},
|
},
|
||||||
"br-x": {
|
"br-x": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -416,10 +416,10 @@
|
||||||
"depend_and": ["is-custom-area==true"]
|
"depend_and": ["is-custom-area==true"]
|
||||||
},
|
},
|
||||||
"tl-y": {
|
"tl-y": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -438,10 +438,10 @@
|
||||||
"depend_and": ["is-custom-area==true"]
|
"depend_and": ["is-custom-area==true"]
|
||||||
},
|
},
|
||||||
"br-y": {
|
"br-y": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -460,10 +460,10 @@
|
||||||
"depend_and": ["is-custom-area==true"]
|
"depend_and": ["is-custom-area==true"]
|
||||||
},
|
},
|
||||||
"page": {
|
"page": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -477,10 +477,10 @@
|
||||||
"range": ["单面", "双面", "跳过空白页(通用)", "跳过空白页(发票纸)", "对折"]
|
"range": ["单面", "双面", "跳过空白页(通用)", "跳过空白页(发票纸)", "对折"]
|
||||||
},
|
},
|
||||||
"blank-sensitivity": {
|
"blank-sensitivity": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -499,10 +499,10 @@
|
||||||
"depend_or": ["page==跳过空白页(通用)", "==跳过空白页(发票纸)"]
|
"depend_or": ["page==跳过空白页(通用)", "==跳过空白页(发票纸)"]
|
||||||
},
|
},
|
||||||
"fold-type": {
|
"fold-type": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -517,10 +517,10 @@
|
||||||
"depend_or": ["page==对折"]
|
"depend_or": ["page==对折"]
|
||||||
},
|
},
|
||||||
"resolution": {
|
"resolution": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -538,10 +538,10 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"is-exchange": {
|
"is-exchange": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -555,22 +555,22 @@
|
||||||
"depend_and": ["page!=单面"]
|
"depend_and": ["page!=单面"]
|
||||||
},
|
},
|
||||||
"grp-2": {
|
"grp-2": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"title": "亮度",
|
"title": "亮度",
|
||||||
"type": "group",
|
"type": "group",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "light",
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"unit": "None"
|
"unit": "None"
|
||||||
},
|
},
|
||||||
"is-custom-gamma": {
|
"is-custom-gamma": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "light",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -583,10 +583,10 @@
|
||||||
"size": 4
|
"size": 4
|
||||||
},
|
},
|
||||||
"brightness": {
|
"brightness": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "light",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -605,10 +605,10 @@
|
||||||
"depend_and": ["is-custom-gamma==false"]
|
"depend_and": ["is-custom-gamma==false"]
|
||||||
},
|
},
|
||||||
"contrast": {
|
"contrast": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "light",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -627,10 +627,10 @@
|
||||||
"depend_and": ["is-custom-gamma==false"]
|
"depend_and": ["is-custom-gamma==false"]
|
||||||
},
|
},
|
||||||
"gamma": {
|
"gamma": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "light",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -649,22 +649,22 @@
|
||||||
"depend_and": ["is-custom-gamma==false"]
|
"depend_and": ["is-custom-gamma==false"]
|
||||||
},
|
},
|
||||||
"grp-3": {
|
"grp-3": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"title": "图像处理",
|
"title": "图像处理",
|
||||||
"type": "group",
|
"type": "group",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "imgproc",
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"unit": "None"
|
"unit": "None"
|
||||||
},
|
},
|
||||||
"is-anti-skew": {
|
"is-anti-skew": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "imgproc",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -678,10 +678,10 @@
|
||||||
"depend_or": ["page!=对折"]
|
"depend_or": ["page!=对折"]
|
||||||
},
|
},
|
||||||
"is-split": {
|
"is-split": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "imgproc",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -695,10 +695,10 @@
|
||||||
"depend_or": ["page!=对折"]
|
"depend_or": ["page!=对折"]
|
||||||
},
|
},
|
||||||
"is-erase-black-frame": {
|
"is-erase-black-frame": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "imgproc",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -711,10 +711,10 @@
|
||||||
"size": 4
|
"size": 4
|
||||||
},
|
},
|
||||||
"bkg-fill-mode": {
|
"bkg-fill-mode": {
|
||||||
"category": "advanced",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "imgproc",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -729,10 +729,10 @@
|
||||||
"depend_or": ["is-erase-black-frame==true"]
|
"depend_or": ["is-erase-black-frame==true"]
|
||||||
},
|
},
|
||||||
"is-fill-color": {
|
"is-fill-color": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "imgproc",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -746,10 +746,10 @@
|
||||||
"depend_and": ["is-erase-black-frame==true"]
|
"depend_and": ["is-erase-black-frame==true"]
|
||||||
},
|
},
|
||||||
"threshold": {
|
"threshold": {
|
||||||
"category": "advanced",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "imgproc",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -768,10 +768,10 @@
|
||||||
"depend_or": ["is-erase-black-frame==true", "paper==匹配原始尺寸", "==最大扫描尺寸", "==最大扫描尺寸自动裁切", "is-anti-skew==true"]
|
"depend_or": ["is-erase-black-frame==true", "paper==匹配原始尺寸", "==最大扫描尺寸", "==最大扫描尺寸自动裁切", "is-anti-skew==true"]
|
||||||
},
|
},
|
||||||
"anti-noise-level": {
|
"anti-noise-level": {
|
||||||
"category": "advanced",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "imgproc",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -790,10 +790,10 @@
|
||||||
"depend_or": ["is-erase-black-frame==true", "paper==匹配原始尺寸", "==最大扫描尺寸", "==最大扫描尺寸自动裁切", "is-anti-skew==true"]
|
"depend_or": ["is-erase-black-frame==true", "paper==匹配原始尺寸", "==最大扫描尺寸", "==最大扫描尺寸自动裁切", "is-anti-skew==true"]
|
||||||
},
|
},
|
||||||
"margin": {
|
"margin": {
|
||||||
"category": "advanced",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "imgproc",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -812,10 +812,10 @@
|
||||||
"depend_or": ["is-erase-black-frame==true", "paper==匹配原始尺寸", "==最大扫描尺寸自动裁切", "==最大扫描尺寸", "is-anti-skew==true"]
|
"depend_or": ["is-erase-black-frame==true", "paper==匹配原始尺寸", "==最大扫描尺寸自动裁切", "==最大扫描尺寸", "is-anti-skew==true"]
|
||||||
},
|
},
|
||||||
"is-dark-sample": {
|
"is-dark-sample": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "imgproc",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -829,10 +829,10 @@
|
||||||
"depend_and": ["page!=对折", "is-erase-black-frame!=true", "paper!=匹配原始尺寸", "!=最大扫描尺寸", "!=最大扫描尺寸自动裁切", "is-anti-skew!=true"]
|
"depend_and": ["page!=对折", "is-erase-black-frame!=true", "paper!=匹配原始尺寸", "!=最大扫描尺寸", "!=最大扫描尺寸自动裁切", "is-anti-skew!=true"]
|
||||||
},
|
},
|
||||||
"is-anti-permeate": {
|
"is-anti-permeate": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "imgproc",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -845,10 +845,10 @@
|
||||||
"size": 4
|
"size": 4
|
||||||
},
|
},
|
||||||
"permeate-level": {
|
"permeate-level": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "imgproc",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -863,10 +863,10 @@
|
||||||
"depend_or": ["is-anti-permeate==true"]
|
"depend_or": ["is-anti-permeate==true"]
|
||||||
},
|
},
|
||||||
"is-rid-hole-l": {
|
"is-rid-hole-l": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "imgproc",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -879,10 +879,10 @@
|
||||||
"size": 4
|
"size": 4
|
||||||
},
|
},
|
||||||
"search-hole-range-l": {
|
"search-hole-range-l": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "imgproc",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -901,10 +901,10 @@
|
||||||
"depend_or": ["is-rid-hole-l==true"]
|
"depend_or": ["is-rid-hole-l==true"]
|
||||||
},
|
},
|
||||||
"is-rid-hole-r": {
|
"is-rid-hole-r": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "imgproc",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -917,10 +917,10 @@
|
||||||
"size": 4
|
"size": 4
|
||||||
},
|
},
|
||||||
"search-hole-range-r": {
|
"search-hole-range-r": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "imgproc",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -939,10 +939,10 @@
|
||||||
"depend_or": ["is-rid-hole-r==true"]
|
"depend_or": ["is-rid-hole-r==true"]
|
||||||
},
|
},
|
||||||
"is-rid-hole-t": {
|
"is-rid-hole-t": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "imgproc",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -955,10 +955,10 @@
|
||||||
"size": 4
|
"size": 4
|
||||||
},
|
},
|
||||||
"search-hole-range-t": {
|
"search-hole-range-t": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "imgproc",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -977,10 +977,10 @@
|
||||||
"depend_or": ["is-rid-hole-t==true"]
|
"depend_or": ["is-rid-hole-t==true"]
|
||||||
},
|
},
|
||||||
"is-rid-hole-b": {
|
"is-rid-hole-b": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "imgproc",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -993,10 +993,10 @@
|
||||||
"size": 4
|
"size": 4
|
||||||
},
|
},
|
||||||
"search-hole-range-b": {
|
"search-hole-range-b": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "imgproc",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -1015,22 +1015,22 @@
|
||||||
"depend_or": ["is-rid-hole-b==true"]
|
"depend_or": ["is-rid-hole-b==true"]
|
||||||
},
|
},
|
||||||
"grp-4": {
|
"grp-4": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"title": "送纸方式设置",
|
"title": "送纸方式设置",
|
||||||
"type": "group",
|
"type": "group",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "feeder",
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"unit": "None"
|
"unit": "None"
|
||||||
},
|
},
|
||||||
"scan-mode": {
|
"scan-mode": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "feeder",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -1044,10 +1044,10 @@
|
||||||
"range": ["连续扫描", "扫描指定张数"]
|
"range": ["连续扫描", "扫描指定张数"]
|
||||||
},
|
},
|
||||||
"scan-count": {
|
"scan-count": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "feeder",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -1061,10 +1061,10 @@
|
||||||
"depend_or": ["scan-mode==扫描指定张数"]
|
"depend_or": ["scan-mode==扫描指定张数"]
|
||||||
},
|
},
|
||||||
"direction": {
|
"direction": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "feeder",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -1078,10 +1078,10 @@
|
||||||
"range": ["0°", "90°", "180°", "-90°", "自动文本方向识别°"]
|
"range": ["0°", "90°", "180°", "-90°", "自动文本方向识别°"]
|
||||||
},
|
},
|
||||||
"is-rotate-bkg-180": {
|
"is-rotate-bkg-180": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "feeder",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -1095,10 +1095,10 @@
|
||||||
"depend_and": ["page!=单面", "!=对折", "direction!=自动文本方向识别°"]
|
"depend_and": ["page!=单面", "!=对折", "direction!=自动文本方向识别°"]
|
||||||
},
|
},
|
||||||
"is-ultrosonic": {
|
"is-ultrosonic": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "feeder",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -1111,10 +1111,10 @@
|
||||||
"size": 4
|
"size": 4
|
||||||
},
|
},
|
||||||
"is-staple": {
|
"is-staple": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "feeder",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -1127,10 +1127,10 @@
|
||||||
"size": 4
|
"size": 4
|
||||||
},
|
},
|
||||||
"is-check-askew": {
|
"is-check-askew": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "feeder",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -1143,10 +1143,10 @@
|
||||||
"size": 4
|
"size": 4
|
||||||
},
|
},
|
||||||
"askew-range": {
|
"askew-range": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "feeder",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
382
docs/G300.txt
382
docs/G300.txt
|
@ -4,10 +4,10 @@
|
||||||
"option_count": 64
|
"option_count": 64
|
||||||
},
|
},
|
||||||
"restore": {
|
"restore": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "none",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -20,10 +20,10 @@
|
||||||
"size": 0
|
"size": 0
|
||||||
},
|
},
|
||||||
"help": {
|
"help": {
|
||||||
"category": "advanced",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "none",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -36,22 +36,22 @@
|
||||||
"size": 4
|
"size": 4
|
||||||
},
|
},
|
||||||
"grp-1": {
|
"grp-1": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"title": "基本设置",
|
"title": "基本设置",
|
||||||
"type": "group",
|
"type": "group",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"unit": "None"
|
"unit": "None"
|
||||||
},
|
},
|
||||||
"is-multiout": {
|
"is-multiout": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -64,10 +64,10 @@
|
||||||
"size": 4
|
"size": 4
|
||||||
},
|
},
|
||||||
"multiout-type": {
|
"multiout-type": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -82,10 +82,10 @@
|
||||||
"depend_or": ["is-multiout==true"]
|
"depend_or": ["is-multiout==true"]
|
||||||
},
|
},
|
||||||
"mode": {
|
"mode": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -100,10 +100,10 @@
|
||||||
"depend_or": ["is-multiout==false"]
|
"depend_or": ["is-multiout==false"]
|
||||||
},
|
},
|
||||||
"binary-threshold": {
|
"binary-threshold": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -119,13 +119,13 @@
|
||||||
"max": 255,
|
"max": 255,
|
||||||
"step": 1
|
"step": 1
|
||||||
},
|
},
|
||||||
"depend_or": ["is-multiout==true", "mode==黑白"]
|
"depend_or": ["multiout-type!=彩色+灰度", "mode==黑白"]
|
||||||
},
|
},
|
||||||
"reverse-bw": {
|
"reverse-bw": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -136,13 +136,13 @@
|
||||||
"cur": false,
|
"cur": false,
|
||||||
"default": false,
|
"default": false,
|
||||||
"size": 4,
|
"size": 4,
|
||||||
"depend_or": ["is-multiout==true", "mode==黑白"]
|
"depend_or": ["multiout-type!=彩色+灰度", "mode==黑白"]
|
||||||
},
|
},
|
||||||
"filter": {
|
"filter": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -157,10 +157,10 @@
|
||||||
"depend_and": ["is-multiout!=true", "mode!=24位彩色", "!=颜色自动识别"]
|
"depend_and": ["is-multiout!=true", "mode!=24位彩色", "!=颜色自动识别"]
|
||||||
},
|
},
|
||||||
"is-rid-multiout-red": {
|
"is-rid-multiout-red": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -174,10 +174,10 @@
|
||||||
"depend_and": ["is-multiout!=true", "mode!=256级灰度", "!=黑白", "!=颜色自动识别"]
|
"depend_and": ["is-multiout!=true", "mode!=256级灰度", "!=黑白", "!=颜色自动识别"]
|
||||||
},
|
},
|
||||||
"is-rid-answer-sheet-red": {
|
"is-rid-answer-sheet-red": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -191,10 +191,10 @@
|
||||||
"depend_and": ["is-multiout!=true", "mode!=256级灰度", "!=黑白", "!=颜色自动识别"]
|
"depend_and": ["is-multiout!=true", "mode!=256级灰度", "!=黑白", "!=颜色自动识别"]
|
||||||
},
|
},
|
||||||
"is-erase-bkg": {
|
"is-erase-bkg": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -208,10 +208,10 @@
|
||||||
"depend_and": ["is-multiout!=true", "mode!=256级灰度", "!=黑白", "!=颜色自动识别"]
|
"depend_and": ["is-multiout!=true", "mode!=256级灰度", "!=黑白", "!=颜色自动识别"]
|
||||||
},
|
},
|
||||||
"bkg-color-range": {
|
"bkg-color-range": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -230,10 +230,10 @@
|
||||||
"depend_or": ["is-erase-bkg==true"]
|
"depend_or": ["is-erase-bkg==true"]
|
||||||
},
|
},
|
||||||
"sharpen": {
|
"sharpen": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -248,10 +248,10 @@
|
||||||
"depend_and": ["is-multiout!=true", "mode!=黑白", "!=颜色自动识别"]
|
"depend_and": ["is-multiout!=true", "mode!=黑白", "!=颜色自动识别"]
|
||||||
},
|
},
|
||||||
"is-rid-morr": {
|
"is-rid-morr": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -265,10 +265,10 @@
|
||||||
"depend_and": ["is-multiout!=true", "mode!=黑白", "!=颜色自动识别"]
|
"depend_and": ["is-multiout!=true", "mode!=黑白", "!=颜色自动识别"]
|
||||||
},
|
},
|
||||||
"is-rid-grid": {
|
"is-rid-grid": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -282,10 +282,10 @@
|
||||||
"depend_and": ["is-multiout!=true", "mode!=黑白", "!=颜色自动识别"]
|
"depend_and": ["is-multiout!=true", "mode!=黑白", "!=颜色自动识别"]
|
||||||
},
|
},
|
||||||
"is-err-extension": {
|
"is-err-extension": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -299,10 +299,10 @@
|
||||||
"depend_or": ["mode==黑白"]
|
"depend_or": ["mode==黑白"]
|
||||||
},
|
},
|
||||||
"is-noise-optimize": {
|
"is-noise-optimize": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -316,10 +316,10 @@
|
||||||
"depend_or": ["mode==黑白"]
|
"depend_or": ["mode==黑白"]
|
||||||
},
|
},
|
||||||
"noise-size": {
|
"noise-size": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -338,10 +338,10 @@
|
||||||
"depend_or": ["is-noise-optimize==true"]
|
"depend_or": ["is-noise-optimize==true"]
|
||||||
},
|
},
|
||||||
"paper": {
|
"paper": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -355,10 +355,10 @@
|
||||||
"range": ["A4", "A5", "A5横向", "A6", "A6横向", "B5", "B6", "B6横向", "匹配原始尺寸", "最大扫描尺寸自动裁切", "最大扫描尺寸"]
|
"range": ["A4", "A5", "A5横向", "A6", "A6横向", "B5", "B6", "B6横向", "匹配原始尺寸", "最大扫描尺寸自动裁切", "最大扫描尺寸"]
|
||||||
},
|
},
|
||||||
"is-custom-area": {
|
"is-custom-area": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -372,10 +372,10 @@
|
||||||
"depend_and": ["paper!=匹配原始尺寸", "!=最大扫描尺寸", "!=最大扫描尺寸自动裁切"]
|
"depend_and": ["paper!=匹配原始尺寸", "!=最大扫描尺寸", "!=最大扫描尺寸自动裁切"]
|
||||||
},
|
},
|
||||||
"tl-x": {
|
"tl-x": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -394,10 +394,10 @@
|
||||||
"depend_and": ["is-custom-area==true"]
|
"depend_and": ["is-custom-area==true"]
|
||||||
},
|
},
|
||||||
"br-x": {
|
"br-x": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -416,10 +416,10 @@
|
||||||
"depend_and": ["is-custom-area==true"]
|
"depend_and": ["is-custom-area==true"]
|
||||||
},
|
},
|
||||||
"tl-y": {
|
"tl-y": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -438,10 +438,10 @@
|
||||||
"depend_and": ["is-custom-area==true"]
|
"depend_and": ["is-custom-area==true"]
|
||||||
},
|
},
|
||||||
"br-y": {
|
"br-y": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -460,10 +460,10 @@
|
||||||
"depend_and": ["is-custom-area==true"]
|
"depend_and": ["is-custom-area==true"]
|
||||||
},
|
},
|
||||||
"is-size-check": {
|
"is-size-check": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -477,10 +477,10 @@
|
||||||
"depend_and": ["paper!=匹配原始尺寸", "!=最大扫描尺寸", "!=最大扫描尺寸自动裁切"]
|
"depend_and": ["paper!=匹配原始尺寸", "!=最大扫描尺寸", "!=最大扫描尺寸自动裁切"]
|
||||||
},
|
},
|
||||||
"page": {
|
"page": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -494,10 +494,10 @@
|
||||||
"range": ["单面", "双面", "跳过空白页(通用)", "跳过空白页(发票纸)", "对折"]
|
"range": ["单面", "双面", "跳过空白页(通用)", "跳过空白页(发票纸)", "对折"]
|
||||||
},
|
},
|
||||||
"blank-sensitivity": {
|
"blank-sensitivity": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -516,10 +516,10 @@
|
||||||
"depend_or": ["page==跳过空白页(通用)", "==跳过空白页(发票纸)"]
|
"depend_or": ["page==跳过空白页(通用)", "==跳过空白页(发票纸)"]
|
||||||
},
|
},
|
||||||
"fold-type": {
|
"fold-type": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -534,10 +534,10 @@
|
||||||
"depend_or": ["page==对折"]
|
"depend_or": ["page==对折"]
|
||||||
},
|
},
|
||||||
"resolution": {
|
"resolution": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -555,10 +555,10 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"image-quality": {
|
"image-quality": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -573,10 +573,10 @@
|
||||||
"depend_or": ["resolution>=300"]
|
"depend_or": ["resolution>=300"]
|
||||||
},
|
},
|
||||||
"is-exchange": {
|
"is-exchange": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -590,22 +590,22 @@
|
||||||
"depend_and": ["page!=单面"]
|
"depend_and": ["page!=单面"]
|
||||||
},
|
},
|
||||||
"grp-2": {
|
"grp-2": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"title": "亮度",
|
"title": "亮度",
|
||||||
"type": "group",
|
"type": "group",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "light",
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"unit": "None"
|
"unit": "None"
|
||||||
},
|
},
|
||||||
"is-custom-gamma": {
|
"is-custom-gamma": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "light",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -618,10 +618,10 @@
|
||||||
"size": 4
|
"size": 4
|
||||||
},
|
},
|
||||||
"brightness": {
|
"brightness": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "light",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -640,10 +640,10 @@
|
||||||
"depend_and": ["is-custom-gamma==false"]
|
"depend_and": ["is-custom-gamma==false"]
|
||||||
},
|
},
|
||||||
"contrast": {
|
"contrast": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "light",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -662,10 +662,10 @@
|
||||||
"depend_and": ["is-custom-gamma==false"]
|
"depend_and": ["is-custom-gamma==false"]
|
||||||
},
|
},
|
||||||
"gamma": {
|
"gamma": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "light",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -684,22 +684,22 @@
|
||||||
"depend_and": ["is-custom-gamma==false"]
|
"depend_and": ["is-custom-gamma==false"]
|
||||||
},
|
},
|
||||||
"grp-3": {
|
"grp-3": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"title": "图像处理",
|
"title": "图像处理",
|
||||||
"type": "group",
|
"type": "group",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "imgproc",
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"unit": "None"
|
"unit": "None"
|
||||||
},
|
},
|
||||||
"is-anti-skew": {
|
"is-anti-skew": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "imgproc",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -713,10 +713,10 @@
|
||||||
"depend_or": ["page!=对折"]
|
"depend_or": ["page!=对折"]
|
||||||
},
|
},
|
||||||
"is-split": {
|
"is-split": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "imgproc",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -730,10 +730,10 @@
|
||||||
"depend_or": ["page!=对折"]
|
"depend_or": ["page!=对折"]
|
||||||
},
|
},
|
||||||
"is-erase-black-frame": {
|
"is-erase-black-frame": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "imgproc",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -746,10 +746,10 @@
|
||||||
"size": 4
|
"size": 4
|
||||||
},
|
},
|
||||||
"bkg-fill-mode": {
|
"bkg-fill-mode": {
|
||||||
"category": "advanced",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "imgproc",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -764,10 +764,10 @@
|
||||||
"depend_or": ["is-erase-black-frame==true"]
|
"depend_or": ["is-erase-black-frame==true"]
|
||||||
},
|
},
|
||||||
"is-fill-color": {
|
"is-fill-color": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "imgproc",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -781,10 +781,10 @@
|
||||||
"depend_and": ["is-erase-black-frame==true"]
|
"depend_and": ["is-erase-black-frame==true"]
|
||||||
},
|
},
|
||||||
"threshold": {
|
"threshold": {
|
||||||
"category": "advanced",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "imgproc",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -803,10 +803,10 @@
|
||||||
"depend_or": ["is-erase-black-frame==true", "paper==匹配原始尺寸", "==最大扫描尺寸", "==最大扫描尺寸自动裁切", "is-anti-skew==true"]
|
"depend_or": ["is-erase-black-frame==true", "paper==匹配原始尺寸", "==最大扫描尺寸", "==最大扫描尺寸自动裁切", "is-anti-skew==true"]
|
||||||
},
|
},
|
||||||
"anti-noise-level": {
|
"anti-noise-level": {
|
||||||
"category": "advanced",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "imgproc",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -825,10 +825,10 @@
|
||||||
"depend_or": ["is-erase-black-frame==true", "paper==匹配原始尺寸", "==最大扫描尺寸", "==最大扫描尺寸自动裁切", "is-anti-skew==true"]
|
"depend_or": ["is-erase-black-frame==true", "paper==匹配原始尺寸", "==最大扫描尺寸", "==最大扫描尺寸自动裁切", "is-anti-skew==true"]
|
||||||
},
|
},
|
||||||
"margin": {
|
"margin": {
|
||||||
"category": "advanced",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "imgproc",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -847,10 +847,10 @@
|
||||||
"depend_or": ["is-erase-black-frame==true", "paper==匹配原始尺寸", "==最大扫描尺寸自动裁切", "==最大扫描尺寸", "is-anti-skew==true"]
|
"depend_or": ["is-erase-black-frame==true", "paper==匹配原始尺寸", "==最大扫描尺寸自动裁切", "==最大扫描尺寸", "is-anti-skew==true"]
|
||||||
},
|
},
|
||||||
"is-dark-sample": {
|
"is-dark-sample": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "imgproc",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -864,10 +864,10 @@
|
||||||
"depend_and": ["page!=对折", "is-erase-black-frame!=true", "paper!=匹配原始尺寸", "!=最大扫描尺寸", "!=最大扫描尺寸自动裁切", "is-anti-skew!=true"]
|
"depend_and": ["page!=对折", "is-erase-black-frame!=true", "paper!=匹配原始尺寸", "!=最大扫描尺寸", "!=最大扫描尺寸自动裁切", "is-anti-skew!=true"]
|
||||||
},
|
},
|
||||||
"is-anti-permeate": {
|
"is-anti-permeate": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "imgproc",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -880,10 +880,10 @@
|
||||||
"size": 4
|
"size": 4
|
||||||
},
|
},
|
||||||
"permeate-level": {
|
"permeate-level": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "imgproc",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -898,10 +898,10 @@
|
||||||
"depend_or": ["is-anti-permeate==true"]
|
"depend_or": ["is-anti-permeate==true"]
|
||||||
},
|
},
|
||||||
"is-rid-hole-l": {
|
"is-rid-hole-l": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "imgproc",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -914,10 +914,10 @@
|
||||||
"size": 4
|
"size": 4
|
||||||
},
|
},
|
||||||
"search-hole-range-l": {
|
"search-hole-range-l": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "imgproc",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -936,10 +936,10 @@
|
||||||
"depend_or": ["is-rid-hole-l==true"]
|
"depend_or": ["is-rid-hole-l==true"]
|
||||||
},
|
},
|
||||||
"is-rid-hole-r": {
|
"is-rid-hole-r": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "imgproc",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -952,10 +952,10 @@
|
||||||
"size": 4
|
"size": 4
|
||||||
},
|
},
|
||||||
"search-hole-range-r": {
|
"search-hole-range-r": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "imgproc",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -974,10 +974,10 @@
|
||||||
"depend_or": ["is-rid-hole-r==true"]
|
"depend_or": ["is-rid-hole-r==true"]
|
||||||
},
|
},
|
||||||
"is-rid-hole-t": {
|
"is-rid-hole-t": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "imgproc",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -990,10 +990,10 @@
|
||||||
"size": 4
|
"size": 4
|
||||||
},
|
},
|
||||||
"search-hole-range-t": {
|
"search-hole-range-t": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "imgproc",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -1012,10 +1012,10 @@
|
||||||
"depend_or": ["is-rid-hole-t==true"]
|
"depend_or": ["is-rid-hole-t==true"]
|
||||||
},
|
},
|
||||||
"is-rid-hole-b": {
|
"is-rid-hole-b": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "imgproc",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -1028,10 +1028,10 @@
|
||||||
"size": 4
|
"size": 4
|
||||||
},
|
},
|
||||||
"search-hole-range-b": {
|
"search-hole-range-b": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "imgproc",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -1050,22 +1050,22 @@
|
||||||
"depend_or": ["is-rid-hole-b==true"]
|
"depend_or": ["is-rid-hole-b==true"]
|
||||||
},
|
},
|
||||||
"grp-4": {
|
"grp-4": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"title": "送纸方式设置",
|
"title": "送纸方式设置",
|
||||||
"type": "group",
|
"type": "group",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "feeder",
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"unit": "None"
|
"unit": "None"
|
||||||
},
|
},
|
||||||
"scan-mode": {
|
"scan-mode": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "feeder",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -1079,10 +1079,10 @@
|
||||||
"range": ["连续扫描", "扫描指定张数"]
|
"range": ["连续扫描", "扫描指定张数"]
|
||||||
},
|
},
|
||||||
"scan-count": {
|
"scan-count": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "feeder",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -1096,10 +1096,10 @@
|
||||||
"depend_or": ["scan-mode==扫描指定张数"]
|
"depend_or": ["scan-mode==扫描指定张数"]
|
||||||
},
|
},
|
||||||
"direction": {
|
"direction": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "feeder",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -1113,10 +1113,10 @@
|
||||||
"range": ["0°", "90°", "180°", "-90°", "自动文本方向识别°"]
|
"range": ["0°", "90°", "180°", "-90°", "自动文本方向识别°"]
|
||||||
},
|
},
|
||||||
"is-rotate-bkg-180": {
|
"is-rotate-bkg-180": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "feeder",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -1130,10 +1130,10 @@
|
||||||
"depend_and": ["page!=单面", "!=对折", "direction!=自动文本方向识别°"]
|
"depend_and": ["page!=单面", "!=对折", "direction!=自动文本方向识别°"]
|
||||||
},
|
},
|
||||||
"is-ultrosonic": {
|
"is-ultrosonic": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "feeder",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
|
618
docs/G302.txt
618
docs/G302.txt
File diff suppressed because it is too large
Load Diff
570
docs/G400.txt
570
docs/G400.txt
|
@ -4,7 +4,14 @@
|
||||||
"option_count": 63
|
"option_count": 63
|
||||||
},
|
},
|
||||||
"restore": {
|
"restore": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
|
"readonly": false,
|
||||||
|
"affect": 0,
|
||||||
|
"group": "none",
|
||||||
|
"visible": true,
|
||||||
|
"field": "Common",
|
||||||
|
"pos": 0,
|
||||||
|
"unit": "None",
|
||||||
"title": "恢复默认设置",
|
"title": "恢复默认设置",
|
||||||
"desc": "恢复默认设置",
|
"desc": "恢复默认设置",
|
||||||
"type": "button",
|
"type": "button",
|
||||||
|
@ -13,7 +20,14 @@
|
||||||
"size": 0
|
"size": 0
|
||||||
},
|
},
|
||||||
"help": {
|
"help": {
|
||||||
"category": "advanced",
|
"cat": "base",
|
||||||
|
"readonly": false,
|
||||||
|
"affect": 0,
|
||||||
|
"group": "none",
|
||||||
|
"visible": true,
|
||||||
|
"field": "Common",
|
||||||
|
"pos": 0,
|
||||||
|
"unit": "None",
|
||||||
"title": "帮助",
|
"title": "帮助",
|
||||||
"desc": "显示软件帮助文档",
|
"desc": "显示软件帮助文档",
|
||||||
"type": "button",
|
"type": "button",
|
||||||
|
@ -22,12 +36,26 @@
|
||||||
"size": 4
|
"size": 4
|
||||||
},
|
},
|
||||||
"grp-1": {
|
"grp-1": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"title": "基本设置",
|
"title": "基本设置",
|
||||||
"type": "group"
|
"type": "group",
|
||||||
|
"readonly": false,
|
||||||
|
"affect": 0,
|
||||||
|
"group": "base",
|
||||||
|
"field": "Common",
|
||||||
|
"pos": 0,
|
||||||
|
"visible": true,
|
||||||
|
"unit": "None"
|
||||||
},
|
},
|
||||||
"is-multiout": {
|
"is-multiout": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
|
"readonly": false,
|
||||||
|
"affect": 0,
|
||||||
|
"group": "base",
|
||||||
|
"visible": true,
|
||||||
|
"field": "Common",
|
||||||
|
"pos": 0,
|
||||||
|
"unit": "None",
|
||||||
"title": "多流输出",
|
"title": "多流输出",
|
||||||
"desc": "同时输出多种颜色模式的图像",
|
"desc": "同时输出多种颜色模式的图像",
|
||||||
"type": "bool",
|
"type": "bool",
|
||||||
|
@ -36,7 +64,14 @@
|
||||||
"size": 4
|
"size": 4
|
||||||
},
|
},
|
||||||
"multiout-type": {
|
"multiout-type": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
|
"readonly": false,
|
||||||
|
"affect": 0,
|
||||||
|
"group": "base",
|
||||||
|
"visible": true,
|
||||||
|
"field": "Common",
|
||||||
|
"pos": 0,
|
||||||
|
"unit": "None",
|
||||||
"title": "多流输出类型",
|
"title": "多流输出类型",
|
||||||
"desc": "选择多流输出的类型",
|
"desc": "选择多流输出的类型",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
@ -47,7 +82,14 @@
|
||||||
"depend_or": ["is-multiout==true"]
|
"depend_or": ["is-multiout==true"]
|
||||||
},
|
},
|
||||||
"mode": {
|
"mode": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
|
"readonly": false,
|
||||||
|
"affect": 0,
|
||||||
|
"group": "base",
|
||||||
|
"visible": true,
|
||||||
|
"field": "Common",
|
||||||
|
"pos": 0,
|
||||||
|
"unit": "None",
|
||||||
"title": "颜色模式",
|
"title": "颜色模式",
|
||||||
"desc": "选择色彩模式",
|
"desc": "选择色彩模式",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
@ -58,7 +100,14 @@
|
||||||
"depend_or": ["is-multiout==false"]
|
"depend_or": ["is-multiout==false"]
|
||||||
},
|
},
|
||||||
"binary-threshold": {
|
"binary-threshold": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
|
"readonly": false,
|
||||||
|
"affect": 0,
|
||||||
|
"group": "base",
|
||||||
|
"visible": true,
|
||||||
|
"field": "Common",
|
||||||
|
"pos": 0,
|
||||||
|
"unit": "None",
|
||||||
"title": "黑白图像阈值",
|
"title": "黑白图像阈值",
|
||||||
"desc": "高于该阈值为1(白),低于该阈值为0(黑)",
|
"desc": "高于该阈值为1(白),低于该阈值为0(黑)",
|
||||||
"type": "int",
|
"type": "int",
|
||||||
|
@ -70,20 +119,34 @@
|
||||||
"max": 255,
|
"max": 255,
|
||||||
"step": 1
|
"step": 1
|
||||||
},
|
},
|
||||||
"depend_or": ["is-multiout==true", "mode==黑白"]
|
"depend_or": ["multiout-type!=彩色+灰度", "mode==黑白"]
|
||||||
},
|
},
|
||||||
"reverse-bw": {
|
"reverse-bw": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
|
"readonly": false,
|
||||||
|
"affect": 0,
|
||||||
|
"group": "base",
|
||||||
|
"visible": true,
|
||||||
|
"field": "Common",
|
||||||
|
"pos": 0,
|
||||||
|
"unit": "None",
|
||||||
"title": "黑白图像反色输出",
|
"title": "黑白图像反色输出",
|
||||||
"desc": "输出的黑白图像以“1”代表黑色,“0”代表白色",
|
"desc": "输出的黑白图像以“1”代表黑色,“0”代表白色",
|
||||||
"type": "bool",
|
"type": "bool",
|
||||||
"cur": false,
|
"cur": false,
|
||||||
"default": false,
|
"default": false,
|
||||||
"size": 4,
|
"size": 4,
|
||||||
"depend_or": ["is-multiout==true", "mode==黑白"]
|
"depend_or": ["multiout-type!=彩色+灰度", "mode==黑白"]
|
||||||
},
|
},
|
||||||
"filter": {
|
"filter": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
|
"readonly": false,
|
||||||
|
"affect": 0,
|
||||||
|
"group": "base",
|
||||||
|
"visible": true,
|
||||||
|
"field": "Common",
|
||||||
|
"pos": 0,
|
||||||
|
"unit": "None",
|
||||||
"title": "灰度或黑白图像 - 除色与增强",
|
"title": "灰度或黑白图像 - 除色与增强",
|
||||||
"desc": "消除或增强指定色彩",
|
"desc": "消除或增强指定色彩",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
@ -94,7 +157,14 @@
|
||||||
"depend_and": ["is-multiout!=true", "mode!=24位彩色", "!=颜色自动识别"]
|
"depend_and": ["is-multiout!=true", "mode!=24位彩色", "!=颜色自动识别"]
|
||||||
},
|
},
|
||||||
"is-rid-multiout-red": {
|
"is-rid-multiout-red": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
|
"readonly": false,
|
||||||
|
"affect": 0,
|
||||||
|
"group": "base",
|
||||||
|
"visible": true,
|
||||||
|
"field": "Common",
|
||||||
|
"pos": 0,
|
||||||
|
"unit": "None",
|
||||||
"title": "24位彩色图像 - 多流输出除红",
|
"title": "24位彩色图像 - 多流输出除红",
|
||||||
"desc": "同时输出彩色图像和灰度除红图像",
|
"desc": "同时输出彩色图像和灰度除红图像",
|
||||||
"type": "bool",
|
"type": "bool",
|
||||||
|
@ -104,7 +174,14 @@
|
||||||
"depend_and": ["is-multiout!=true", "mode!=256级灰度", "!=黑白", "!=颜色自动识别"]
|
"depend_and": ["is-multiout!=true", "mode!=256级灰度", "!=黑白", "!=颜色自动识别"]
|
||||||
},
|
},
|
||||||
"is-rid-answer-sheet-red": {
|
"is-rid-answer-sheet-red": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
|
"readonly": false,
|
||||||
|
"affect": 0,
|
||||||
|
"group": "base",
|
||||||
|
"visible": true,
|
||||||
|
"field": "Common",
|
||||||
|
"pos": 0,
|
||||||
|
"unit": "None",
|
||||||
"title": "24位彩色图像 - 答题卡除红",
|
"title": "24位彩色图像 - 答题卡除红",
|
||||||
"desc": "输出除红彩色图像",
|
"desc": "输出除红彩色图像",
|
||||||
"type": "bool",
|
"type": "bool",
|
||||||
|
@ -114,7 +191,14 @@
|
||||||
"depend_and": ["is-multiout!=true", "mode!=256级灰度", "!=黑白", "!=颜色自动识别"]
|
"depend_and": ["is-multiout!=true", "mode!=256级灰度", "!=黑白", "!=颜色自动识别"]
|
||||||
},
|
},
|
||||||
"is-erase-bkg": {
|
"is-erase-bkg": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
|
"readonly": false,
|
||||||
|
"affect": 0,
|
||||||
|
"group": "base",
|
||||||
|
"visible": true,
|
||||||
|
"field": "Common",
|
||||||
|
"pos": 0,
|
||||||
|
"unit": "None",
|
||||||
"title": "背景移除",
|
"title": "背景移除",
|
||||||
"desc": "移除文稿背景底色",
|
"desc": "移除文稿背景底色",
|
||||||
"type": "bool",
|
"type": "bool",
|
||||||
|
@ -124,7 +208,14 @@
|
||||||
"depend_and": ["is-multiout!=true", "mode!=256级灰度", "!=黑白", "!=颜色自动识别"]
|
"depend_and": ["is-multiout!=true", "mode!=256级灰度", "!=黑白", "!=颜色自动识别"]
|
||||||
},
|
},
|
||||||
"bkg-color-range": {
|
"bkg-color-range": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
|
"readonly": false,
|
||||||
|
"affect": 0,
|
||||||
|
"group": "base",
|
||||||
|
"visible": true,
|
||||||
|
"field": "Common",
|
||||||
|
"pos": 0,
|
||||||
|
"unit": "None",
|
||||||
"title": " 背景色彩浮动范围",
|
"title": " 背景色彩浮动范围",
|
||||||
"desc": "与背景底色偏差在该值范围内的颜色,都将被移除",
|
"desc": "与背景底色偏差在该值范围内的颜色,都将被移除",
|
||||||
"type": "int",
|
"type": "int",
|
||||||
|
@ -139,7 +230,14 @@
|
||||||
"depend_or": ["is-erase-bkg==true"]
|
"depend_or": ["is-erase-bkg==true"]
|
||||||
},
|
},
|
||||||
"sharpen": {
|
"sharpen": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
|
"readonly": false,
|
||||||
|
"affect": 0,
|
||||||
|
"group": "base",
|
||||||
|
"visible": true,
|
||||||
|
"field": "Common",
|
||||||
|
"pos": 0,
|
||||||
|
"unit": "None",
|
||||||
"title": "锐化与模糊",
|
"title": "锐化与模糊",
|
||||||
"desc": "选择锐化效果或模糊效果",
|
"desc": "选择锐化效果或模糊效果",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
@ -150,7 +248,14 @@
|
||||||
"depend_and": ["is-multiout!=true", "mode!=黑白", "!=颜色自动识别"]
|
"depend_and": ["is-multiout!=true", "mode!=黑白", "!=颜色自动识别"]
|
||||||
},
|
},
|
||||||
"is-rid-morr": {
|
"is-rid-morr": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
|
"readonly": false,
|
||||||
|
"affect": 0,
|
||||||
|
"group": "base",
|
||||||
|
"visible": true,
|
||||||
|
"field": "Common",
|
||||||
|
"pos": 0,
|
||||||
|
"unit": "None",
|
||||||
"title": "去除摩尔纹",
|
"title": "去除摩尔纹",
|
||||||
"desc": "去除图像中的摩尔纹",
|
"desc": "去除图像中的摩尔纹",
|
||||||
"type": "bool",
|
"type": "bool",
|
||||||
|
@ -160,7 +265,14 @@
|
||||||
"depend_and": ["is-multiout!=true", "mode!=黑白", "!=颜色自动识别"]
|
"depend_and": ["is-multiout!=true", "mode!=黑白", "!=颜色自动识别"]
|
||||||
},
|
},
|
||||||
"is-rid-grid": {
|
"is-rid-grid": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
|
"readonly": false,
|
||||||
|
"affect": 0,
|
||||||
|
"group": "base",
|
||||||
|
"visible": true,
|
||||||
|
"field": "Common",
|
||||||
|
"pos": 0,
|
||||||
|
"unit": "None",
|
||||||
"title": "除网纹",
|
"title": "除网纹",
|
||||||
"desc": "去除图像中的网纹",
|
"desc": "去除图像中的网纹",
|
||||||
"type": "bool",
|
"type": "bool",
|
||||||
|
@ -170,7 +282,14 @@
|
||||||
"depend_and": ["is-multiout!=true", "mode!=黑白", "!=颜色自动识别"]
|
"depend_and": ["is-multiout!=true", "mode!=黑白", "!=颜色自动识别"]
|
||||||
},
|
},
|
||||||
"is-err-extension": {
|
"is-err-extension": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
|
"readonly": false,
|
||||||
|
"affect": 0,
|
||||||
|
"group": "base",
|
||||||
|
"visible": true,
|
||||||
|
"field": "Common",
|
||||||
|
"pos": 0,
|
||||||
|
"unit": "None",
|
||||||
"title": "错误扩散",
|
"title": "错误扩散",
|
||||||
"desc": "以点阵形式构建图像",
|
"desc": "以点阵形式构建图像",
|
||||||
"type": "bool",
|
"type": "bool",
|
||||||
|
@ -180,7 +299,14 @@
|
||||||
"depend_or": ["mode==黑白"]
|
"depend_or": ["mode==黑白"]
|
||||||
},
|
},
|
||||||
"is-noise-optimize": {
|
"is-noise-optimize": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
|
"readonly": false,
|
||||||
|
"affect": 0,
|
||||||
|
"group": "base",
|
||||||
|
"visible": true,
|
||||||
|
"field": "Common",
|
||||||
|
"pos": 0,
|
||||||
|
"unit": "None",
|
||||||
"title": "黑白图像噪点优化",
|
"title": "黑白图像噪点优化",
|
||||||
"desc": "去除图像中的孤立黑点",
|
"desc": "去除图像中的孤立黑点",
|
||||||
"type": "bool",
|
"type": "bool",
|
||||||
|
@ -190,7 +316,14 @@
|
||||||
"depend_or": ["mode==黑白"]
|
"depend_or": ["mode==黑白"]
|
||||||
},
|
},
|
||||||
"noise-size": {
|
"noise-size": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
|
"readonly": false,
|
||||||
|
"affect": 0,
|
||||||
|
"group": "base",
|
||||||
|
"visible": true,
|
||||||
|
"field": "Common",
|
||||||
|
"pos": 0,
|
||||||
|
"unit": "None",
|
||||||
"title": " 噪点优化尺寸",
|
"title": " 噪点优化尺寸",
|
||||||
"desc": "设置需要去除的黑色孤立点的连通个数",
|
"desc": "设置需要去除的黑色孤立点的连通个数",
|
||||||
"type": "int",
|
"type": "int",
|
||||||
|
@ -205,7 +338,14 @@
|
||||||
"depend_or": ["is-noise-optimize==true"]
|
"depend_or": ["is-noise-optimize==true"]
|
||||||
},
|
},
|
||||||
"paper": {
|
"paper": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
|
"readonly": false,
|
||||||
|
"affect": 0,
|
||||||
|
"group": "base",
|
||||||
|
"visible": true,
|
||||||
|
"field": "Common",
|
||||||
|
"pos": 0,
|
||||||
|
"unit": "None",
|
||||||
"title": "纸张尺寸",
|
"title": "纸张尺寸",
|
||||||
"desc": "设置出图大小",
|
"desc": "设置出图大小",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
@ -215,7 +355,14 @@
|
||||||
"range": ["A3", "A4", "A4横向", "A5", "A5横向", "A6", "A6横向", "B4", "B5", "B5横向", "B6", "B6横向", "Letter", "Letter横向", "Double Letter", "LEGAL", "匹配原始尺寸", "最大扫描尺寸自动裁切", "最大扫描尺寸", "三联试卷"]
|
"range": ["A3", "A4", "A4横向", "A5", "A5横向", "A6", "A6横向", "B4", "B5", "B5横向", "B6", "B6横向", "Letter", "Letter横向", "Double Letter", "LEGAL", "匹配原始尺寸", "最大扫描尺寸自动裁切", "最大扫描尺寸", "三联试卷"]
|
||||||
},
|
},
|
||||||
"is-custom-area": {
|
"is-custom-area": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
|
"readonly": false,
|
||||||
|
"affect": 0,
|
||||||
|
"group": "base",
|
||||||
|
"visible": true,
|
||||||
|
"field": "Common",
|
||||||
|
"pos": 0,
|
||||||
|
"unit": "None",
|
||||||
"title": "自定义扫描区域",
|
"title": "自定义扫描区域",
|
||||||
"desc": "自定义扫描区域",
|
"desc": "自定义扫描区域",
|
||||||
"type": "bool",
|
"type": "bool",
|
||||||
|
@ -225,7 +372,14 @@
|
||||||
"depend_and": ["paper!=匹配原始尺寸", "!=三联试卷", "!=最大扫描尺寸", "!=最大扫描尺寸自动裁切"]
|
"depend_and": ["paper!=匹配原始尺寸", "!=三联试卷", "!=最大扫描尺寸", "!=最大扫描尺寸自动裁切"]
|
||||||
},
|
},
|
||||||
"tl-x": {
|
"tl-x": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
|
"readonly": false,
|
||||||
|
"affect": 0,
|
||||||
|
"group": "base",
|
||||||
|
"visible": true,
|
||||||
|
"field": "Common",
|
||||||
|
"pos": 0,
|
||||||
|
"unit": "None",
|
||||||
"title": "扫描区域左侧(mm)",
|
"title": "扫描区域左侧(mm)",
|
||||||
"desc": "自定义扫描区域左上角x坐标",
|
"desc": "自定义扫描区域左上角x坐标",
|
||||||
"type": "float",
|
"type": "float",
|
||||||
|
@ -240,7 +394,14 @@
|
||||||
"depend_and": ["is-custom-area==true"]
|
"depend_and": ["is-custom-area==true"]
|
||||||
},
|
},
|
||||||
"br-x": {
|
"br-x": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
|
"readonly": false,
|
||||||
|
"affect": 0,
|
||||||
|
"group": "base",
|
||||||
|
"visible": true,
|
||||||
|
"field": "Common",
|
||||||
|
"pos": 0,
|
||||||
|
"unit": "None",
|
||||||
"title": "扫描区域右侧(mm)",
|
"title": "扫描区域右侧(mm)",
|
||||||
"desc": "自定义扫描区域右下角x坐标",
|
"desc": "自定义扫描区域右下角x坐标",
|
||||||
"type": "float",
|
"type": "float",
|
||||||
|
@ -255,7 +416,14 @@
|
||||||
"depend_and": ["is-custom-area==true"]
|
"depend_and": ["is-custom-area==true"]
|
||||||
},
|
},
|
||||||
"tl-y": {
|
"tl-y": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
|
"readonly": false,
|
||||||
|
"affect": 0,
|
||||||
|
"group": "base",
|
||||||
|
"visible": true,
|
||||||
|
"field": "Common",
|
||||||
|
"pos": 0,
|
||||||
|
"unit": "None",
|
||||||
"title": "扫描区域上侧(mm)",
|
"title": "扫描区域上侧(mm)",
|
||||||
"desc": "自定义扫描区域左上角y坐标",
|
"desc": "自定义扫描区域左上角y坐标",
|
||||||
"type": "float",
|
"type": "float",
|
||||||
|
@ -270,7 +438,14 @@
|
||||||
"depend_and": ["is-custom-area==true"]
|
"depend_and": ["is-custom-area==true"]
|
||||||
},
|
},
|
||||||
"br-y": {
|
"br-y": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
|
"readonly": false,
|
||||||
|
"affect": 0,
|
||||||
|
"group": "base",
|
||||||
|
"visible": true,
|
||||||
|
"field": "Common",
|
||||||
|
"pos": 0,
|
||||||
|
"unit": "None",
|
||||||
"title": "扫描区域下侧(mm)",
|
"title": "扫描区域下侧(mm)",
|
||||||
"desc": "自定义扫描区域右下角y坐标",
|
"desc": "自定义扫描区域右下角y坐标",
|
||||||
"type": "float",
|
"type": "float",
|
||||||
|
@ -285,7 +460,14 @@
|
||||||
"depend_and": ["is-custom-area==true"]
|
"depend_and": ["is-custom-area==true"]
|
||||||
},
|
},
|
||||||
"page": {
|
"page": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
|
"readonly": false,
|
||||||
|
"affect": 0,
|
||||||
|
"group": "base",
|
||||||
|
"visible": true,
|
||||||
|
"field": "Common",
|
||||||
|
"pos": 0,
|
||||||
|
"unit": "None",
|
||||||
"title": "扫描页面",
|
"title": "扫描页面",
|
||||||
"desc": "设置页面扫描方式",
|
"desc": "设置页面扫描方式",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
@ -295,7 +477,14 @@
|
||||||
"range": ["单面", "双面", "跳过空白页(通用)", "跳过空白页(发票纸)", "对折"]
|
"range": ["单面", "双面", "跳过空白页(通用)", "跳过空白页(发票纸)", "对折"]
|
||||||
},
|
},
|
||||||
"blank-sensitivity": {
|
"blank-sensitivity": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
|
"readonly": false,
|
||||||
|
"affect": 0,
|
||||||
|
"group": "base",
|
||||||
|
"visible": true,
|
||||||
|
"field": "Common",
|
||||||
|
"pos": 0,
|
||||||
|
"unit": "None",
|
||||||
"title": " 跳过空白页灵敏度",
|
"title": " 跳过空白页灵敏度",
|
||||||
"desc": "数值越大,则越容易跳过",
|
"desc": "数值越大,则越容易跳过",
|
||||||
"type": "int",
|
"type": "int",
|
||||||
|
@ -310,7 +499,14 @@
|
||||||
"depend_or": ["page==跳过空白页(发票纸)", "==跳过空白页(通用)"]
|
"depend_or": ["page==跳过空白页(发票纸)", "==跳过空白页(通用)"]
|
||||||
},
|
},
|
||||||
"fold-type": {
|
"fold-type": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
|
"readonly": false,
|
||||||
|
"affect": 0,
|
||||||
|
"group": "base",
|
||||||
|
"visible": true,
|
||||||
|
"field": "Common",
|
||||||
|
"pos": 0,
|
||||||
|
"unit": "None",
|
||||||
"title": "对折模式",
|
"title": "对折模式",
|
||||||
"desc": "",
|
"desc": "",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
@ -321,7 +517,14 @@
|
||||||
"depend_or": ["page==对折"]
|
"depend_or": ["page==对折"]
|
||||||
},
|
},
|
||||||
"resolution": {
|
"resolution": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
|
"readonly": false,
|
||||||
|
"affect": 0,
|
||||||
|
"group": "base",
|
||||||
|
"visible": true,
|
||||||
|
"field": "Common",
|
||||||
|
"pos": 0,
|
||||||
|
"unit": "None",
|
||||||
"title": "分辨率",
|
"title": "分辨率",
|
||||||
"desc": "设置扫描图像的分辨率",
|
"desc": "设置扫描图像的分辨率",
|
||||||
"type": "int",
|
"type": "int",
|
||||||
|
@ -335,7 +538,14 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"image-quality": {
|
"image-quality": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
|
"readonly": false,
|
||||||
|
"affect": 0,
|
||||||
|
"group": "base",
|
||||||
|
"visible": true,
|
||||||
|
"field": "Common",
|
||||||
|
"pos": 0,
|
||||||
|
"unit": "None",
|
||||||
"title": "画质",
|
"title": "画质",
|
||||||
"desc": "",
|
"desc": "",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
@ -346,7 +556,14 @@
|
||||||
"depend_or": ["resolution>=300"]
|
"depend_or": ["resolution>=300"]
|
||||||
},
|
},
|
||||||
"is-exchange": {
|
"is-exchange": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
|
"readonly": false,
|
||||||
|
"affect": 0,
|
||||||
|
"group": "base",
|
||||||
|
"visible": true,
|
||||||
|
"field": "Common",
|
||||||
|
"pos": 0,
|
||||||
|
"unit": "None",
|
||||||
"title": "交换正反面",
|
"title": "交换正反面",
|
||||||
"desc": "交换每张文稿的正反面出图顺序",
|
"desc": "交换每张文稿的正反面出图顺序",
|
||||||
"type": "bool",
|
"type": "bool",
|
||||||
|
@ -356,12 +573,26 @@
|
||||||
"depend_and": ["page!=单面"]
|
"depend_and": ["page!=单面"]
|
||||||
},
|
},
|
||||||
"grp-2": {
|
"grp-2": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"title": "亮度",
|
"title": "亮度",
|
||||||
"type": "group"
|
"type": "group",
|
||||||
|
"readonly": false,
|
||||||
|
"affect": 0,
|
||||||
|
"group": "light",
|
||||||
|
"field": "Common",
|
||||||
|
"pos": 0,
|
||||||
|
"visible": true,
|
||||||
|
"unit": "None"
|
||||||
},
|
},
|
||||||
"is-custom-gamma": {
|
"is-custom-gamma": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
|
"readonly": false,
|
||||||
|
"affect": 0,
|
||||||
|
"group": "light",
|
||||||
|
"visible": true,
|
||||||
|
"field": "Common",
|
||||||
|
"pos": 0,
|
||||||
|
"unit": "None",
|
||||||
"title": "启用色调曲线",
|
"title": "启用色调曲线",
|
||||||
"desc": "自定义图像色调效果",
|
"desc": "自定义图像色调效果",
|
||||||
"type": "bool",
|
"type": "bool",
|
||||||
|
@ -370,7 +601,14 @@
|
||||||
"size": 4
|
"size": 4
|
||||||
},
|
},
|
||||||
"brightness": {
|
"brightness": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
|
"readonly": false,
|
||||||
|
"affect": 0,
|
||||||
|
"group": "light",
|
||||||
|
"visible": true,
|
||||||
|
"field": "Common",
|
||||||
|
"pos": 0,
|
||||||
|
"unit": "None",
|
||||||
"title": "亮度值",
|
"title": "亮度值",
|
||||||
"desc": "调整图像亮度",
|
"desc": "调整图像亮度",
|
||||||
"type": "int",
|
"type": "int",
|
||||||
|
@ -384,7 +622,14 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"contrast": {
|
"contrast": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
|
"readonly": false,
|
||||||
|
"affect": 0,
|
||||||
|
"group": "light",
|
||||||
|
"visible": true,
|
||||||
|
"field": "Common",
|
||||||
|
"pos": 0,
|
||||||
|
"unit": "None",
|
||||||
"title": "对比度",
|
"title": "对比度",
|
||||||
"desc": "调整图像对比度",
|
"desc": "调整图像对比度",
|
||||||
"type": "int",
|
"type": "int",
|
||||||
|
@ -398,7 +643,14 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"gamma": {
|
"gamma": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
|
"readonly": false,
|
||||||
|
"affect": 0,
|
||||||
|
"group": "light",
|
||||||
|
"visible": true,
|
||||||
|
"field": "Common",
|
||||||
|
"pos": 0,
|
||||||
|
"unit": "None",
|
||||||
"title": "伽马值",
|
"title": "伽马值",
|
||||||
"desc": "调整图像伽玛值",
|
"desc": "调整图像伽玛值",
|
||||||
"type": "float",
|
"type": "float",
|
||||||
|
@ -412,12 +664,26 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"grp-3": {
|
"grp-3": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"title": "图像处理",
|
"title": "图像处理",
|
||||||
"type": "group"
|
"type": "group",
|
||||||
|
"readonly": false,
|
||||||
|
"affect": 0,
|
||||||
|
"group": "imgproc",
|
||||||
|
"field": "Common",
|
||||||
|
"pos": 0,
|
||||||
|
"visible": true,
|
||||||
|
"unit": "None"
|
||||||
},
|
},
|
||||||
"is-anti-skew": {
|
"is-anti-skew": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
|
"readonly": false,
|
||||||
|
"affect": 0,
|
||||||
|
"group": "imgproc",
|
||||||
|
"visible": true,
|
||||||
|
"field": "Common",
|
||||||
|
"pos": 0,
|
||||||
|
"unit": "None",
|
||||||
"title": "自动纠偏",
|
"title": "自动纠偏",
|
||||||
"desc": "自动纠正歪斜送入的文稿图像",
|
"desc": "自动纠正歪斜送入的文稿图像",
|
||||||
"type": "bool",
|
"type": "bool",
|
||||||
|
@ -427,7 +693,14 @@
|
||||||
"depend_or": ["page!=对折"]
|
"depend_or": ["page!=对折"]
|
||||||
},
|
},
|
||||||
"is-split": {
|
"is-split": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
|
"readonly": false,
|
||||||
|
"affect": 0,
|
||||||
|
"group": "imgproc",
|
||||||
|
"visible": true,
|
||||||
|
"field": "Common",
|
||||||
|
"pos": 0,
|
||||||
|
"unit": "None",
|
||||||
"title": "图像拆分",
|
"title": "图像拆分",
|
||||||
"desc": "自动拆分图像",
|
"desc": "自动拆分图像",
|
||||||
"type": "bool",
|
"type": "bool",
|
||||||
|
@ -437,7 +710,14 @@
|
||||||
"depend_or": ["page!=对折"]
|
"depend_or": ["page!=对折"]
|
||||||
},
|
},
|
||||||
"is-erase-black-frame": {
|
"is-erase-black-frame": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
|
"readonly": false,
|
||||||
|
"affect": 0,
|
||||||
|
"group": "imgproc",
|
||||||
|
"visible": true,
|
||||||
|
"field": "Common",
|
||||||
|
"pos": 0,
|
||||||
|
"unit": "None",
|
||||||
"title": "消除黑框",
|
"title": "消除黑框",
|
||||||
"desc": "消除文稿范围外的黑色背景",
|
"desc": "消除文稿范围外的黑色背景",
|
||||||
"type": "bool",
|
"type": "bool",
|
||||||
|
@ -446,7 +726,14 @@
|
||||||
"size": 4
|
"size": 4
|
||||||
},
|
},
|
||||||
"bkg-fill-mode": {
|
"bkg-fill-mode": {
|
||||||
"category": "advanced",
|
"cat": "base",
|
||||||
|
"readonly": false,
|
||||||
|
"affect": 0,
|
||||||
|
"group": "imgproc",
|
||||||
|
"visible": true,
|
||||||
|
"field": "Common",
|
||||||
|
"pos": 0,
|
||||||
|
"unit": "None",
|
||||||
"title": "背景填充方式",
|
"title": "背景填充方式",
|
||||||
"desc": "选择背景填充方式",
|
"desc": "选择背景填充方式",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
@ -457,7 +744,14 @@
|
||||||
"depend_or": ["is-erase-black-frame==true"]
|
"depend_or": ["is-erase-black-frame==true"]
|
||||||
},
|
},
|
||||||
"is-fill-color": {
|
"is-fill-color": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
|
"readonly": false,
|
||||||
|
"affect": 0,
|
||||||
|
"group": "imgproc",
|
||||||
|
"visible": true,
|
||||||
|
"field": "Common",
|
||||||
|
"pos": 0,
|
||||||
|
"unit": "None",
|
||||||
"title": "色彩填充",
|
"title": "色彩填充",
|
||||||
"desc": "启用后黑框部分将填充为文稿底色",
|
"desc": "启用后黑框部分将填充为文稿底色",
|
||||||
"type": "bool",
|
"type": "bool",
|
||||||
|
@ -467,7 +761,14 @@
|
||||||
"depend_and": ["is-erase-black-frame==true"]
|
"depend_and": ["is-erase-black-frame==true"]
|
||||||
},
|
},
|
||||||
"threshold": {
|
"threshold": {
|
||||||
"category": "advanced",
|
"cat": "base",
|
||||||
|
"readonly": false,
|
||||||
|
"affect": 0,
|
||||||
|
"group": "imgproc",
|
||||||
|
"visible": true,
|
||||||
|
"field": "Common",
|
||||||
|
"pos": 0,
|
||||||
|
"unit": "None",
|
||||||
"title": "阈值",
|
"title": "阈值",
|
||||||
"desc": "文稿底色与黑色背景灰度值的差值大于该值,才会被识别为文稿",
|
"desc": "文稿底色与黑色背景灰度值的差值大于该值,才会被识别为文稿",
|
||||||
"type": "int",
|
"type": "int",
|
||||||
|
@ -482,7 +783,14 @@
|
||||||
"depend_or": ["is-erase-black-frame==true", "paper==匹配原始尺寸", "==最大扫描尺寸", "==最大扫描尺寸自动裁切", "is-anti-skew==true"]
|
"depend_or": ["is-erase-black-frame==true", "paper==匹配原始尺寸", "==最大扫描尺寸", "==最大扫描尺寸自动裁切", "is-anti-skew==true"]
|
||||||
},
|
},
|
||||||
"anti-noise-level": {
|
"anti-noise-level": {
|
||||||
"category": "advanced",
|
"cat": "base",
|
||||||
|
"readonly": false,
|
||||||
|
"affect": 0,
|
||||||
|
"group": "imgproc",
|
||||||
|
"visible": true,
|
||||||
|
"field": "Common",
|
||||||
|
"pos": 0,
|
||||||
|
"unit": "None",
|
||||||
"title": "背景抗噪等级",
|
"title": "背景抗噪等级",
|
||||||
"desc": "能够容忍的背景杂色条纹的宽度",
|
"desc": "能够容忍的背景杂色条纹的宽度",
|
||||||
"type": "int",
|
"type": "int",
|
||||||
|
@ -497,7 +805,14 @@
|
||||||
"depend_or": ["is-erase-black-frame==true", "paper==匹配原始尺寸", "==最大扫描尺寸", "==最大扫描尺寸自动裁切", "is-anti-skew==true"]
|
"depend_or": ["is-erase-black-frame==true", "paper==匹配原始尺寸", "==最大扫描尺寸", "==最大扫描尺寸自动裁切", "is-anti-skew==true"]
|
||||||
},
|
},
|
||||||
"margin": {
|
"margin": {
|
||||||
"category": "advanced",
|
"cat": "base",
|
||||||
|
"readonly": false,
|
||||||
|
"affect": 0,
|
||||||
|
"group": "imgproc",
|
||||||
|
"visible": true,
|
||||||
|
"field": "Common",
|
||||||
|
"pos": 0,
|
||||||
|
"unit": "None",
|
||||||
"title": "边缘缩进",
|
"title": "边缘缩进",
|
||||||
"desc": "寻找文稿边缘时对边缘的侵入程度",
|
"desc": "寻找文稿边缘时对边缘的侵入程度",
|
||||||
"type": "int",
|
"type": "int",
|
||||||
|
@ -512,7 +827,14 @@
|
||||||
"depend_or": ["is-erase-black-frame==true", "paper==匹配原始尺寸", "==最大扫描尺寸自动裁切", "==最大扫描尺寸", "is-anti-skew==true"]
|
"depend_or": ["is-erase-black-frame==true", "paper==匹配原始尺寸", "==最大扫描尺寸自动裁切", "==最大扫描尺寸", "is-anti-skew==true"]
|
||||||
},
|
},
|
||||||
"is-dark-sample": {
|
"is-dark-sample": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
|
"readonly": false,
|
||||||
|
"affect": 0,
|
||||||
|
"group": "imgproc",
|
||||||
|
"visible": true,
|
||||||
|
"field": "Common",
|
||||||
|
"pos": 0,
|
||||||
|
"unit": "None",
|
||||||
"title": "深色样张",
|
"title": "深色样张",
|
||||||
"desc": "启用该模式防止深色底色的文稿图像被误处理",
|
"desc": "启用该模式防止深色底色的文稿图像被误处理",
|
||||||
"type": "bool",
|
"type": "bool",
|
||||||
|
@ -522,7 +844,14 @@
|
||||||
"depend_and": ["page!=对折", "is-erase-black-frame!=true", "paper!=匹配原始尺寸", "!=最大扫描尺寸", "!=最大扫描尺寸自动裁切", "is-anti-skew!=true"]
|
"depend_and": ["page!=对折", "is-erase-black-frame!=true", "paper!=匹配原始尺寸", "!=最大扫描尺寸", "!=最大扫描尺寸自动裁切", "is-anti-skew!=true"]
|
||||||
},
|
},
|
||||||
"is-anti-permeate": {
|
"is-anti-permeate": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
|
"readonly": false,
|
||||||
|
"affect": 0,
|
||||||
|
"group": "imgproc",
|
||||||
|
"visible": true,
|
||||||
|
"field": "Common",
|
||||||
|
"pos": 0,
|
||||||
|
"unit": "None",
|
||||||
"title": "防止渗透",
|
"title": "防止渗透",
|
||||||
"desc": "防止背面图案渗透",
|
"desc": "防止背面图案渗透",
|
||||||
"type": "bool",
|
"type": "bool",
|
||||||
|
@ -531,7 +860,14 @@
|
||||||
"size": 4
|
"size": 4
|
||||||
},
|
},
|
||||||
"permeate-level": {
|
"permeate-level": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
|
"readonly": false,
|
||||||
|
"affect": 0,
|
||||||
|
"group": "imgproc",
|
||||||
|
"visible": true,
|
||||||
|
"field": "Common",
|
||||||
|
"pos": 0,
|
||||||
|
"unit": "None",
|
||||||
"title": " 防止渗透等级",
|
"title": " 防止渗透等级",
|
||||||
"desc": "选择防止渗透的等级",
|
"desc": "选择防止渗透的等级",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
@ -542,7 +878,14 @@
|
||||||
"depend_or": ["is-anti-permeate==true"]
|
"depend_or": ["is-anti-permeate==true"]
|
||||||
},
|
},
|
||||||
"is-rid-hole-l": {
|
"is-rid-hole-l": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
|
"readonly": false,
|
||||||
|
"affect": 0,
|
||||||
|
"group": "imgproc",
|
||||||
|
"visible": true,
|
||||||
|
"field": "Common",
|
||||||
|
"pos": 0,
|
||||||
|
"unit": "None",
|
||||||
"title": "穿孔移除—左侧",
|
"title": "穿孔移除—左侧",
|
||||||
"desc": "穿孔在纸张上的左侧",
|
"desc": "穿孔在纸张上的左侧",
|
||||||
"type": "bool",
|
"type": "bool",
|
||||||
|
@ -551,7 +894,14 @@
|
||||||
"size": 4
|
"size": 4
|
||||||
},
|
},
|
||||||
"search-hole-range-l": {
|
"search-hole-range-l": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
|
"readonly": false,
|
||||||
|
"affect": 0,
|
||||||
|
"group": "imgproc",
|
||||||
|
"visible": true,
|
||||||
|
"field": "Common",
|
||||||
|
"pos": 0,
|
||||||
|
"unit": "None",
|
||||||
"title": " 左侧穿孔搜索范围占幅面比例",
|
"title": " 左侧穿孔搜索范围占幅面比例",
|
||||||
"desc": "穿孔搜索范围占幅面比例",
|
"desc": "穿孔搜索范围占幅面比例",
|
||||||
"type": "float",
|
"type": "float",
|
||||||
|
@ -566,7 +916,14 @@
|
||||||
"depend_or": ["is-rid-hole-l==true"]
|
"depend_or": ["is-rid-hole-l==true"]
|
||||||
},
|
},
|
||||||
"is-rid-hole-r": {
|
"is-rid-hole-r": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
|
"readonly": false,
|
||||||
|
"affect": 0,
|
||||||
|
"group": "imgproc",
|
||||||
|
"visible": true,
|
||||||
|
"field": "Common",
|
||||||
|
"pos": 0,
|
||||||
|
"unit": "None",
|
||||||
"title": "穿孔移除—右侧",
|
"title": "穿孔移除—右侧",
|
||||||
"desc": "穿孔在纸张上的右侧",
|
"desc": "穿孔在纸张上的右侧",
|
||||||
"type": "bool",
|
"type": "bool",
|
||||||
|
@ -575,7 +932,14 @@
|
||||||
"size": 4
|
"size": 4
|
||||||
},
|
},
|
||||||
"search-hole-range-r": {
|
"search-hole-range-r": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
|
"readonly": false,
|
||||||
|
"affect": 0,
|
||||||
|
"group": "imgproc",
|
||||||
|
"visible": true,
|
||||||
|
"field": "Common",
|
||||||
|
"pos": 0,
|
||||||
|
"unit": "None",
|
||||||
"title": " 右侧穿孔搜索范围占幅面比例",
|
"title": " 右侧穿孔搜索范围占幅面比例",
|
||||||
"desc": "穿孔搜索范围占幅面比例",
|
"desc": "穿孔搜索范围占幅面比例",
|
||||||
"type": "float",
|
"type": "float",
|
||||||
|
@ -590,7 +954,14 @@
|
||||||
"depend_or": ["is-rid-hole-r==true"]
|
"depend_or": ["is-rid-hole-r==true"]
|
||||||
},
|
},
|
||||||
"is-rid-hole-t": {
|
"is-rid-hole-t": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
|
"readonly": false,
|
||||||
|
"affect": 0,
|
||||||
|
"group": "imgproc",
|
||||||
|
"visible": true,
|
||||||
|
"field": "Common",
|
||||||
|
"pos": 0,
|
||||||
|
"unit": "None",
|
||||||
"title": "穿孔移除—上侧",
|
"title": "穿孔移除—上侧",
|
||||||
"desc": "穿孔在纸张的上部",
|
"desc": "穿孔在纸张的上部",
|
||||||
"type": "bool",
|
"type": "bool",
|
||||||
|
@ -599,7 +970,14 @@
|
||||||
"size": 4
|
"size": 4
|
||||||
},
|
},
|
||||||
"search-hole-range-t": {
|
"search-hole-range-t": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
|
"readonly": false,
|
||||||
|
"affect": 0,
|
||||||
|
"group": "imgproc",
|
||||||
|
"visible": true,
|
||||||
|
"field": "Common",
|
||||||
|
"pos": 0,
|
||||||
|
"unit": "None",
|
||||||
"title": " 上侧穿孔搜索范围占幅面比例",
|
"title": " 上侧穿孔搜索范围占幅面比例",
|
||||||
"desc": "穿孔搜索范围占幅面比例",
|
"desc": "穿孔搜索范围占幅面比例",
|
||||||
"type": "float",
|
"type": "float",
|
||||||
|
@ -614,7 +992,14 @@
|
||||||
"depend_or": ["is-rid-hole-t==true"]
|
"depend_or": ["is-rid-hole-t==true"]
|
||||||
},
|
},
|
||||||
"is-rid-hole-b": {
|
"is-rid-hole-b": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
|
"readonly": false,
|
||||||
|
"affect": 0,
|
||||||
|
"group": "imgproc",
|
||||||
|
"visible": true,
|
||||||
|
"field": "Common",
|
||||||
|
"pos": 0,
|
||||||
|
"unit": "None",
|
||||||
"title": "穿孔移除—下侧",
|
"title": "穿孔移除—下侧",
|
||||||
"desc": "穿孔在纸张的下部",
|
"desc": "穿孔在纸张的下部",
|
||||||
"type": "bool",
|
"type": "bool",
|
||||||
|
@ -623,7 +1008,14 @@
|
||||||
"size": 4
|
"size": 4
|
||||||
},
|
},
|
||||||
"search-hole-range-b": {
|
"search-hole-range-b": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
|
"readonly": false,
|
||||||
|
"affect": 0,
|
||||||
|
"group": "imgproc",
|
||||||
|
"visible": true,
|
||||||
|
"field": "Common",
|
||||||
|
"pos": 0,
|
||||||
|
"unit": "None",
|
||||||
"title": " 下侧穿孔搜索范围占幅面比例",
|
"title": " 下侧穿孔搜索范围占幅面比例",
|
||||||
"desc": "穿孔搜索范围占幅面比例",
|
"desc": "穿孔搜索范围占幅面比例",
|
||||||
"type": "float",
|
"type": "float",
|
||||||
|
@ -638,12 +1030,26 @@
|
||||||
"depend_or": ["is-rid-hole-b==true"]
|
"depend_or": ["is-rid-hole-b==true"]
|
||||||
},
|
},
|
||||||
"grp-4": {
|
"grp-4": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"title": "送纸方式设置",
|
"title": "送纸方式设置",
|
||||||
"type": "group"
|
"type": "group",
|
||||||
|
"readonly": false,
|
||||||
|
"affect": 0,
|
||||||
|
"group": "feeder",
|
||||||
|
"field": "Common",
|
||||||
|
"pos": 0,
|
||||||
|
"visible": true,
|
||||||
|
"unit": "None"
|
||||||
},
|
},
|
||||||
"scan-mode": {
|
"scan-mode": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
|
"readonly": false,
|
||||||
|
"affect": 0,
|
||||||
|
"group": "feeder",
|
||||||
|
"visible": true,
|
||||||
|
"field": "Common",
|
||||||
|
"pos": 0,
|
||||||
|
"unit": "None",
|
||||||
"title": "扫描张数",
|
"title": "扫描张数",
|
||||||
"desc": "选择指定数量扫描或连续扫描",
|
"desc": "选择指定数量扫描或连续扫描",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
@ -653,7 +1059,14 @@
|
||||||
"range": ["连续扫描", "扫描指定张数"]
|
"range": ["连续扫描", "扫描指定张数"]
|
||||||
},
|
},
|
||||||
"scan-count": {
|
"scan-count": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
|
"readonly": false,
|
||||||
|
"affect": 0,
|
||||||
|
"group": "feeder",
|
||||||
|
"visible": true,
|
||||||
|
"field": "Common",
|
||||||
|
"pos": 0,
|
||||||
|
"unit": "None",
|
||||||
"title": " 扫描数量",
|
"title": " 扫描数量",
|
||||||
"desc": "扫描指定数量",
|
"desc": "扫描指定数量",
|
||||||
"type": "int",
|
"type": "int",
|
||||||
|
@ -663,7 +1076,14 @@
|
||||||
"depend_or": ["scan-mode==扫描指定张数"]
|
"depend_or": ["scan-mode==扫描指定张数"]
|
||||||
},
|
},
|
||||||
"direction": {
|
"direction": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
|
"readonly": false,
|
||||||
|
"affect": 0,
|
||||||
|
"group": "feeder",
|
||||||
|
"visible": true,
|
||||||
|
"field": "Common",
|
||||||
|
"pos": 0,
|
||||||
|
"unit": "None",
|
||||||
"title": "文稿方向",
|
"title": "文稿方向",
|
||||||
"desc": "设置图像的方向",
|
"desc": "设置图像的方向",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
@ -673,7 +1093,14 @@
|
||||||
"range": ["0°", "90°", "180°", "-90°", "自动文本方向识别°"]
|
"range": ["0°", "90°", "180°", "-90°", "自动文本方向识别°"]
|
||||||
},
|
},
|
||||||
"is-rotate-bkg-180": {
|
"is-rotate-bkg-180": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
|
"readonly": false,
|
||||||
|
"affect": 0,
|
||||||
|
"group": "feeder",
|
||||||
|
"visible": true,
|
||||||
|
"field": "Common",
|
||||||
|
"pos": 0,
|
||||||
|
"unit": "None",
|
||||||
"title": "背面旋转180°",
|
"title": "背面旋转180°",
|
||||||
"desc": "背面扫描的图像旋转180°",
|
"desc": "背面扫描的图像旋转180°",
|
||||||
"type": "bool",
|
"type": "bool",
|
||||||
|
@ -683,7 +1110,14 @@
|
||||||
"depend_and": ["page!=单面", "!=对折", "direction!=自动文本方向识别°"]
|
"depend_and": ["page!=单面", "!=对折", "direction!=自动文本方向识别°"]
|
||||||
},
|
},
|
||||||
"is-ultrosonic": {
|
"is-ultrosonic": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
|
"readonly": false,
|
||||||
|
"affect": 0,
|
||||||
|
"group": "feeder",
|
||||||
|
"visible": true,
|
||||||
|
"field": "Common",
|
||||||
|
"pos": 0,
|
||||||
|
"unit": "None",
|
||||||
"title": "超声波检测",
|
"title": "超声波检测",
|
||||||
"desc": "检测是否出现双张送入",
|
"desc": "检测是否出现双张送入",
|
||||||
"type": "bool",
|
"type": "bool",
|
||||||
|
|
376
docs/G402.txt
376
docs/G402.txt
|
@ -4,10 +4,10 @@
|
||||||
"option_count": 63
|
"option_count": 63
|
||||||
},
|
},
|
||||||
"restore": {
|
"restore": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "none",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -20,10 +20,10 @@
|
||||||
"size": 0
|
"size": 0
|
||||||
},
|
},
|
||||||
"help": {
|
"help": {
|
||||||
"category": "advanced",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "none",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -36,22 +36,22 @@
|
||||||
"size": 4
|
"size": 4
|
||||||
},
|
},
|
||||||
"grp-1": {
|
"grp-1": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"title": "基本设置",
|
"title": "基本设置",
|
||||||
"type": "group",
|
"type": "group",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"unit": "None"
|
"unit": "None"
|
||||||
},
|
},
|
||||||
"is-multiout": {
|
"is-multiout": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -64,10 +64,10 @@
|
||||||
"size": 4
|
"size": 4
|
||||||
},
|
},
|
||||||
"multiout-type": {
|
"multiout-type": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -82,10 +82,10 @@
|
||||||
"depend_or": ["is-multiout==true"]
|
"depend_or": ["is-multiout==true"]
|
||||||
},
|
},
|
||||||
"mode": {
|
"mode": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -100,10 +100,10 @@
|
||||||
"depend_or": ["is-multiout==false"]
|
"depend_or": ["is-multiout==false"]
|
||||||
},
|
},
|
||||||
"binary-threshold": {
|
"binary-threshold": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -119,13 +119,13 @@
|
||||||
"max": 255,
|
"max": 255,
|
||||||
"step": 1
|
"step": 1
|
||||||
},
|
},
|
||||||
"depend_or": ["is-multiout==true", "mode==黑白"]
|
"depend_or": ["multiout-type!=彩色+灰度", "mode==黑白"]
|
||||||
},
|
},
|
||||||
"reverse-bw": {
|
"reverse-bw": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -136,13 +136,13 @@
|
||||||
"cur": false,
|
"cur": false,
|
||||||
"default": false,
|
"default": false,
|
||||||
"size": 4,
|
"size": 4,
|
||||||
"depend_or": ["is-multiout==true", "mode==黑白"]
|
"depend_or": ["multiout-type!=彩色+灰度", "mode==黑白"]
|
||||||
},
|
},
|
||||||
"filter": {
|
"filter": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -157,10 +157,10 @@
|
||||||
"depend_and": ["is-multiout!=true", "mode!=24位彩色", "!=颜色自动识别"]
|
"depend_and": ["is-multiout!=true", "mode!=24位彩色", "!=颜色自动识别"]
|
||||||
},
|
},
|
||||||
"is-rid-multiout-red": {
|
"is-rid-multiout-red": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -174,10 +174,10 @@
|
||||||
"depend_and": ["is-multiout!=true", "mode!=256级灰度", "!=黑白", "!=颜色自动识别"]
|
"depend_and": ["is-multiout!=true", "mode!=256级灰度", "!=黑白", "!=颜色自动识别"]
|
||||||
},
|
},
|
||||||
"is-rid-answer-sheet-red": {
|
"is-rid-answer-sheet-red": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -191,10 +191,10 @@
|
||||||
"depend_and": ["is-multiout!=true", "mode!=256级灰度", "!=黑白", "!=颜色自动识别"]
|
"depend_and": ["is-multiout!=true", "mode!=256级灰度", "!=黑白", "!=颜色自动识别"]
|
||||||
},
|
},
|
||||||
"is-erase-bkg": {
|
"is-erase-bkg": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -208,10 +208,10 @@
|
||||||
"depend_and": ["is-multiout!=true", "mode!=256级灰度", "!=黑白", "!=颜色自动识别"]
|
"depend_and": ["is-multiout!=true", "mode!=256级灰度", "!=黑白", "!=颜色自动识别"]
|
||||||
},
|
},
|
||||||
"bkg-color-range": {
|
"bkg-color-range": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -230,10 +230,10 @@
|
||||||
"depend_or": ["is-erase-bkg==true"]
|
"depend_or": ["is-erase-bkg==true"]
|
||||||
},
|
},
|
||||||
"sharpen": {
|
"sharpen": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -248,10 +248,10 @@
|
||||||
"depend_and": ["is-multiout!=true", "mode!=黑白", "!=颜色自动识别"]
|
"depend_and": ["is-multiout!=true", "mode!=黑白", "!=颜色自动识别"]
|
||||||
},
|
},
|
||||||
"is-rid-morr": {
|
"is-rid-morr": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -265,10 +265,10 @@
|
||||||
"depend_and": ["is-multiout!=true", "mode!=黑白", "!=颜色自动识别"]
|
"depend_and": ["is-multiout!=true", "mode!=黑白", "!=颜色自动识别"]
|
||||||
},
|
},
|
||||||
"is-rid-grid": {
|
"is-rid-grid": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -282,10 +282,10 @@
|
||||||
"depend_and": ["is-multiout!=true", "mode!=黑白", "!=颜色自动识别"]
|
"depend_and": ["is-multiout!=true", "mode!=黑白", "!=颜色自动识别"]
|
||||||
},
|
},
|
||||||
"is-err-extension": {
|
"is-err-extension": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -299,10 +299,10 @@
|
||||||
"depend_or": ["mode==黑白"]
|
"depend_or": ["mode==黑白"]
|
||||||
},
|
},
|
||||||
"is-noise-optimize": {
|
"is-noise-optimize": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -316,10 +316,10 @@
|
||||||
"depend_or": ["mode==黑白"]
|
"depend_or": ["mode==黑白"]
|
||||||
},
|
},
|
||||||
"noise-size": {
|
"noise-size": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -338,10 +338,10 @@
|
||||||
"depend_or": ["is-noise-optimize==true"]
|
"depend_or": ["is-noise-optimize==true"]
|
||||||
},
|
},
|
||||||
"paper": {
|
"paper": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -355,10 +355,10 @@
|
||||||
"range": ["A3", "A4", "A4横向", "A5", "A5横向", "A6", "A6横向", "B4", "B5", "B5横向", "B6", "B6横向", "Letter", "Letter横向", "Double Letter", "LEGAL", "匹配原始尺寸"]
|
"range": ["A3", "A4", "A4横向", "A5", "A5横向", "A6", "A6横向", "B4", "B5", "B5横向", "B6", "B6横向", "Letter", "Letter横向", "Double Letter", "LEGAL", "匹配原始尺寸"]
|
||||||
},
|
},
|
||||||
"is-custom-area": {
|
"is-custom-area": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -372,10 +372,10 @@
|
||||||
"depend_and": ["paper!=匹配原始尺寸", "!=三联试卷", "!=最大扫描尺寸", "!=最大扫描尺寸自动裁切"]
|
"depend_and": ["paper!=匹配原始尺寸", "!=三联试卷", "!=最大扫描尺寸", "!=最大扫描尺寸自动裁切"]
|
||||||
},
|
},
|
||||||
"tl-x": {
|
"tl-x": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -394,10 +394,10 @@
|
||||||
"depend_and": ["is-custom-area==true"]
|
"depend_and": ["is-custom-area==true"]
|
||||||
},
|
},
|
||||||
"br-x": {
|
"br-x": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -416,10 +416,10 @@
|
||||||
"depend_and": ["is-custom-area==true"]
|
"depend_and": ["is-custom-area==true"]
|
||||||
},
|
},
|
||||||
"tl-y": {
|
"tl-y": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -438,10 +438,10 @@
|
||||||
"depend_and": ["is-custom-area==true"]
|
"depend_and": ["is-custom-area==true"]
|
||||||
},
|
},
|
||||||
"br-y": {
|
"br-y": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -460,10 +460,10 @@
|
||||||
"depend_and": ["is-custom-area==true"]
|
"depend_and": ["is-custom-area==true"]
|
||||||
},
|
},
|
||||||
"page": {
|
"page": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -477,10 +477,10 @@
|
||||||
"range": ["单面", "双面", "跳过空白页(通用)", "跳过空白页(发票纸)", "对折"]
|
"range": ["单面", "双面", "跳过空白页(通用)", "跳过空白页(发票纸)", "对折"]
|
||||||
},
|
},
|
||||||
"blank-sensitivity": {
|
"blank-sensitivity": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -499,10 +499,10 @@
|
||||||
"depend_or": ["page==跳过空白页(发票纸)", "==跳过空白页(通用)"]
|
"depend_or": ["page==跳过空白页(发票纸)", "==跳过空白页(通用)"]
|
||||||
},
|
},
|
||||||
"fold-type": {
|
"fold-type": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -517,10 +517,10 @@
|
||||||
"depend_or": ["page==对折"]
|
"depend_or": ["page==对折"]
|
||||||
},
|
},
|
||||||
"resolution": {
|
"resolution": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -538,10 +538,10 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"is-exchange": {
|
"is-exchange": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -555,22 +555,22 @@
|
||||||
"depend_and": ["page!=单面"]
|
"depend_and": ["page!=单面"]
|
||||||
},
|
},
|
||||||
"grp-2": {
|
"grp-2": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"title": "亮度",
|
"title": "亮度",
|
||||||
"type": "group",
|
"type": "group",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "light",
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"unit": "None"
|
"unit": "None"
|
||||||
},
|
},
|
||||||
"is-custom-gamma": {
|
"is-custom-gamma": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "light",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -583,10 +583,10 @@
|
||||||
"size": 4
|
"size": 4
|
||||||
},
|
},
|
||||||
"brightness": {
|
"brightness": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "light",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -604,10 +604,10 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"contrast": {
|
"contrast": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "light",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -625,10 +625,10 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"gamma": {
|
"gamma": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "light",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -646,22 +646,22 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"grp-3": {
|
"grp-3": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"title": "图像处理",
|
"title": "图像处理",
|
||||||
"type": "group",
|
"type": "group",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "imgproc",
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"unit": "None"
|
"unit": "None"
|
||||||
},
|
},
|
||||||
"color-correction": {
|
"color-correction": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "imgproc",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -675,10 +675,10 @@
|
||||||
"depend_or": ["mode==24位彩色"]
|
"depend_or": ["mode==24位彩色"]
|
||||||
},
|
},
|
||||||
"is-anti-skew": {
|
"is-anti-skew": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "imgproc",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -692,10 +692,10 @@
|
||||||
"depend_or": ["page!=对折"]
|
"depend_or": ["page!=对折"]
|
||||||
},
|
},
|
||||||
"is-split": {
|
"is-split": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "imgproc",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -709,10 +709,10 @@
|
||||||
"depend_or": ["page!=对折"]
|
"depend_or": ["page!=对折"]
|
||||||
},
|
},
|
||||||
"is-erase-black-frame": {
|
"is-erase-black-frame": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "imgproc",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -725,10 +725,10 @@
|
||||||
"size": 4
|
"size": 4
|
||||||
},
|
},
|
||||||
"bkg-fill-mode": {
|
"bkg-fill-mode": {
|
||||||
"category": "advanced",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "imgproc",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -743,10 +743,10 @@
|
||||||
"depend_or": ["is-erase-black-frame==true"]
|
"depend_or": ["is-erase-black-frame==true"]
|
||||||
},
|
},
|
||||||
"is-fill-color": {
|
"is-fill-color": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "imgproc",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -760,10 +760,10 @@
|
||||||
"depend_and": ["is-erase-black-frame==true"]
|
"depend_and": ["is-erase-black-frame==true"]
|
||||||
},
|
},
|
||||||
"threshold": {
|
"threshold": {
|
||||||
"category": "advanced",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "imgproc",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -782,10 +782,10 @@
|
||||||
"depend_or": ["is-erase-black-frame==true", "paper==匹配原始尺寸", "==最大扫描尺寸", "==最大扫描尺寸自动裁切", "is-anti-skew==true"]
|
"depend_or": ["is-erase-black-frame==true", "paper==匹配原始尺寸", "==最大扫描尺寸", "==最大扫描尺寸自动裁切", "is-anti-skew==true"]
|
||||||
},
|
},
|
||||||
"anti-noise-level": {
|
"anti-noise-level": {
|
||||||
"category": "advanced",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "imgproc",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -804,10 +804,10 @@
|
||||||
"depend_or": ["is-erase-black-frame==true", "paper==匹配原始尺寸", "==最大扫描尺寸", "==最大扫描尺寸自动裁切", "is-anti-skew==true"]
|
"depend_or": ["is-erase-black-frame==true", "paper==匹配原始尺寸", "==最大扫描尺寸", "==最大扫描尺寸自动裁切", "is-anti-skew==true"]
|
||||||
},
|
},
|
||||||
"margin": {
|
"margin": {
|
||||||
"category": "advanced",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "imgproc",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -826,10 +826,10 @@
|
||||||
"depend_or": ["is-erase-black-frame==true", "paper==匹配原始尺寸", "==最大扫描尺寸自动裁切", "==最大扫描尺寸", "is-anti-skew==true"]
|
"depend_or": ["is-erase-black-frame==true", "paper==匹配原始尺寸", "==最大扫描尺寸自动裁切", "==最大扫描尺寸", "is-anti-skew==true"]
|
||||||
},
|
},
|
||||||
"is-dark-sample": {
|
"is-dark-sample": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "imgproc",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -843,10 +843,10 @@
|
||||||
"depend_and": ["page!=对折", "is-erase-black-frame!=true", "paper!=匹配原始尺寸", "!=最大扫描尺寸", "!=最大扫描尺寸自动裁切", "is-anti-skew!=true"]
|
"depend_and": ["page!=对折", "is-erase-black-frame!=true", "paper!=匹配原始尺寸", "!=最大扫描尺寸", "!=最大扫描尺寸自动裁切", "is-anti-skew!=true"]
|
||||||
},
|
},
|
||||||
"is-anti-permeate": {
|
"is-anti-permeate": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "imgproc",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -859,10 +859,10 @@
|
||||||
"size": 4
|
"size": 4
|
||||||
},
|
},
|
||||||
"permeate-level": {
|
"permeate-level": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "imgproc",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -877,10 +877,10 @@
|
||||||
"depend_or": ["is-anti-permeate==true"]
|
"depend_or": ["is-anti-permeate==true"]
|
||||||
},
|
},
|
||||||
"is-rid-hole-l": {
|
"is-rid-hole-l": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "imgproc",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -893,10 +893,10 @@
|
||||||
"size": 4
|
"size": 4
|
||||||
},
|
},
|
||||||
"search-hole-range-l": {
|
"search-hole-range-l": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "imgproc",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -915,10 +915,10 @@
|
||||||
"depend_or": ["is-rid-hole-l==true"]
|
"depend_or": ["is-rid-hole-l==true"]
|
||||||
},
|
},
|
||||||
"is-rid-hole-r": {
|
"is-rid-hole-r": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "imgproc",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -931,10 +931,10 @@
|
||||||
"size": 4
|
"size": 4
|
||||||
},
|
},
|
||||||
"search-hole-range-r": {
|
"search-hole-range-r": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "imgproc",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -953,10 +953,10 @@
|
||||||
"depend_or": ["is-rid-hole-r==true"]
|
"depend_or": ["is-rid-hole-r==true"]
|
||||||
},
|
},
|
||||||
"is-rid-hole-t": {
|
"is-rid-hole-t": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "imgproc",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -969,10 +969,10 @@
|
||||||
"size": 4
|
"size": 4
|
||||||
},
|
},
|
||||||
"search-hole-range-t": {
|
"search-hole-range-t": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "imgproc",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -991,10 +991,10 @@
|
||||||
"depend_or": ["is-rid-hole-t==true"]
|
"depend_or": ["is-rid-hole-t==true"]
|
||||||
},
|
},
|
||||||
"is-rid-hole-b": {
|
"is-rid-hole-b": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "imgproc",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -1007,10 +1007,10 @@
|
||||||
"size": 4
|
"size": 4
|
||||||
},
|
},
|
||||||
"search-hole-range-b": {
|
"search-hole-range-b": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "imgproc",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -1029,22 +1029,22 @@
|
||||||
"depend_or": ["is-rid-hole-b==true"]
|
"depend_or": ["is-rid-hole-b==true"]
|
||||||
},
|
},
|
||||||
"grp-4": {
|
"grp-4": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"title": "送纸方式设置",
|
"title": "送纸方式设置",
|
||||||
"type": "group",
|
"type": "group",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "feeder",
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"unit": "None"
|
"unit": "None"
|
||||||
},
|
},
|
||||||
"scan-mode": {
|
"scan-mode": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "feeder",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -1058,10 +1058,10 @@
|
||||||
"range": ["连续扫描", "扫描指定张数"]
|
"range": ["连续扫描", "扫描指定张数"]
|
||||||
},
|
},
|
||||||
"scan-count": {
|
"scan-count": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "feeder",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -1075,10 +1075,10 @@
|
||||||
"depend_or": ["scan-mode==扫描指定张数"]
|
"depend_or": ["scan-mode==扫描指定张数"]
|
||||||
},
|
},
|
||||||
"direction": {
|
"direction": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "feeder",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -1092,10 +1092,10 @@
|
||||||
"range": ["0°", "90°", "180°", "-90°", "自动文本方向识别°"]
|
"range": ["0°", "90°", "180°", "-90°", "自动文本方向识别°"]
|
||||||
},
|
},
|
||||||
"is-rotate-bkg-180": {
|
"is-rotate-bkg-180": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "feeder",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -1109,10 +1109,10 @@
|
||||||
"depend_and": ["page!=单面", "!=对折", "direction!=自动文本方向识别°"]
|
"depend_and": ["page!=单面", "!=对折", "direction!=自动文本方向识别°"]
|
||||||
},
|
},
|
||||||
"is-ultrosonic": {
|
"is-ultrosonic": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "feeder",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
|
418
docs/G439.txt
418
docs/G439.txt
|
@ -4,10 +4,10 @@
|
||||||
"option_count": 70
|
"option_count": 70
|
||||||
},
|
},
|
||||||
"restore": {
|
"restore": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "none",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -20,10 +20,10 @@
|
||||||
"size": 0
|
"size": 0
|
||||||
},
|
},
|
||||||
"help": {
|
"help": {
|
||||||
"category": "advanced",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "none",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -36,22 +36,22 @@
|
||||||
"size": 4
|
"size": 4
|
||||||
},
|
},
|
||||||
"grp-1": {
|
"grp-1": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"title": "基本设置",
|
"title": "基本设置",
|
||||||
"type": "group",
|
"type": "group",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"unit": "None"
|
"unit": "None"
|
||||||
},
|
},
|
||||||
"is-multiout": {
|
"is-multiout": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -64,10 +64,10 @@
|
||||||
"size": 4
|
"size": 4
|
||||||
},
|
},
|
||||||
"multiout-type": {
|
"multiout-type": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -82,10 +82,10 @@
|
||||||
"depend_or": ["is-multiout==true"]
|
"depend_or": ["is-multiout==true"]
|
||||||
},
|
},
|
||||||
"mode": {
|
"mode": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -100,10 +100,10 @@
|
||||||
"depend_or": ["is-multiout!=true"]
|
"depend_or": ["is-multiout!=true"]
|
||||||
},
|
},
|
||||||
"binary-threshold": {
|
"binary-threshold": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -119,13 +119,13 @@
|
||||||
"max": 255,
|
"max": 255,
|
||||||
"step": 1
|
"step": 1
|
||||||
},
|
},
|
||||||
"depend_or": ["is-multiout==true", "mode==黑白"]
|
"depend_or": ["multiout-type!=彩色+灰度", "mode==黑白"]
|
||||||
},
|
},
|
||||||
"reverse-bw": {
|
"reverse-bw": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -136,13 +136,13 @@
|
||||||
"cur": false,
|
"cur": false,
|
||||||
"default": false,
|
"default": false,
|
||||||
"size": 4,
|
"size": 4,
|
||||||
"depend_or": ["is-multiout==true", "mode==黑白"]
|
"depend_or": ["multiout-type!=彩色+灰度", "mode==黑白"]
|
||||||
},
|
},
|
||||||
"filter": {
|
"filter": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -157,10 +157,10 @@
|
||||||
"depend_and": ["is-multiout!=true", "mode!=24位彩色", "!=颜色自动识别"]
|
"depend_and": ["is-multiout!=true", "mode!=24位彩色", "!=颜色自动识别"]
|
||||||
},
|
},
|
||||||
"is-rid-multiout-red": {
|
"is-rid-multiout-red": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -174,10 +174,10 @@
|
||||||
"depend_and": ["is-multiout!=true", "mode!=256级灰度", "!=黑白", "!=颜色自动识别"]
|
"depend_and": ["is-multiout!=true", "mode!=256级灰度", "!=黑白", "!=颜色自动识别"]
|
||||||
},
|
},
|
||||||
"is-rid-answer-sheet-red": {
|
"is-rid-answer-sheet-red": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -191,10 +191,10 @@
|
||||||
"depend_and": ["is-multiout!=true", "mode!=256级灰度", "!=黑白", "!=颜色自动识别"]
|
"depend_and": ["is-multiout!=true", "mode!=256级灰度", "!=黑白", "!=颜色自动识别"]
|
||||||
},
|
},
|
||||||
"is-erase-bkg": {
|
"is-erase-bkg": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -208,10 +208,10 @@
|
||||||
"depend_and": ["is-multiout!=true", "mode!=256级灰度", "!=黑白", "!=颜色自动识别"]
|
"depend_and": ["is-multiout!=true", "mode!=256级灰度", "!=黑白", "!=颜色自动识别"]
|
||||||
},
|
},
|
||||||
"bkg-color-range": {
|
"bkg-color-range": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -230,10 +230,10 @@
|
||||||
"depend_or": ["is-erase-bkg==true"]
|
"depend_or": ["is-erase-bkg==true"]
|
||||||
},
|
},
|
||||||
"sharpen": {
|
"sharpen": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -248,10 +248,10 @@
|
||||||
"depend_and": ["is-multiout!=true", "mode!=黑白", "!=颜色自动识别"]
|
"depend_and": ["is-multiout!=true", "mode!=黑白", "!=颜色自动识别"]
|
||||||
},
|
},
|
||||||
"is-rid-morr": {
|
"is-rid-morr": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -265,10 +265,10 @@
|
||||||
"depend_and": ["is-multiout!=true", "mode!=黑白", "!=颜色自动识别"]
|
"depend_and": ["is-multiout!=true", "mode!=黑白", "!=颜色自动识别"]
|
||||||
},
|
},
|
||||||
"is-rid-grid": {
|
"is-rid-grid": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -282,10 +282,10 @@
|
||||||
"depend_and": ["is-multiout!=true", "mode!=黑白", "!=颜色自动识别"]
|
"depend_and": ["is-multiout!=true", "mode!=黑白", "!=颜色自动识别"]
|
||||||
},
|
},
|
||||||
"is-err-extension": {
|
"is-err-extension": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -299,10 +299,10 @@
|
||||||
"depend_or": ["mode==黑白"]
|
"depend_or": ["mode==黑白"]
|
||||||
},
|
},
|
||||||
"is-noise-optimize": {
|
"is-noise-optimize": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -316,10 +316,10 @@
|
||||||
"depend_or": ["mode==黑白"]
|
"depend_or": ["mode==黑白"]
|
||||||
},
|
},
|
||||||
"noise-size": {
|
"noise-size": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -338,10 +338,10 @@
|
||||||
"depend_or": ["is-noise-optimize==true"]
|
"depend_or": ["is-noise-optimize==true"]
|
||||||
},
|
},
|
||||||
"paper": {
|
"paper": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -355,10 +355,10 @@
|
||||||
"range": ["A3", "8开", "A4", "A4横向", "16开", "16开横向", "A5", "A5横向", "A6", "A6横向", "B4", "B5", "B5横向", "B6", "B6横向", "Letter", "Letter横向", "Double Letter", "LEGAL", "匹配原始尺寸", "最大扫描尺寸自动裁切", "最大扫描尺寸", "三联试卷"]
|
"range": ["A3", "8开", "A4", "A4横向", "16开", "16开横向", "A5", "A5横向", "A6", "A6横向", "B4", "B5", "B5横向", "B6", "B6横向", "Letter", "Letter横向", "Double Letter", "LEGAL", "匹配原始尺寸", "最大扫描尺寸自动裁切", "最大扫描尺寸", "三联试卷"]
|
||||||
},
|
},
|
||||||
"is-custom-area": {
|
"is-custom-area": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -372,10 +372,10 @@
|
||||||
"depend_and": ["paper!=匹配原始尺寸", "!=三联试卷", "!=最大扫描尺寸", "!=最大扫描尺寸自动裁切"]
|
"depend_and": ["paper!=匹配原始尺寸", "!=三联试卷", "!=最大扫描尺寸", "!=最大扫描尺寸自动裁切"]
|
||||||
},
|
},
|
||||||
"tl-x": {
|
"tl-x": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -394,10 +394,10 @@
|
||||||
"depend_and": ["is-custom-area==true"]
|
"depend_and": ["is-custom-area==true"]
|
||||||
},
|
},
|
||||||
"br-x": {
|
"br-x": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -416,10 +416,10 @@
|
||||||
"depend_and": ["is-custom-area==true"]
|
"depend_and": ["is-custom-area==true"]
|
||||||
},
|
},
|
||||||
"tl-y": {
|
"tl-y": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -438,10 +438,10 @@
|
||||||
"depend_and": ["is-custom-area==true"]
|
"depend_and": ["is-custom-area==true"]
|
||||||
},
|
},
|
||||||
"br-y": {
|
"br-y": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -460,10 +460,10 @@
|
||||||
"depend_and": ["is-custom-area==true"]
|
"depend_and": ["is-custom-area==true"]
|
||||||
},
|
},
|
||||||
"is-size-check": {
|
"is-size-check": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -477,10 +477,10 @@
|
||||||
"depend_or": ["paper==A3", "==A4", "==A4横向", "==A5", "==A5横向", "==A6", "==A6横向", "==B4", "==B5", "==B5横向", "==B6", "==B6横向", "==Double Letter", "==LEGAL", "==Letter", "==Letter横向"]
|
"depend_or": ["paper==A3", "==A4", "==A4横向", "==A5", "==A5横向", "==A6", "==A6横向", "==B4", "==B5", "==B5横向", "==B6", "==B6横向", "==Double Letter", "==LEGAL", "==Letter", "==Letter横向"]
|
||||||
},
|
},
|
||||||
"page": {
|
"page": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -494,10 +494,10 @@
|
||||||
"range": ["单面", "双面", "跳过空白页(通用)", "跳过空白页(发票纸)", "对折"]
|
"range": ["单面", "双面", "跳过空白页(通用)", "跳过空白页(发票纸)", "对折"]
|
||||||
},
|
},
|
||||||
"blank-sensitivity": {
|
"blank-sensitivity": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -516,10 +516,10 @@
|
||||||
"depend_or": ["page==跳过空白页(通用)", "==跳过空白页(发票纸)"]
|
"depend_or": ["page==跳过空白页(通用)", "==跳过空白页(发票纸)"]
|
||||||
},
|
},
|
||||||
"fold-type": {
|
"fold-type": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -534,10 +534,10 @@
|
||||||
"depend_or": ["page==对折"]
|
"depend_or": ["page==对折"]
|
||||||
},
|
},
|
||||||
"resolution": {
|
"resolution": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -555,10 +555,10 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"image-quality": {
|
"image-quality": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -573,10 +573,10 @@
|
||||||
"depend_or": ["resolution>=300"]
|
"depend_or": ["resolution>=300"]
|
||||||
},
|
},
|
||||||
"is-exchange": {
|
"is-exchange": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "base",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -590,22 +590,22 @@
|
||||||
"depend_and": ["page!=单面"]
|
"depend_and": ["page!=单面"]
|
||||||
},
|
},
|
||||||
"grp-2": {
|
"grp-2": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"title": "亮度",
|
"title": "亮度",
|
||||||
"type": "group",
|
"type": "group",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "light",
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"unit": "None"
|
"unit": "None"
|
||||||
},
|
},
|
||||||
"is-custom-gamma": {
|
"is-custom-gamma": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "light",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -618,10 +618,10 @@
|
||||||
"size": 4
|
"size": 4
|
||||||
},
|
},
|
||||||
"brightness": {
|
"brightness": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "light",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -640,10 +640,10 @@
|
||||||
"depend_and": ["is-custom-gamma==false"]
|
"depend_and": ["is-custom-gamma==false"]
|
||||||
},
|
},
|
||||||
"contrast": {
|
"contrast": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "light",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -662,10 +662,10 @@
|
||||||
"depend_and": ["is-custom-gamma==false"]
|
"depend_and": ["is-custom-gamma==false"]
|
||||||
},
|
},
|
||||||
"gamma": {
|
"gamma": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "light",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -684,22 +684,22 @@
|
||||||
"depend_and": ["is-custom-gamma==false"]
|
"depend_and": ["is-custom-gamma==false"]
|
||||||
},
|
},
|
||||||
"grp-3": {
|
"grp-3": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"title": "图像处理",
|
"title": "图像处理",
|
||||||
"type": "group",
|
"type": "group",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "imgproc",
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"unit": "None"
|
"unit": "None"
|
||||||
},
|
},
|
||||||
"color-correction": {
|
"color-correction": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "imgproc",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -713,10 +713,10 @@
|
||||||
"depend_or": ["mode==24位彩色"]
|
"depend_or": ["mode==24位彩色"]
|
||||||
},
|
},
|
||||||
"is-anti-skew": {
|
"is-anti-skew": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "imgproc",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -730,10 +730,10 @@
|
||||||
"depend_or": ["page!=对折"]
|
"depend_or": ["page!=对折"]
|
||||||
},
|
},
|
||||||
"is-split": {
|
"is-split": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "imgproc",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -747,10 +747,10 @@
|
||||||
"depend_and": ["page!=对折", "!=跳过空白页(发票纸)", "!=跳过空白页(通用)"]
|
"depend_and": ["page!=对折", "!=跳过空白页(发票纸)", "!=跳过空白页(通用)"]
|
||||||
},
|
},
|
||||||
"is-erase-black-frame": {
|
"is-erase-black-frame": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "imgproc",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -763,10 +763,10 @@
|
||||||
"size": 4
|
"size": 4
|
||||||
},
|
},
|
||||||
"bkg-fill-mode": {
|
"bkg-fill-mode": {
|
||||||
"category": "advanced",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "imgproc",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -781,10 +781,10 @@
|
||||||
"depend_or": ["is-erase-black-frame==true"]
|
"depend_or": ["is-erase-black-frame==true"]
|
||||||
},
|
},
|
||||||
"is-fill-color": {
|
"is-fill-color": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "imgproc",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -798,10 +798,10 @@
|
||||||
"depend_and": ["is-erase-black-frame==true"]
|
"depend_and": ["is-erase-black-frame==true"]
|
||||||
},
|
},
|
||||||
"threshold": {
|
"threshold": {
|
||||||
"category": "advanced",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "imgproc",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -820,10 +820,10 @@
|
||||||
"depend_or": ["is-erase-black-frame==true", "paper==匹配原始尺寸", "==最大扫描尺寸", "==最大扫描尺寸自动裁切", "is-anti-skew==true"]
|
"depend_or": ["is-erase-black-frame==true", "paper==匹配原始尺寸", "==最大扫描尺寸", "==最大扫描尺寸自动裁切", "is-anti-skew==true"]
|
||||||
},
|
},
|
||||||
"anti-noise-level": {
|
"anti-noise-level": {
|
||||||
"category": "advanced",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "imgproc",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -842,10 +842,10 @@
|
||||||
"depend_or": ["is-erase-black-frame==true", "paper==匹配原始尺寸", "==最大扫描尺寸", "==最大扫描尺寸自动裁切", "is-anti-skew==true"]
|
"depend_or": ["is-erase-black-frame==true", "paper==匹配原始尺寸", "==最大扫描尺寸", "==最大扫描尺寸自动裁切", "is-anti-skew==true"]
|
||||||
},
|
},
|
||||||
"margin": {
|
"margin": {
|
||||||
"category": "advanced",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "imgproc",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -864,10 +864,10 @@
|
||||||
"depend_or": ["is-erase-black-frame==true", "paper==匹配原始尺寸", "==最大扫描尺寸自动裁切", "==最大扫描尺寸", "is-anti-skew==true"]
|
"depend_or": ["is-erase-black-frame==true", "paper==匹配原始尺寸", "==最大扫描尺寸自动裁切", "==最大扫描尺寸", "is-anti-skew==true"]
|
||||||
},
|
},
|
||||||
"is-dark-sample": {
|
"is-dark-sample": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "imgproc",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -881,10 +881,10 @@
|
||||||
"depend_and": ["page!=对折", "is-erase-black-frame!=true", "paper!=匹配原始尺寸", "!=最大扫描尺寸", "!=最大扫描尺寸自动裁切", "is-anti-skew!=true"]
|
"depend_and": ["page!=对折", "is-erase-black-frame!=true", "paper!=匹配原始尺寸", "!=最大扫描尺寸", "!=最大扫描尺寸自动裁切", "is-anti-skew!=true"]
|
||||||
},
|
},
|
||||||
"is-anti-permeate": {
|
"is-anti-permeate": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "imgproc",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -897,10 +897,10 @@
|
||||||
"size": 4
|
"size": 4
|
||||||
},
|
},
|
||||||
"permeate-level": {
|
"permeate-level": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "imgproc",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -915,10 +915,10 @@
|
||||||
"depend_or": ["is-anti-permeate==true"]
|
"depend_or": ["is-anti-permeate==true"]
|
||||||
},
|
},
|
||||||
"is-rid-hole-l": {
|
"is-rid-hole-l": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "imgproc",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -931,10 +931,10 @@
|
||||||
"size": 4
|
"size": 4
|
||||||
},
|
},
|
||||||
"search-hole-range-l": {
|
"search-hole-range-l": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "imgproc",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -949,10 +949,10 @@
|
||||||
"depend_and": ["is-rid-hole-l==true"]
|
"depend_and": ["is-rid-hole-l==true"]
|
||||||
},
|
},
|
||||||
"is-rid-hole-r": {
|
"is-rid-hole-r": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "imgproc",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -965,10 +965,10 @@
|
||||||
"size": 4
|
"size": 4
|
||||||
},
|
},
|
||||||
"search-hole-range-r": {
|
"search-hole-range-r": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "imgproc",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -983,10 +983,10 @@
|
||||||
"depend_and": ["is-rid-hole-r==true"]
|
"depend_and": ["is-rid-hole-r==true"]
|
||||||
},
|
},
|
||||||
"is-rid-hole-t": {
|
"is-rid-hole-t": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "imgproc",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -999,10 +999,10 @@
|
||||||
"size": 4
|
"size": 4
|
||||||
},
|
},
|
||||||
"search-hole-range-t": {
|
"search-hole-range-t": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "imgproc",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -1017,10 +1017,10 @@
|
||||||
"depend_and": ["is-rid-hole-t==true"]
|
"depend_and": ["is-rid-hole-t==true"]
|
||||||
},
|
},
|
||||||
"is-rid-hole-b": {
|
"is-rid-hole-b": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "imgproc",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -1033,10 +1033,10 @@
|
||||||
"size": 4
|
"size": 4
|
||||||
},
|
},
|
||||||
"search-hole-range-b": {
|
"search-hole-range-b": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "imgproc",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -1051,22 +1051,22 @@
|
||||||
"depend_and": ["is-rid-hole-b==true"]
|
"depend_and": ["is-rid-hole-b==true"]
|
||||||
},
|
},
|
||||||
"grp-4": {
|
"grp-4": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"title": "送纸方式设置",
|
"title": "送纸方式设置",
|
||||||
"type": "group",
|
"type": "group",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "feeder",
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"unit": "None"
|
"unit": "None"
|
||||||
},
|
},
|
||||||
"is-wait-scan": {
|
"is-wait-scan": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "feeder",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -1079,10 +1079,10 @@
|
||||||
"size": 4
|
"size": 4
|
||||||
},
|
},
|
||||||
"wait-scan-exit": {
|
"wait-scan-exit": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "feeder",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -1097,10 +1097,10 @@
|
||||||
"depend_or": ["is-wait-scan==true"]
|
"depend_or": ["is-wait-scan==true"]
|
||||||
},
|
},
|
||||||
"scan-mode": {
|
"scan-mode": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "feeder",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -1115,10 +1115,10 @@
|
||||||
"depend_and": ["is-wait-scan==false"]
|
"depend_and": ["is-wait-scan==false"]
|
||||||
},
|
},
|
||||||
"scan-count": {
|
"scan-count": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "feeder",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -1132,10 +1132,10 @@
|
||||||
"depend_and": ["is-wait-scan==false", "scan-mode==扫描指定张数"]
|
"depend_and": ["is-wait-scan==false", "scan-mode==扫描指定张数"]
|
||||||
},
|
},
|
||||||
"direction": {
|
"direction": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "feeder",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -1149,10 +1149,10 @@
|
||||||
"range": ["0°", "90°", "180°", "-90°", "自动文本方向识别°"]
|
"range": ["0°", "90°", "180°", "-90°", "自动文本方向识别°"]
|
||||||
},
|
},
|
||||||
"is-rotate-bkg-180": {
|
"is-rotate-bkg-180": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "feeder",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -1166,10 +1166,10 @@
|
||||||
"depend_and": ["page!=单面", "!=对折", "direction!=自动文本方向识别°"]
|
"depend_and": ["page!=单面", "!=对折", "direction!=自动文本方向识别°"]
|
||||||
},
|
},
|
||||||
"is-ultrosonic": {
|
"is-ultrosonic": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "feeder",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -1182,10 +1182,10 @@
|
||||||
"size": 4
|
"size": 4
|
||||||
},
|
},
|
||||||
"is-check-dog-ear": {
|
"is-check-dog-ear": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "feeder",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -1198,10 +1198,10 @@
|
||||||
"size": 4
|
"size": 4
|
||||||
},
|
},
|
||||||
"dog-ear-size": {
|
"dog-ear-size": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "feeder",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
@ -1220,10 +1220,10 @@
|
||||||
"depend_or": ["is-check-dog-ear==true"]
|
"depend_or": ["is-check-dog-ear==true"]
|
||||||
},
|
},
|
||||||
"time-to-sleep": {
|
"time-to-sleep": {
|
||||||
"category": "base",
|
"cat": "base",
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"affect-img": false,
|
"affect": 0,
|
||||||
"hwonly": false,
|
"group": "feeder",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"field": "Common",
|
"field": "Common",
|
||||||
"pos": 0,
|
"pos": 0,
|
||||||
|
|
Binary file not shown.
|
@ -85,6 +85,7 @@ void dlg_err_msg::init_error_items(void)
|
||||||
INSERT_ERROR_MSG(DEVICE_DISTORTION);
|
INSERT_ERROR_MSG(DEVICE_DISTORTION);
|
||||||
INSERT_ERROR_MSG(DEVICE_MAYBE_IS_HOLE);
|
INSERT_ERROR_MSG(DEVICE_MAYBE_IS_HOLE);
|
||||||
INSERT_ERROR_MSG(DEVICE_DEVS_BOOTING);
|
INSERT_ERROR_MSG(DEVICE_DEVS_BOOTING);
|
||||||
|
INSERT_ERROR_MSG(DEVICE_UNKNOWN_STATUS);
|
||||||
}
|
}
|
||||||
|
|
||||||
BOOL dlg_err_msg::handle_message(UINT msg, WPARAM wp, LPARAM lp)
|
BOOL dlg_err_msg::handle_message(UINT msg, WPARAM wp, LPARAM lp)
|
||||||
|
|
|
@ -74,15 +74,15 @@
|
||||||
<LinkIncremental>true</LinkIncremental>
|
<LinkIncremental>true</LinkIncremental>
|
||||||
<OutDir>$(ProjectDir)..\..\solution\$(Configuration)\</OutDir>
|
<OutDir>$(ProjectDir)..\..\solution\$(Configuration)\</OutDir>
|
||||||
<IntDir>$(OutDir)$(ProjectName)\</IntDir>
|
<IntDir>$(OutDir)$(ProjectName)\</IntDir>
|
||||||
<IncludePath>$(ProjectDir)..\..\..\sdk\include\;$(ProjectDir)..\sdk\include\</IncludePath>
|
<IncludePath>$(ProjectDir)..\..\..\..\sdk\include\;$(ProjectDir)..\..\sdk\include\</IncludePath>
|
||||||
<LibraryPath>$(ProjectDir)..\sdk\lib\$(Configuration)\;$(LibraryPath)</LibraryPath>
|
<LibraryPath>$(ProjectDir)..\..\sdk\lib\;$(LibraryPath)</LibraryPath>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
<LinkIncremental>false</LinkIncremental>
|
<LinkIncremental>false</LinkIncremental>
|
||||||
<OutDir>$(ProjectDir)..\..\solution\$(Configuration)\</OutDir>
|
<OutDir>$(ProjectDir)..\..\solution\$(Configuration)\</OutDir>
|
||||||
<IntDir>$(OutDir)$(ProjectName)\</IntDir>
|
<IntDir>$(OutDir)$(ProjectName)\</IntDir>
|
||||||
<IncludePath>$(ProjectDir)..\..\..\sdk\include\;$(ProjectDir)..\sdk\include\</IncludePath>
|
<IncludePath>$(ProjectDir)..\..\..\..\sdk\include\;$(ProjectDir)..\..\sdk\include\</IncludePath>
|
||||||
<LibraryPath>$(ProjectDir)..\sdk\lib\$(Configuration)\;$(LibraryPath)</LibraryPath>
|
<LibraryPath>$(ProjectDir)..\..\sdk\lib\;$(LibraryPath)</LibraryPath>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
<LinkIncremental>true</LinkIncremental>
|
<LinkIncremental>true</LinkIncremental>
|
||||||
|
|
|
@ -10,6 +10,7 @@
|
||||||
#include "hgjsonDlg.h"
|
#include "hgjsonDlg.h"
|
||||||
#include "CDlgLang.h"
|
#include "CDlgLang.h"
|
||||||
#include "DlgTwain.h"
|
#include "DlgTwain.h"
|
||||||
|
#include "DlgOptJson.h"
|
||||||
|
|
||||||
// CDlgMain 对话框
|
// CDlgMain 对话框
|
||||||
|
|
||||||
|
@ -56,6 +57,10 @@ BOOL CDlgMain::OnInitDialog()
|
||||||
page->Create(CDlgTwain::IDD, this);
|
page->Create(CDlgTwain::IDD, this);
|
||||||
insert_page(page, L"TWAIN");
|
insert_page(page, L"TWAIN");
|
||||||
|
|
||||||
|
page = new CDlgOptJson(this);
|
||||||
|
page->Create(CDlgOptJson::IDD, this);
|
||||||
|
insert_page(page, L"Opt-JSON");
|
||||||
|
|
||||||
tab_.SetCurSel(0);
|
tab_.SetCurSel(0);
|
||||||
OnTcnSelchangeTab1(NULL, &lret);
|
OnTcnSelchangeTab1(NULL, &lret);
|
||||||
|
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,203 @@
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
|
||||||
|
// CDlgInput dialog
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
|
||||||
|
#include <utility/known_file.h>
|
||||||
|
#include <coding/coding.h>
|
||||||
|
#include <file/file_util.h>
|
||||||
|
#include <sane/sane_ex.h>
|
||||||
|
|
||||||
|
#include "hex_edit.h"
|
||||||
|
|
||||||
|
namespace coding
|
||||||
|
{
|
||||||
|
typedef struct _clp_d
|
||||||
|
{
|
||||||
|
bool file;
|
||||||
|
std::wstring cont;
|
||||||
|
}CLPD, * LPCLPD;
|
||||||
|
|
||||||
|
INTER_MODULE_CALLBACK(get_string);
|
||||||
|
INTER_MODULE_CALLBACK(get_wstring);
|
||||||
|
INTER_MODULE_CALLBACK(get_clipboard_content);
|
||||||
|
std::wstring name_from_depend_exp(const std::wstring& depend_exp);
|
||||||
|
};
|
||||||
|
|
||||||
|
// Group: 基本设置;图像处理;送纸方式;高级设置;
|
||||||
|
//
|
||||||
|
// Cat: 图像处理;
|
||||||
|
//
|
||||||
|
|
||||||
|
class CDlgOptJson : public CDialogEx
|
||||||
|
{
|
||||||
|
DECLARE_DYNAMIC(CDlgOptJson)
|
||||||
|
|
||||||
|
CComboBox group_;
|
||||||
|
CComboBox cat_;
|
||||||
|
CComboBox affect_;
|
||||||
|
CComboBox unit_;
|
||||||
|
CComboBox type_;
|
||||||
|
CComboBox range_;
|
||||||
|
CComboBox def_val_;
|
||||||
|
CComboBox depend_;
|
||||||
|
CComboBox parent_;
|
||||||
|
CComboBox logic_;
|
||||||
|
CComboBox lower_;
|
||||||
|
CComboBox upper_;
|
||||||
|
CComboBox export_type_;
|
||||||
|
CListBox depends_;
|
||||||
|
CTreeCtrl tree_;
|
||||||
|
CMenu tree_menu_;
|
||||||
|
CImageList tree_img_;
|
||||||
|
|
||||||
|
hex_edit fix_id_edit_;
|
||||||
|
|
||||||
|
std::wstring get_item_text(UINT id);
|
||||||
|
bool is_button_check(UINT id);
|
||||||
|
void set_button_check(UINT id, bool check);
|
||||||
|
|
||||||
|
public:
|
||||||
|
CDlgOptJson(CWnd* pParent = NULL); // standard constructor
|
||||||
|
virtual ~CDlgOptJson();
|
||||||
|
|
||||||
|
// Dialog Data
|
||||||
|
enum { IDD = IDD_NEW_JSON };
|
||||||
|
|
||||||
|
typedef struct _sane_opt_json
|
||||||
|
{
|
||||||
|
std::wstring name;
|
||||||
|
std::wstring title;
|
||||||
|
std::wstring desc;
|
||||||
|
std::wstring group;
|
||||||
|
std::wstring category;
|
||||||
|
std::wstring affect;
|
||||||
|
std::wstring unit;
|
||||||
|
std::wstring type;
|
||||||
|
std::string def_val;
|
||||||
|
std::wstring range_type;
|
||||||
|
std::vector<std::string> range;
|
||||||
|
std::wstring depend_oper;
|
||||||
|
std::vector<std::wstring> depends;
|
||||||
|
|
||||||
|
int ver;
|
||||||
|
int pos;
|
||||||
|
int fix_id;
|
||||||
|
bool readonly;
|
||||||
|
bool open;
|
||||||
|
bool enable;
|
||||||
|
|
||||||
|
struct _sane_opt_json()
|
||||||
|
{
|
||||||
|
init(this);
|
||||||
|
}
|
||||||
|
struct _sane_opt_json(known_file_util::IJsonW* jsn)
|
||||||
|
{
|
||||||
|
if (!from_json(jsn))
|
||||||
|
{
|
||||||
|
init(this);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
static void init(struct _sane_opt_json* opt)
|
||||||
|
{
|
||||||
|
opt->name = opt->title = opt->desc = L"";
|
||||||
|
opt->group = L"\u57FA\u672C\u8BBE\u7F6E";
|
||||||
|
opt->category = opt->unit = opt->affect = opt->depend_oper = opt->range_type = L"none";
|
||||||
|
opt->range.clear();
|
||||||
|
opt->depends.clear();
|
||||||
|
|
||||||
|
opt->def_val = "";
|
||||||
|
opt->type = L"int";
|
||||||
|
opt->ver = 1;
|
||||||
|
opt->fix_id = 0;
|
||||||
|
opt->pos = -1;
|
||||||
|
opt->readonly = false;
|
||||||
|
opt->open = true;
|
||||||
|
opt->enable = true;
|
||||||
|
}
|
||||||
|
static void affect_str(int& val, std::wstring& str, bool to_str)
|
||||||
|
{
|
||||||
|
static std::wstring affect_desc[] = { L"none", L"其它属性", L"图像参数", L"属性+参数" };
|
||||||
|
|
||||||
|
if (to_str)
|
||||||
|
{
|
||||||
|
int ind = val >> 1;
|
||||||
|
if (ind >= 0 && ind < _countof(affect_desc))
|
||||||
|
str = affect_desc[ind];
|
||||||
|
else
|
||||||
|
str = affect_desc[0];
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
val = 0;
|
||||||
|
for (int i = 0; i < _countof(affect_desc); ++i)
|
||||||
|
{
|
||||||
|
if (str == affect_desc[i])
|
||||||
|
val = i << 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
static bool compare_name(const struct _sane_opt_json& l, const struct _sane_opt_json& r)
|
||||||
|
{
|
||||||
|
return l.name < r.name;
|
||||||
|
}
|
||||||
|
static bool compare_title(const struct _sane_opt_json& l, const struct _sane_opt_json& r)
|
||||||
|
{
|
||||||
|
return l.title < r.title;
|
||||||
|
}
|
||||||
|
static bool compare_group(const struct _sane_opt_json& l, const struct _sane_opt_json& r)
|
||||||
|
{
|
||||||
|
return l.group < r.group;
|
||||||
|
}
|
||||||
|
static bool compare_position(const struct _sane_opt_json& l, const struct _sane_opt_json& r)
|
||||||
|
{
|
||||||
|
return l.pos < r.pos;
|
||||||
|
}
|
||||||
|
|
||||||
|
known_file_util::IJsonW* to_json(void);
|
||||||
|
bool from_json(known_file_util::IJsonW* jsn);
|
||||||
|
}SANEOPT;
|
||||||
|
std::vector<SANEOPT> opts_;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
||||||
|
virtual BOOL OnInitDialog();
|
||||||
|
|
||||||
|
void from_ui(SANEOPT& sop);
|
||||||
|
void to_ui(const SANEOPT& sop);
|
||||||
|
HTREEITEM insert_new_item(const SANEOPT& opt, bool sel = true);
|
||||||
|
void delete_from_tree(const wchar_t* name = NULL);
|
||||||
|
HTREEITEM modify_tree_title(const wchar_t* name, const wchar_t* title);
|
||||||
|
|
||||||
|
bool load_from_file(const wchar_t* path_file);
|
||||||
|
bool load_from_json_text(const wchar_t* txt, std::wstring* err_msg = NULL);
|
||||||
|
|
||||||
|
DECLARE_MESSAGE_MAP()
|
||||||
|
public:
|
||||||
|
afx_msg void OnCbnDataTypeSelchange();
|
||||||
|
afx_msg void OnCbnRangeSelchange();
|
||||||
|
afx_msg void OnCbnDependSelchange();
|
||||||
|
afx_msg void OnCbnParentSelchange();
|
||||||
|
afx_msg void OnCbnLogicSelchange();
|
||||||
|
afx_msg void OnCbnSelchange();
|
||||||
|
afx_msg void OnPaste();
|
||||||
|
afx_msg void OnBnClickedButtonModify();
|
||||||
|
afx_msg void OnBnClickedButtonAdd();
|
||||||
|
afx_msg void OnTvnSelchangedTree2(NMHDR* pNMHDR, LRESULT* pResult);
|
||||||
|
afx_msg void OnNMRClickTree2(NMHDR* pNMHDR, LRESULT* pResult);
|
||||||
|
afx_msg void OnTvnSelchangingTree2(NMHDR* pNMHDR, LRESULT* pResult);
|
||||||
|
afx_msg void OnTreeLoadfile();
|
||||||
|
afx_msg void OnTreeLoadclipboard();
|
||||||
|
afx_msg void OnLbnDblclkListDepend();
|
||||||
|
afx_msg void OnBnClickedButtonSet();
|
||||||
|
afx_msg void OnTreeDelitem();
|
||||||
|
afx_msg void OnBnClickedButtonExport();
|
||||||
|
afx_msg void OnTreeModifyallfield();
|
||||||
|
afx_msg void OnSortName();
|
||||||
|
afx_msg void OnSortTitle();
|
||||||
|
afx_msg void OnSortGroup();
|
||||||
|
afx_msg void OnSortPosition();
|
||||||
|
};
|
|
@ -0,0 +1,263 @@
|
||||||
|
// DlgRange.cpp: 实现文件
|
||||||
|
//
|
||||||
|
|
||||||
|
#include "stdafx.h"
|
||||||
|
#include "hgjson.h"
|
||||||
|
#include "DlgRange.h"
|
||||||
|
#include "afxdialogex.h"
|
||||||
|
|
||||||
|
#include "resource.h"
|
||||||
|
|
||||||
|
// CDlgRange 对话框
|
||||||
|
|
||||||
|
IMPLEMENT_DYNAMIC(CDlgRange, CDialogEx)
|
||||||
|
|
||||||
|
CDlgRange::CDlgRange(int type, CWnd* pParent /*=nullptr*/)
|
||||||
|
: CDialogEx(IDD_RANGE, pParent)
|
||||||
|
, type_(type)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
CDlgRange::~CDlgRange()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
std::wstring CDlgRange::get_item_text(UINT id)
|
||||||
|
{
|
||||||
|
int l = GetDlgItem(id)->GetWindowTextLengthW();
|
||||||
|
wchar_t* buf = new wchar_t[l + 4];
|
||||||
|
|
||||||
|
l = GetDlgItem(id)->GetWindowTextW(buf, l + 2);
|
||||||
|
buf[l] = 0;
|
||||||
|
|
||||||
|
std::wstring ret(buf);
|
||||||
|
|
||||||
|
delete[] buf;
|
||||||
|
|
||||||
|
return std::move(ret);
|
||||||
|
}
|
||||||
|
|
||||||
|
void CDlgRange::DoDataExchange(CDataExchange* pDX)
|
||||||
|
{
|
||||||
|
CDialogEx::DoDataExchange(pDX);
|
||||||
|
DDX_Control(pDX, IDC_LIST1, list_);
|
||||||
|
DDX_Control(pDX, IDC_COMBO_VAL, val_);
|
||||||
|
}
|
||||||
|
|
||||||
|
BOOL CDlgRange::OnInitDialog()
|
||||||
|
{
|
||||||
|
CDialogEx::OnInitDialog();
|
||||||
|
|
||||||
|
// Set the icon for this dialog. The framework does this automatically
|
||||||
|
// when the application's main window is not a dialog
|
||||||
|
list_.SetExtendedStyle(list_.GetExtendedStyle() | LVS_EX_FULLROWSELECT | LVS_EX_GRIDLINES | LVS_EX_INFOTIP);
|
||||||
|
list_.InsertColumn(0, TEXT("Value lists"), 0, 177);
|
||||||
|
list_.InsertColumn(1, TEXT("Default"), 0, 48);
|
||||||
|
|
||||||
|
GetDlgItem(IDC_EDIT_VAL)->EnableWindow(type_ == TYPE_LIST);
|
||||||
|
list_.EnableWindow(type_ == TYPE_LIST);
|
||||||
|
GetDlgItem(IDC_BUTTON_ADD)->EnableWindow(type_ == TYPE_LIST);
|
||||||
|
|
||||||
|
GetDlgItem(IDC_EDIT_FROM)->EnableWindow(type_ == TYPE_RANGE);
|
||||||
|
GetDlgItem(IDC_EDIT_TO)->EnableWindow(type_ == TYPE_RANGE);
|
||||||
|
GetDlgItem(IDC_EDIT_STEP)->EnableWindow(type_ == TYPE_RANGE);
|
||||||
|
GetDlgItem(IDC_EDIT_INIT2)->EnableWindow(type_ == TYPE_RANGE);
|
||||||
|
|
||||||
|
GetDlgItem(IDC_COMBO_FIELD)->EnableWindow(type_ == TYPE_FIELDS);
|
||||||
|
val_.EnableWindow(type_ == TYPE_FIELDS);
|
||||||
|
|
||||||
|
if (type_ == TYPE_LIST)
|
||||||
|
{
|
||||||
|
for (auto& v: vals_)
|
||||||
|
{
|
||||||
|
int ind = list_.InsertItem(list_.GetItemCount(), v.c_str());
|
||||||
|
if (v == init_)
|
||||||
|
list_.SetItemText(ind, 1, L"yes");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else if(type_ == TYPE_RANGE && vals_.size() == 3)
|
||||||
|
{
|
||||||
|
SetDlgItemTextW(IDC_EDIT_FROM, vals_[0].c_str());
|
||||||
|
SetDlgItemTextW(IDC_EDIT_TO, vals_[1].c_str());
|
||||||
|
SetDlgItemTextW(IDC_EDIT_STEP, vals_[2].c_str());
|
||||||
|
|
||||||
|
SetDlgItemTextW(IDC_EDIT_INIT2, init_.c_str());
|
||||||
|
}
|
||||||
|
else if (type_ == TYPE_FIELDS)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
return TRUE; // return TRUE unless you set the focus to a control
|
||||||
|
}
|
||||||
|
|
||||||
|
BEGIN_MESSAGE_MAP(CDlgRange, CDialogEx)
|
||||||
|
ON_BN_CLICKED(IDC_BUTTON_ADD, &CDlgRange::OnBnClickedButton1)
|
||||||
|
ON_BN_CLICKED(IDOK, &CDlgRange::OnBnClickedOk)
|
||||||
|
ON_NOTIFY(NM_DBLCLK, IDC_LIST1, &CDlgRange::OnNMDblclkList1)
|
||||||
|
ON_CBN_SELCHANGE(IDC_COMBO_FIELD, &CDlgRange::OnCbnSelchangeComboField)
|
||||||
|
END_MESSAGE_MAP()
|
||||||
|
|
||||||
|
|
||||||
|
// CDlgRange 消息处理程序
|
||||||
|
|
||||||
|
|
||||||
|
void CDlgRange::OnBnClickedButton1()
|
||||||
|
{
|
||||||
|
// TODO: 在此添加控件通知处理程序代码
|
||||||
|
std::wstring val(get_item_text(IDC_EDIT_VAL));
|
||||||
|
int ind = -1;
|
||||||
|
|
||||||
|
if (val.empty())
|
||||||
|
{
|
||||||
|
MessageBox(TEXT("NO Input!"));
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
for (int i = 0; i < list_.GetItemCount(); ++i)
|
||||||
|
{
|
||||||
|
wchar_t buf[25] = { 0 };
|
||||||
|
list_.GetItemText(i, 0, buf, _countof(buf) - 1);
|
||||||
|
if (val == buf)
|
||||||
|
{
|
||||||
|
list_.SetItemState(i, LVIS_FOCUSED | LVIS_SELECTED | LVIS_ACTIVATING, LVIS_FOCUSED | LVIS_SELECTED | LVIS_ACTIVATING);
|
||||||
|
list_.SetSelectionMark(i);
|
||||||
|
ind = i;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if(ind == -1)
|
||||||
|
ind = list_.InsertItem(list_.GetItemCount(), val.c_str());
|
||||||
|
|
||||||
|
list_.SetItemState(ind, LVIS_FOCUSED | LVIS_SELECTED, LVIS_FOCUSED | LVIS_SELECTED);
|
||||||
|
list_.SetSelectionMark(ind);
|
||||||
|
list_.EnsureVisible(ind, FALSE);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void CDlgRange::OnBnClickedOk()
|
||||||
|
{
|
||||||
|
// TODO: 在此添加控件通知处理程序代码
|
||||||
|
vals_.clear();
|
||||||
|
if (type_ == TYPE_LIST)
|
||||||
|
{
|
||||||
|
if (init_.empty())
|
||||||
|
{
|
||||||
|
MessageBox(TEXT("请确定默认值!双击列表中的某项进行选择。 "), TEXT("No Default"), MB_OK);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if(list_.GetItemCount() == 0)
|
||||||
|
{
|
||||||
|
MessageBox(TEXT("没有输入有效的值列表"), TEXT("No Value"), MB_OK);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
for (int i = 0; i < list_.GetItemCount(); ++i)
|
||||||
|
{
|
||||||
|
wchar_t buf[256] = { 0 };
|
||||||
|
list_.GetItemText(i, 0, buf, _countof(buf) - 1);
|
||||||
|
vals_.push_back(buf);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else if(type_ == TYPE_RANGE)
|
||||||
|
{
|
||||||
|
std::wstring val(get_item_text(IDC_EDIT_FROM));
|
||||||
|
|
||||||
|
if (val.empty())
|
||||||
|
{
|
||||||
|
MessageBox(TEXT("没有输入有效初始值"), TEXT("No Value"), MB_OK);
|
||||||
|
GotoDlgCtrl(GetDlgItem(IDC_EDIT_FROM));
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
vals_.push_back(val);
|
||||||
|
|
||||||
|
val = get_item_text(IDC_EDIT_TO);
|
||||||
|
if (val.empty())
|
||||||
|
{
|
||||||
|
MessageBox(TEXT("没有输入有效终止值"), TEXT("No Value"), MB_OK);
|
||||||
|
GotoDlgCtrl(GetDlgItem(IDC_EDIT_TO));
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
vals_.push_back(val);
|
||||||
|
|
||||||
|
val = get_item_text(IDC_EDIT_STEP);
|
||||||
|
if (val.empty())
|
||||||
|
{
|
||||||
|
MessageBox(TEXT("没有输入有效步长值"), TEXT("No Value"), MB_OK);
|
||||||
|
GotoDlgCtrl(GetDlgItem(IDC_EDIT_TO));
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
vals_.push_back(val);
|
||||||
|
|
||||||
|
init_ = get_item_text(IDC_EDIT_INIT2);
|
||||||
|
if (init_.empty())
|
||||||
|
{
|
||||||
|
MessageBox(TEXT("没有输入有效默认值"), TEXT("No Value"), MB_OK);
|
||||||
|
GotoDlgCtrl(GetDlgItem(IDC_EDIT_INIT2));
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else if (type_ == TYPE_FIELDS)
|
||||||
|
{
|
||||||
|
std::wstring field(get_item_text(IDC_COMBO_FIELD));
|
||||||
|
|
||||||
|
vals_.clear();
|
||||||
|
vals_.push_back(field);
|
||||||
|
|
||||||
|
init_ = get_item_text(IDC_COMBO_VAL);
|
||||||
|
if (init_.empty())
|
||||||
|
{
|
||||||
|
MessageBox(TEXT("没有输入有效值"), TEXT("No Value"), MB_OK);
|
||||||
|
GotoDlgCtrl(GetDlgItem(IDC_COMBO_VAL));
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
CDialogEx::OnOK();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void CDlgRange::OnNMDblclkList1(NMHDR* pNMHDR, LRESULT* pResult)
|
||||||
|
{
|
||||||
|
LPNMITEMACTIVATE pNMItemActivate = reinterpret_cast<LPNMITEMACTIVATE>(pNMHDR);
|
||||||
|
// TODO: 在此添加控件通知处理程序代码
|
||||||
|
*pResult = 0;
|
||||||
|
|
||||||
|
|
||||||
|
POINT pos = { 0 };
|
||||||
|
int item = -1;
|
||||||
|
|
||||||
|
GetCursorPos(&pos);
|
||||||
|
list_.ScreenToClient(&pos);
|
||||||
|
item = list_.HitTest(pos);
|
||||||
|
if (item != -1)
|
||||||
|
{
|
||||||
|
wchar_t buf[256] = { 0 };
|
||||||
|
int ret = 0;
|
||||||
|
|
||||||
|
list_.GetItemText(item, 0, buf, _countof(buf) - 1);
|
||||||
|
ret = ::MessageBoxW(m_hWnd, L"是否将该项设置为默认值?\r\nYes: 是\r\nNo: 删除该项\r\nCancel: 放弃操作", buf, MB_YESNOCANCEL);
|
||||||
|
if (ret == IDYES)
|
||||||
|
{
|
||||||
|
init_ = buf;
|
||||||
|
for (int i = 0; i < list_.GetItemCount(); ++i)
|
||||||
|
{
|
||||||
|
list_.SetItemText(i, 1, i == item ? L"yes" : L"");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else if (ret == IDNO)
|
||||||
|
{
|
||||||
|
list_.DeleteItem(item);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void CDlgRange::OnCbnSelchangeComboField()
|
||||||
|
{
|
||||||
|
// TODO: 在此添加控件通知处理程序代码
|
||||||
|
std::wstring field(get_item_text(IDC_COMBO_FIELD));
|
||||||
|
|
||||||
|
init_val_api_(field.c_str(), &val_);
|
||||||
|
}
|
|
@ -0,0 +1,52 @@
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
|
||||||
|
// CDlgRange 对话框
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <functional>
|
||||||
|
|
||||||
|
#define INIT_VAL_API_PROTO std::function<void(const wchar_t*, CComboBox*)>
|
||||||
|
|
||||||
|
class CDlgRange : public CDialogEx
|
||||||
|
{
|
||||||
|
DECLARE_DYNAMIC(CDlgRange)
|
||||||
|
|
||||||
|
INIT_VAL_API_PROTO init_val_api_;
|
||||||
|
|
||||||
|
std::wstring get_item_text(UINT id);
|
||||||
|
|
||||||
|
public:
|
||||||
|
CDlgRange(int type, CWnd* pParent = nullptr); // 标准构造函数
|
||||||
|
virtual ~CDlgRange();
|
||||||
|
|
||||||
|
// 对话框数据
|
||||||
|
#ifdef AFX_DESIGN_TIME
|
||||||
|
enum { IDD = IDD_RANGE };
|
||||||
|
#endif
|
||||||
|
|
||||||
|
protected:
|
||||||
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
|
||||||
|
virtual BOOL OnInitDialog();
|
||||||
|
|
||||||
|
DECLARE_MESSAGE_MAP()
|
||||||
|
public:
|
||||||
|
|
||||||
|
std::vector<std::wstring> vals_;
|
||||||
|
std::wstring init_;
|
||||||
|
|
||||||
|
enum {TYPE_RANGE, TYPE_LIST, TYPE_FIELDS};
|
||||||
|
int type_; // 0 - range; 1 - list; 2 - modify fields
|
||||||
|
|
||||||
|
void set_init_val_api(INIT_VAL_API_PROTO api)
|
||||||
|
{
|
||||||
|
init_val_api_ = api;
|
||||||
|
}
|
||||||
|
|
||||||
|
afx_msg void OnBnClickedButton1();
|
||||||
|
CListCtrl list_;
|
||||||
|
afx_msg void OnBnClickedOk();
|
||||||
|
afx_msg void OnNMDblclkList1(NMHDR* pNMHDR, LRESULT* pResult);
|
||||||
|
CComboBox val_;
|
||||||
|
afx_msg void OnCbnSelchangeComboField();
|
||||||
|
};
|
|
@ -0,0 +1,180 @@
|
||||||
|
|
||||||
|
// hex_edit.cpp : Defines the class behaviors for the application.
|
||||||
|
//
|
||||||
|
|
||||||
|
#include "stdafx.h"
|
||||||
|
#include "hex_edit.h"
|
||||||
|
#include <file/file_util.h>
|
||||||
|
|
||||||
|
#ifdef _DEBUG
|
||||||
|
#define new DEBUG_NEW
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
// hex_edit
|
||||||
|
std::wstring hex_edit::fn_prop_key = L"hex-edit-proc";
|
||||||
|
std::wstring hex_edit::obj_prop_key = L"hex-edit-object";
|
||||||
|
const wchar_t* hex_edit::hex_z = L"£°£±£²£³£´£µ£¶£·£¸£¹£Á£Â£Ã£Ä£Å£Æ";
|
||||||
|
const wchar_t* hex_edit::hex_e = L"0123456789ABCDEF";
|
||||||
|
|
||||||
|
hex_edit::hex_edit() : hwnd_(NULL), hz_(false)
|
||||||
|
{}
|
||||||
|
hex_edit::~hex_edit()
|
||||||
|
{
|
||||||
|
clear();
|
||||||
|
}
|
||||||
|
|
||||||
|
LRESULT __stdcall hex_edit::hex_edit_proc(HWND hwnd, UINT msg, WPARAM wp, LPARAM lp)
|
||||||
|
{
|
||||||
|
wchar_t now[40] = { 0 };
|
||||||
|
int len = 0, sel = 0, max_len = 4;
|
||||||
|
bool all_digit = true;
|
||||||
|
WNDPROC wndproc = (WNDPROC)GetPropW(hwnd, hex_edit::fn_prop_key.c_str());
|
||||||
|
hex_edit* obj = (hex_edit*)GetPropW(hwnd, hex_edit::obj_prop_key.c_str());
|
||||||
|
std::wstring buf(L"");
|
||||||
|
const wchar_t* hex = obj->hz_ ? hex_edit::hex_z : hex_edit::hex_e;
|
||||||
|
|
||||||
|
if (!wndproc)
|
||||||
|
wndproc = DefWindowProcW;
|
||||||
|
|
||||||
|
switch (msg)
|
||||||
|
{
|
||||||
|
case WM_CHAR:
|
||||||
|
GetWindowTextW(hwnd, now, _countof(now));
|
||||||
|
len = lstrlenW(now);
|
||||||
|
sel = SendMessage(hwnd, EM_GETSEL, 0, 0);
|
||||||
|
sel = ((sel >> 16) & 0x0ff) - (sel & 0x0ffff);
|
||||||
|
if (wp >= ' ' && len - sel >= max_len)
|
||||||
|
return 0;
|
||||||
|
if (wp >= '0' && wp <= '9')
|
||||||
|
wp = hex[wp - '0'];
|
||||||
|
else if (wp >= 'A' && wp <= 'F')
|
||||||
|
wp = hex[wp - 'A' + 10];
|
||||||
|
else if (wp >= 'a' && wp <= 'f')
|
||||||
|
wp = hex[wp - 'a' + 10];
|
||||||
|
else if (wp >= ' ')
|
||||||
|
return 0;
|
||||||
|
break;
|
||||||
|
case WM_COPY:
|
||||||
|
return 0;
|
||||||
|
case WM_PASTE:
|
||||||
|
{
|
||||||
|
size_t l = 0;
|
||||||
|
if (file_util::get_clipboard(NULL, &l, CF_UNICODETEXT) == ERROR_INSUFFICIENT_BUFFER)
|
||||||
|
{
|
||||||
|
buf.resize(l + 4);
|
||||||
|
l++;
|
||||||
|
if (file_util::get_clipboard(&buf[0], &l, CF_UNICODETEXT))
|
||||||
|
l = 0;
|
||||||
|
}
|
||||||
|
if (l == 0)
|
||||||
|
return 0;
|
||||||
|
lp = (LPARAM)&buf[0];
|
||||||
|
msg = WM_SETTEXT;
|
||||||
|
}
|
||||||
|
case WM_SETTEXT:
|
||||||
|
for (int i = 0; len < max_len + 1 && i < lstrlenW((wchar_t*)lp); ++i)
|
||||||
|
{
|
||||||
|
wchar_t ch = ((wchar_t*)lp)[i];
|
||||||
|
if (ch >= '0' && ch <= '9')
|
||||||
|
now[len++] = hex[ch - '0'];
|
||||||
|
else if (ch >= 'A' && ch <= 'F')
|
||||||
|
{
|
||||||
|
now[len++] = hex[ch - 'A' + 10];
|
||||||
|
all_digit = false;
|
||||||
|
}
|
||||||
|
else if (ch >= 'a' && ch <= 'f')
|
||||||
|
{
|
||||||
|
now[len++] = hex[ch - 'a' + 10];
|
||||||
|
all_digit = false;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
if (len == 0)
|
||||||
|
return 0;
|
||||||
|
if (/*len == max_len + 1 &&*/ all_digit)
|
||||||
|
{
|
||||||
|
sel = _wtoi(now);
|
||||||
|
//if (sel <= 0x0ffff)
|
||||||
|
{
|
||||||
|
now[max_len] = 0;
|
||||||
|
for (int l = max_len - 1; l >= 0; --l, sel >>= 4)
|
||||||
|
now[l] = hex[sel % 16];
|
||||||
|
}
|
||||||
|
//else
|
||||||
|
// now[max_len] = 0;
|
||||||
|
}
|
||||||
|
lp = (LPARAM)now;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
return wndproc(hwnd, msg, wp, lp);
|
||||||
|
}
|
||||||
|
|
||||||
|
HWND hex_edit::attach(HWND hwnd)
|
||||||
|
{
|
||||||
|
HWND old = hwnd_;
|
||||||
|
|
||||||
|
clear();
|
||||||
|
hwnd_ = hwnd;
|
||||||
|
if (IsWindow(hwnd_))
|
||||||
|
{
|
||||||
|
WNDPROC proc = (WNDPROC)GetWindowLong(hwnd_, GWL_WNDPROC);
|
||||||
|
SetPropW(hwnd_, hex_edit::obj_prop_key.c_str(), (HANDLE)this);
|
||||||
|
SetPropW(hwnd_, hex_edit::fn_prop_key.c_str(), (HANDLE)proc);
|
||||||
|
SetWindowLong(hwnd_, GWL_WNDPROC, (LONG)(FARPROC)hex_edit::hex_edit_proc);
|
||||||
|
}
|
||||||
|
|
||||||
|
return old;
|
||||||
|
}
|
||||||
|
void hex_edit::clear(void)
|
||||||
|
{
|
||||||
|
if (IsWindow(hwnd_))
|
||||||
|
{
|
||||||
|
WNDPROC proc = (WNDPROC)GetPropW(hwnd_, hex_edit::fn_prop_key.c_str());
|
||||||
|
SetWindowLong(hwnd_, GWL_WNDPROC, (LONG)(FARPROC)proc);
|
||||||
|
SetPropW(hwnd_, hex_edit::obj_prop_key.c_str(), NULL);
|
||||||
|
SetPropW(hwnd_, hex_edit::fn_prop_key.c_str(), NULL);
|
||||||
|
}
|
||||||
|
hwnd_ = NULL;
|
||||||
|
}
|
||||||
|
unsigned hex_edit::value(void)
|
||||||
|
{
|
||||||
|
unsigned v = 0;
|
||||||
|
|
||||||
|
if (IsWindow(hwnd_))
|
||||||
|
{
|
||||||
|
wchar_t buf[20] = { 0 };
|
||||||
|
GetWindowTextW(hwnd_, buf, _countof(buf) - 1);
|
||||||
|
for (int i = 0; i < _countof(buf) && buf[i]; ++i)
|
||||||
|
{
|
||||||
|
if (buf[i] >= L'0' && buf[i] <= L'9')
|
||||||
|
{
|
||||||
|
v <<= 4;
|
||||||
|
v += buf[i] - L'0';
|
||||||
|
}
|
||||||
|
else if (buf[i] >= L'A' && buf[i] <= L'F')
|
||||||
|
{
|
||||||
|
v <<= 4;
|
||||||
|
v += buf[i] - L'A' + 10;
|
||||||
|
}
|
||||||
|
else if (buf[i] >= L'a' && buf[i] <= L'f')
|
||||||
|
{
|
||||||
|
v <<= 4;
|
||||||
|
v += buf[i] - L'a' + 10;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return v;
|
||||||
|
}
|
||||||
|
void hex_edit::set_value(unsigned v)
|
||||||
|
{
|
||||||
|
if (IsWindow(hwnd_))
|
||||||
|
{
|
||||||
|
SetWindowTextW(hwnd_, std::to_wstring(v).c_str());
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,30 @@
|
||||||
|
|
||||||
|
// hex_edit.h : hex edit
|
||||||
|
//
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include <Windows.h>
|
||||||
|
#include <string>
|
||||||
|
|
||||||
|
class hex_edit
|
||||||
|
{
|
||||||
|
HWND hwnd_;
|
||||||
|
bool hz_;
|
||||||
|
|
||||||
|
static std::wstring fn_prop_key;
|
||||||
|
static std::wstring obj_prop_key;
|
||||||
|
static const wchar_t* hex_z;
|
||||||
|
static const wchar_t* hex_e;
|
||||||
|
static LRESULT __stdcall hex_edit_proc(HWND hwnd, UINT msg, WPARAM wp, LPARAM lp);
|
||||||
|
|
||||||
|
public:
|
||||||
|
hex_edit();
|
||||||
|
~hex_edit();
|
||||||
|
|
||||||
|
public:
|
||||||
|
HWND attach(HWND hwnd);
|
||||||
|
void clear(void);
|
||||||
|
unsigned value(void);
|
||||||
|
void set_value(unsigned v);
|
||||||
|
};
|
Binary file not shown.
|
@ -90,12 +90,15 @@
|
||||||
<PreprocessorDefinitions>WIN32;_WINDOWS;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>WIN32;_WINDOWS;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<SDLCheck>true</SDLCheck>
|
<SDLCheck>true</SDLCheck>
|
||||||
<DisableSpecificWarnings>4996</DisableSpecificWarnings>
|
<DisableSpecificWarnings>4996</DisableSpecificWarnings>
|
||||||
|
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<Link>
|
<Link>
|
||||||
<SubSystem>Windows</SubSystem>
|
<SubSystem>Windows</SubSystem>
|
||||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
<OptimizeReferences>true</OptimizeReferences>
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<IgnoreSpecificDefaultLibraries>
|
||||||
|
</IgnoreSpecificDefaultLibraries>
|
||||||
</Link>
|
</Link>
|
||||||
<Midl>
|
<Midl>
|
||||||
<MkTypLibCompatible>false</MkTypLibCompatible>
|
<MkTypLibCompatible>false</MkTypLibCompatible>
|
||||||
|
@ -117,7 +120,10 @@
|
||||||
<ClInclude Include="CDlgMain.h" />
|
<ClInclude Include="CDlgMain.h" />
|
||||||
<ClInclude Include="DlgAddWords.h" />
|
<ClInclude Include="DlgAddWords.h" />
|
||||||
<ClInclude Include="DlgInput.h" />
|
<ClInclude Include="DlgInput.h" />
|
||||||
|
<ClInclude Include="DlgOptJson.h" />
|
||||||
|
<ClInclude Include="DlgRange.h" />
|
||||||
<ClInclude Include="DlgTwain.h" />
|
<ClInclude Include="DlgTwain.h" />
|
||||||
|
<ClInclude Include="hex_edit.h" />
|
||||||
<ClInclude Include="hgjson.h" />
|
<ClInclude Include="hgjson.h" />
|
||||||
<ClInclude Include="hgjsonDlg.h" />
|
<ClInclude Include="hgjsonDlg.h" />
|
||||||
<ClInclude Include="Resource.h" />
|
<ClInclude Include="Resource.h" />
|
||||||
|
@ -133,7 +139,10 @@
|
||||||
<ClCompile Include="CDlgMain.cpp" />
|
<ClCompile Include="CDlgMain.cpp" />
|
||||||
<ClCompile Include="DlgAddWords.cpp" />
|
<ClCompile Include="DlgAddWords.cpp" />
|
||||||
<ClCompile Include="DlgInput.cpp" />
|
<ClCompile Include="DlgInput.cpp" />
|
||||||
|
<ClCompile Include="DlgOptJson.cpp" />
|
||||||
|
<ClCompile Include="DlgRange.cpp" />
|
||||||
<ClCompile Include="DlgTwain.cpp" />
|
<ClCompile Include="DlgTwain.cpp" />
|
||||||
|
<ClCompile Include="hex_edit.cpp" />
|
||||||
<ClCompile Include="hgjson.cpp" />
|
<ClCompile Include="hgjson.cpp" />
|
||||||
<ClCompile Include="hgjsonDlg.cpp" />
|
<ClCompile Include="hgjsonDlg.cpp" />
|
||||||
<ClCompile Include="stdafx.cpp">
|
<ClCompile Include="stdafx.cpp">
|
||||||
|
|
|
@ -51,6 +51,15 @@
|
||||||
<ClInclude Include="DlgAddWords.h">
|
<ClInclude Include="DlgAddWords.h">
|
||||||
<Filter>Header Files</Filter>
|
<Filter>Header Files</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
|
<ClInclude Include="DlgOptJson.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="DlgRange.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="hex_edit.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClCompile Include="hgjson.cpp">
|
<ClCompile Include="hgjson.cpp">
|
||||||
|
@ -80,6 +89,15 @@
|
||||||
<ClCompile Include="DlgAddWords.cpp">
|
<ClCompile Include="DlgAddWords.cpp">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
|
<ClCompile Include="DlgOptJson.cpp">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="DlgRange.cpp">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="hex_edit.cpp">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ResourceCompile Include="hgjson.rc">
|
<ResourceCompile Include="hgjson.rc">
|
||||||
|
|
|
@ -121,6 +121,30 @@ namespace coding
|
||||||
|
|
||||||
return inter_module_data::SET_RESULT_STOP;
|
return inter_module_data::SET_RESULT_STOP;
|
||||||
}
|
}
|
||||||
|
std::wstring name_from_depend_exp(const std::wstring& depend_exp)
|
||||||
|
{
|
||||||
|
std::wstring name(L"");
|
||||||
|
size_t pos = depend_exp.find(L"!");
|
||||||
|
|
||||||
|
if (pos == std::wstring::npos)
|
||||||
|
{
|
||||||
|
pos = depend_exp.find(L"<");
|
||||||
|
if (pos == std::wstring::npos)
|
||||||
|
{
|
||||||
|
pos = depend_exp.find(L">");
|
||||||
|
if (pos == std::wstring::npos)
|
||||||
|
{
|
||||||
|
pos = depend_exp.find(L"=");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (pos != std::wstring::npos)
|
||||||
|
{
|
||||||
|
name = depend_exp.substr(0, pos);
|
||||||
|
}
|
||||||
|
|
||||||
|
return std::move(name);
|
||||||
|
}
|
||||||
|
|
||||||
int string_need_bytes(const wchar_t* str)
|
int string_need_bytes(const wchar_t* str)
|
||||||
{
|
{
|
||||||
|
@ -165,6 +189,33 @@ namespace coding
|
||||||
|
|
||||||
return u;
|
return u;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Base;Light;ImageProcess;Feeder;
|
||||||
|
static const wchar_t* group_name_[] = {L"none", L"base", L"light", L"imgproc", L"feeder"};
|
||||||
|
const wchar_t* group_name(int ind)
|
||||||
|
{
|
||||||
|
if (ind >= 0 && ind < _countof(group_name_))
|
||||||
|
return group_name_[ind];
|
||||||
|
else
|
||||||
|
return group_name_[0];
|
||||||
|
}
|
||||||
|
int group_index(const wchar_t* name)
|
||||||
|
{
|
||||||
|
for (int i = 0; i < _countof(group_name_); ++i)
|
||||||
|
{
|
||||||
|
if (wcsicmp(name, group_name_[i]) == 0)
|
||||||
|
return i;
|
||||||
|
}
|
||||||
|
|
||||||
|
const wchar_t* hz_grp[] = { L"\u57FA\u672C\u8BBE\u7F6E", L"\u4EAE\u5EA6", L"\u56FE\u50CF\u5904\u7406", L"\u9001\u7EB8\u65B9\u5F0F\u8BBE\u7F6E" };
|
||||||
|
for (int i = 0; i < _countof(hz_grp); ++i)
|
||||||
|
{
|
||||||
|
if (wcsicmp(name, hz_grp[i]) == 0)
|
||||||
|
return i + 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
namespace hz_2_py
|
namespace hz_2_py
|
||||||
|
@ -5991,6 +6042,8 @@ void ChgjsonDlg::DoDataExchange(CDataExchange* pDX)
|
||||||
DDX_Control(pDX, IDC_COMBO_DEFAULT, combo_default_);
|
DDX_Control(pDX, IDC_COMBO_DEFAULT, combo_default_);
|
||||||
DDX_Control(pDX, IDC_COMBO5, field_);
|
DDX_Control(pDX, IDC_COMBO5, field_);
|
||||||
DDX_Control(pDX, IDC_COMBO6, unit_);
|
DDX_Control(pDX, IDC_COMBO6, unit_);
|
||||||
|
DDX_Control(pDX, IDC_COMBO7, group_);
|
||||||
|
DDX_Control(pDX, IDC_COMBO8, affect_);
|
||||||
}
|
}
|
||||||
|
|
||||||
BEGIN_MESSAGE_MAP(ChgjsonDlg, CDialogEx)
|
BEGIN_MESSAGE_MAP(ChgjsonDlg, CDialogEx)
|
||||||
|
@ -6373,12 +6426,14 @@ void ChgjsonDlg::set_control_status(const HGITEM& item)
|
||||||
|
|
||||||
((CButton*)GetDlgItem(IDC_CHECK_ADVANCED))->SetCheck(item.advanced ? BST_CHECKED : BST_UNCHECKED);
|
((CButton*)GetDlgItem(IDC_CHECK_ADVANCED))->SetCheck(item.advanced ? BST_CHECKED : BST_UNCHECKED);
|
||||||
((CButton*)GetDlgItem(IDC_CHECK_READONLY))->SetCheck(item.readonly ? BST_CHECKED : BST_UNCHECKED);
|
((CButton*)GetDlgItem(IDC_CHECK_READONLY))->SetCheck(item.readonly ? BST_CHECKED : BST_UNCHECKED);
|
||||||
((CButton*)GetDlgItem(IDC_CHECK_DEVICEONLY))->SetCheck(item.deviceonly ? BST_CHECKED : BST_UNCHECKED);
|
//((CButton*)GetDlgItem(IDC_CHECK_DEVICEONLY))->SetCheck(item.deviceonly ? BST_CHECKED : BST_UNCHECKED);
|
||||||
((CButton*)GetDlgItem(IDC_CHECK_VISIBLE))->SetCheck(item.visible ? BST_CHECKED : BST_UNCHECKED);
|
((CButton*)GetDlgItem(IDC_CHECK_VISIBLE))->SetCheck(item.visible ? BST_CHECKED : BST_UNCHECKED);
|
||||||
|
|
||||||
SetDlgItemInt(IDC_EDIT_POS, item.position);
|
SetDlgItemInt(IDC_EDIT_POS, item.position);
|
||||||
field_.SetCurSel(item.field);
|
field_.SetCurSel(item.field);
|
||||||
unit_.SetCurSel(item.unit);
|
unit_.SetCurSel(item.unit);
|
||||||
|
group_.SetCurSel(coding::group_index(item.group.c_str()));
|
||||||
|
affect_.SetCurSel(item.affect >> 1);
|
||||||
|
|
||||||
// value ...
|
// value ...
|
||||||
GetDlgItem(IDC_STATIC_FROM)->ShowWindow(SW_HIDE);
|
GetDlgItem(IDC_STATIC_FROM)->ShowWindow(SW_HIDE);
|
||||||
|
@ -6495,10 +6550,11 @@ void* ChgjsonDlg::create_json(int item, std::vector<DEFH>* def_h, std::wstring*
|
||||||
int prefer_size = 0;
|
int prefer_size = 0;
|
||||||
const char* opt_name = title_to_name(hg_items_[item].title);
|
const char* opt_name = title_to_name(hg_items_[item].title);
|
||||||
|
|
||||||
jsn->set_value(L"category", hg_items_[item].advanced ? L"advanced" : L"base");
|
jsn->set_value(L"cat", hg_items_[item].advanced ? L"advanced" : L"base");
|
||||||
jsn->set_value(L"readonly", hg_items_[item].readonly);
|
jsn->set_value(L"readonly", hg_items_[item].readonly);
|
||||||
jsn->set_value(L"affect-img", hg_items_[item].affect_img_param);
|
jsn->set_value(L"affect", hg_items_[item].affect);
|
||||||
jsn->set_value(L"hwonly", hg_items_[item].deviceonly);
|
//jsn->set_value(L"hwonly", hg_items_[item].deviceonly);
|
||||||
|
jsn->set_value(L"group", hg_items_[item].group.c_str());
|
||||||
jsn->set_value(L"visible", hg_items_[item].visible);
|
jsn->set_value(L"visible", hg_items_[item].visible);
|
||||||
jsn->set_value(L"field", field_name(hg_items_[item].field));
|
jsn->set_value(L"field", field_name(hg_items_[item].field));
|
||||||
jsn->set_value(L"pos", hg_items_[item].position);
|
jsn->set_value(L"pos", hg_items_[item].position);
|
||||||
|
@ -6637,7 +6693,7 @@ std::string ChgjsonDlg::to_json_text(bool for_const, std::wstring* dev)
|
||||||
{
|
{
|
||||||
known_file_util::IJsonW* jsn = known_file_util::create_jsonW(), * item = NULL, *glb = known_file_util::create_jsonW();
|
known_file_util::IJsonW* jsn = known_file_util::create_jsonW(), * item = NULL, *glb = known_file_util::create_jsonW();
|
||||||
HTREEITEM root = tree_.GetRootItem(), child = NULL;
|
HTREEITEM root = tree_.GetRootItem(), child = NULL;
|
||||||
std::wstring val(get_tree_item_text(&tree_, root));
|
std::wstring val(get_tree_item_text(&tree_, root)), grpname(L"");
|
||||||
int count = 1, group = 1, ind = 0;
|
int count = 1, group = 1, ind = 0;
|
||||||
wchar_t buf[128] = { 0 };
|
wchar_t buf[128] = { 0 };
|
||||||
|
|
||||||
|
@ -6669,6 +6725,7 @@ std::string ChgjsonDlg::to_json_text(bool for_const, std::wstring* dev)
|
||||||
std::wstring key(L"");
|
std::wstring key(L"");
|
||||||
hg_items_[ind].index = count++;
|
hg_items_[ind].index = count++;
|
||||||
item = (known_file_util::IJsonW*)create_json(ind, &header, &key);
|
item = (known_file_util::IJsonW*)create_json(ind, &header, &key);
|
||||||
|
//item->set_value(L"group", grpname.c_str());
|
||||||
// swprintf_s(buf, _countof(buf) - 1, L"%d", hg_items_[ind].index);
|
// swprintf_s(buf, _countof(buf) - 1, L"%d", hg_items_[ind].index);
|
||||||
jsn->set_value(key.c_str(), item);
|
jsn->set_value(key.c_str(), item);
|
||||||
item->release();
|
item->release();
|
||||||
|
@ -6679,8 +6736,9 @@ std::string ChgjsonDlg::to_json_text(bool for_const, std::wstring* dev)
|
||||||
{
|
{
|
||||||
val = get_tree_item_text(&tree_, root);
|
val = get_tree_item_text(&tree_, root);
|
||||||
item = known_file_util::create_jsonW();
|
item = known_file_util::create_jsonW();
|
||||||
item->set_value(L"category", L"base");
|
item->set_value(L"cat", L"base");
|
||||||
swprintf_s(buf, _countof(buf) - 1, L"grp-%d", group++);
|
swprintf_s(buf, _countof(buf) - 1, L"grp-%d", group++);
|
||||||
|
grpname = buf;
|
||||||
// item->set_value(L"name", buf);
|
// item->set_value(L"name", buf);
|
||||||
item->set_value(L"title", val.c_str());
|
item->set_value(L"title", val.c_str());
|
||||||
item->set_value(L"type", L"group");
|
item->set_value(L"type", L"group");
|
||||||
|
@ -6698,10 +6756,11 @@ std::string ChgjsonDlg::to_json_text(bool for_const, std::wstring* dev)
|
||||||
hg_items_[ind].index = count++;
|
hg_items_[ind].index = count++;
|
||||||
if (item)
|
if (item)
|
||||||
{
|
{
|
||||||
item->set_value(L"category", hg_items_[ind].advanced ? L"advanced" : L"base");
|
item->set_value(L"cat", hg_items_[ind].advanced ? L"advanced" : L"base");
|
||||||
item->set_value(L"readonly", hg_items_[ind].readonly);
|
item->set_value(L"readonly", hg_items_[ind].readonly);
|
||||||
item->set_value(L"affect-img", hg_items_[ind].affect_img_param);
|
item->set_value(L"affect", hg_items_[ind].affect);
|
||||||
item->set_value(L"hwonly", hg_items_[ind].deviceonly);
|
//item->set_value(L"hwonly", hg_items_[ind].deviceonly);
|
||||||
|
item->set_value(L"group", hg_items_[ind].group.c_str());
|
||||||
item->set_value(L"field", field_name(hg_items_[ind].field));
|
item->set_value(L"field", field_name(hg_items_[ind].field));
|
||||||
item->set_value(L"pos", hg_items_[ind].position);
|
item->set_value(L"pos", hg_items_[ind].position);
|
||||||
item->set_value(L"visible", hg_items_[ind].visible);
|
item->set_value(L"visible", hg_items_[ind].visible);
|
||||||
|
@ -6710,6 +6769,7 @@ std::string ChgjsonDlg::to_json_text(bool for_const, std::wstring* dev)
|
||||||
}
|
}
|
||||||
std::wstring key(L"");
|
std::wstring key(L"");
|
||||||
item = (known_file_util::IJsonW*)create_json(ind, &header, &key);
|
item = (known_file_util::IJsonW*)create_json(ind, &header, &key);
|
||||||
|
//item->set_value(L"group", grpname.c_str());
|
||||||
|
|
||||||
// swprintf_s(buf, _countof(buf) - 1, L"%d", hg_items_[ind].index);
|
// swprintf_s(buf, _countof(buf) - 1, L"%d", hg_items_[ind].index);
|
||||||
jsn->set_value(key.c_str(), item);
|
jsn->set_value(key.c_str(), item);
|
||||||
|
@ -6751,7 +6811,8 @@ std::string ChgjsonDlg::to_json_text(bool for_const, std::wstring* dev)
|
||||||
void ChgjsonDlg::add_item(void* jsn_root, void* jsn_obj, HTREEITEM parent, bool old_ver)
|
void ChgjsonDlg::add_item(void* jsn_root, void* jsn_obj, HTREEITEM parent, bool old_ver)
|
||||||
{
|
{
|
||||||
known_file_util::IJsonW* jsn = (known_file_util::IJsonW*)jsn_obj, * child = NULL,
|
known_file_util::IJsonW* jsn = (known_file_util::IJsonW*)jsn_obj, * child = NULL,
|
||||||
* root = (known_file_util::IJsonW*)jsn_root;
|
* root = (known_file_util::IJsonW*)jsn_root;
|
||||||
|
std::wstring grp(get_tree_item_text(&tree_, parent));
|
||||||
const wchar_t* val = NULL;
|
const wchar_t* val = NULL;
|
||||||
HGITEM item;
|
HGITEM item;
|
||||||
wchar_t buf[128] = { 0 };
|
wchar_t buf[128] = { 0 };
|
||||||
|
@ -6801,15 +6862,21 @@ void ChgjsonDlg::add_item(void* jsn_root, void* jsn_obj, HTREEITEM parent, bool
|
||||||
}
|
}
|
||||||
jsn->get_value(L"size", item.bytes);
|
jsn->get_value(L"size", item.bytes);
|
||||||
|
|
||||||
jsn->get_value(L"category", &val);
|
jsn->get_value(L"cat", &val);
|
||||||
if (val && wcscmp(val, L"advanced") == 0)
|
if (val && wcscmp(val, L"advanced") == 0)
|
||||||
item.advanced = true;
|
item.advanced = true;
|
||||||
if (!jsn->get_value(L"readonly", item.readonly))
|
if (!jsn->get_value(L"readonly", item.readonly))
|
||||||
item.readonly = false;
|
item.readonly = false;
|
||||||
if (!jsn->get_value(L"affect-img", item.affect_img_param))
|
if (!jsn->get_value(L"affect", item.affect))
|
||||||
item.affect_img_param = false;
|
item.affect = 0;
|
||||||
if (!jsn->get_value(L"hwonly", item.deviceonly))
|
//if (!jsn->get_value(L"hwonly", item.deviceonly))
|
||||||
item.deviceonly = false;
|
// item.deviceonly = false;
|
||||||
|
if (jsn->get_value(L"group", &val) && val)
|
||||||
|
{
|
||||||
|
item.group = coding::group_name(coding::group_index(val));
|
||||||
|
}
|
||||||
|
else
|
||||||
|
item.group = coding::group_name(coding::group_index(grp.c_str()));;
|
||||||
if (!jsn->get_value(L"visible", item.visible))
|
if (!jsn->get_value(L"visible", item.visible))
|
||||||
item.visible = true;
|
item.visible = true;
|
||||||
item.field = 0;
|
item.field = 0;
|
||||||
|
@ -7454,19 +7521,35 @@ void ChgjsonDlg::OnBnClickedButton2()
|
||||||
int lines = 1;
|
int lines = 1;
|
||||||
char var[80] = { 0 };
|
char var[80] = { 0 };
|
||||||
|
|
||||||
pos = txt.length();
|
//pos = txt.length();
|
||||||
while (pos > 16 * 1024)
|
//while (pos > 16 * 1024)
|
||||||
|
//{
|
||||||
|
// pos -= 12 * 1024;
|
||||||
|
// while (txt[pos - 1] == '\\')
|
||||||
|
// pos++;
|
||||||
|
// lines++;
|
||||||
|
// sprintf_s(var, _countof(var) - 1, "\");\r\nstatic std::string jsontext%d(\"", lines);
|
||||||
|
// txt.insert(pos, var);
|
||||||
|
//}
|
||||||
|
//txt.insert(0, "static std::string jsontext1(\"");
|
||||||
|
//txt += "\");\r\n";
|
||||||
|
|
||||||
|
int varl = 30, segl = 12 * 1024;
|
||||||
|
txt.insert(0, "static std::string jsontext1(\"");
|
||||||
|
pos = varl;
|
||||||
|
while (txt.length() - pos > segl)
|
||||||
{
|
{
|
||||||
pos -= 12 * 1024;
|
pos += segl;
|
||||||
while (txt[pos - 1] == '\\')
|
|
||||||
pos++;
|
|
||||||
lines++;
|
lines++;
|
||||||
|
if (txt[pos - 1] == '\\')
|
||||||
|
pos++;
|
||||||
sprintf_s(var, _countof(var) - 1, "\");\r\nstatic std::string jsontext%d(\"", lines);
|
sprintf_s(var, _countof(var) - 1, "\");\r\nstatic std::string jsontext%d(\"", lines);
|
||||||
txt.insert(pos, var);
|
txt.insert(pos, var);
|
||||||
|
pos += 5 + varl;
|
||||||
}
|
}
|
||||||
txt.insert(0, "static std::string jsontext1(\"");
|
|
||||||
txt += "\");\r\n";
|
txt += "\");\r\n";
|
||||||
|
|
||||||
|
|
||||||
file_util::set_clipboard(txt.c_str(), txt.length());
|
file_util::set_clipboard(txt.c_str(), txt.length());
|
||||||
|
|
||||||
TCHAR msg[128] = { 0 };
|
TCHAR msg[128] = { 0 };
|
||||||
|
@ -7835,17 +7918,20 @@ void ChgjsonDlg::OnBnClickedButton4()
|
||||||
it->type = str;
|
it->type = str;
|
||||||
it->advanced = ((CButton*)GetDlgItem(IDC_CHECK_ADVANCED))->GetCheck() == BST_CHECKED;
|
it->advanced = ((CButton*)GetDlgItem(IDC_CHECK_ADVANCED))->GetCheck() == BST_CHECKED;
|
||||||
it->readonly = ((CButton*)GetDlgItem(IDC_CHECK_READONLY))->GetCheck() == BST_CHECKED;
|
it->readonly = ((CButton*)GetDlgItem(IDC_CHECK_READONLY))->GetCheck() == BST_CHECKED;
|
||||||
it->deviceonly = ((CButton*)GetDlgItem(IDC_CHECK_DEVICEONLY))->GetCheck() == BST_CHECKED;
|
//it->deviceonly = ((CButton*)GetDlgItem(IDC_CHECK_DEVICEONLY))->GetCheck() == BST_CHECKED;
|
||||||
|
//::GetDlgItemTextW(m_hWnd, IDC_COMBO7, str, _countof(str) - 1);
|
||||||
|
it->group = coding::group_name(group_.GetCurSel());
|
||||||
|
it->affect = affect_.GetCurSel() << 1;
|
||||||
it->visible = ((CButton*)GetDlgItem(IDC_CHECK_VISIBLE))->GetCheck() == BST_CHECKED;
|
it->visible = ((CButton*)GetDlgItem(IDC_CHECK_VISIBLE))->GetCheck() == BST_CHECKED;
|
||||||
it->range.type = constraint_.GetCurSel();
|
it->range.type = constraint_.GetCurSel();
|
||||||
it->field = field_.GetCurSel();
|
it->field = field_.GetCurSel();
|
||||||
it->unit = unit_.GetCurSel();
|
it->unit = unit_.GetCurSel();
|
||||||
it->position = GetDlgItemInt(IDC_EDIT_POS);
|
it->position = GetDlgItemInt(IDC_EDIT_POS);
|
||||||
if (wcscmp(str, L"bool") == 0)
|
if (it->type == L"bool")
|
||||||
it->bytes = sizeof(SANE_Bool);
|
it->bytes = sizeof(SANE_Bool);
|
||||||
else if (wcscmp(str, L"int") == 0)
|
else if (it->type == L"int")
|
||||||
it->bytes = sizeof(SANE_Int);
|
it->bytes = sizeof(SANE_Int);
|
||||||
else if (wcscmp(str, L"float") == 0)
|
else if (it->type == L"float")
|
||||||
it->bytes = sizeof(SANE_Fixed);
|
it->bytes = sizeof(SANE_Fixed);
|
||||||
else // if (wcscmp(str, L"string") == 0)
|
else // if (wcscmp(str, L"string") == 0)
|
||||||
{
|
{
|
||||||
|
|
|
@ -59,13 +59,14 @@ public:
|
||||||
std::wstring desc;
|
std::wstring desc;
|
||||||
std::wstring type;
|
std::wstring type;
|
||||||
std::wstring init_val;
|
std::wstring init_val;
|
||||||
|
std::wstring group;
|
||||||
int index;
|
int index;
|
||||||
int bytes;
|
int bytes;
|
||||||
bool advanced;
|
bool advanced;
|
||||||
bool readonly;
|
bool readonly;
|
||||||
bool deviceonly; // 只能在设备上操作的属性
|
//bool deviceonly; // 只能在设备上操作的属性 - use readonly
|
||||||
bool visible;
|
bool visible;
|
||||||
bool affect_img_param;
|
int affect;
|
||||||
int position;
|
int position;
|
||||||
int field;
|
int field;
|
||||||
int unit;
|
int unit;
|
||||||
|
@ -83,10 +84,11 @@ public:
|
||||||
desc = L"";
|
desc = L"";
|
||||||
type = L"bool";
|
type = L"bool";
|
||||||
init_val = L"true";
|
init_val = L"true";
|
||||||
|
group = L"base";
|
||||||
bytes = 4;
|
bytes = 4;
|
||||||
advanced = readonly = deviceonly = affect_img_param = false;
|
advanced = readonly = /*deviceonly =*/ false;
|
||||||
visible = depend_or = true;
|
visible = depend_or = true;
|
||||||
position = field = unit = 0;
|
affect = position = field = unit = 0;
|
||||||
range.type = RANGE_TYPE_NONE;
|
range.type = RANGE_TYPE_NONE;
|
||||||
}
|
}
|
||||||
}HGITEM;
|
}HGITEM;
|
||||||
|
@ -180,6 +182,8 @@ public:
|
||||||
afx_msg void OnTreeUnifySequence();
|
afx_msg void OnTreeUnifySequence();
|
||||||
CComboBox field_;
|
CComboBox field_;
|
||||||
CComboBox unit_;
|
CComboBox unit_;
|
||||||
|
CComboBox group_;
|
||||||
|
CComboBox affect_;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue