-
-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathadvoptionsform.lfm
449 lines (449 loc) · 12.3 KB
/
advoptionsform.lfm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
object FormAdvOptions: TFormAdvOptions
Left = 940
Height = 526
Top = 384
Width = 481
AutoSize = True
BorderIcons = [biSystemMenu]
BorderStyle = bsDialog
Caption = 'Advanced Options'
ClientHeight = 526
ClientWidth = 481
OnCreate = FormCreate
OnShow = FormShow
Position = poMainFormCenter
object Panel1: TPanel
Left = 8
Height = 510
Top = 8
Width = 465
Align = alClient
BorderSpacing.Around = 8
BevelOuter = bvNone
ClientHeight = 510
ClientWidth = 465
TabOrder = 0
object LabTitle: TLabel
Left = 0
Height = 28
Top = 4
Width = 465
Align = alTop
BorderSpacing.Top = 4
BorderSpacing.Bottom = 4
Caption = 'Advanced Options '
Font.Color = 11428096
Font.Height = 24
Font.Style = [fsBold]
ParentColor = False
ParentFont = False
end
object LabMaxAngle: TLabel
AnchorSideLeft.Control = LabForcedFormat
AnchorSideTop.Control = LabThresholding
AnchorSideTop.Side = asrBottom
Left = 8
Height = 16
Top = 244
Width = 132
BorderSpacing.Top = 16
Caption = 'Max. angle [degrees]:'
ParentColor = False
end
object SpinEditMaxAngle: TFloatSpinEdit
AnchorSideLeft.Control = LabMaxAngle
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = LabMaxAngle
AnchorSideTop.Side = asrCenter
Left = 148
Height = 21
Top = 242
Width = 64
BorderSpacing.Left = 8
DecimalPlaces = 1
MaxValue = 90
MinValue = 1
TabOrder = 6
Value = 10
end
object LabSkipAngle: TLabel
AnchorSideLeft.Control = LabForcedFormat
AnchorSideTop.Control = LabMaxAngle
AnchorSideTop.Side = asrCenter
AnchorSideRight.Control = SpinEditSkipAngle
Left = 261
Height = 16
Top = 244
Width = 129
Anchors = [akTop, akRight]
BorderSpacing.Top = 18
BorderSpacing.Right = 8
Caption = 'Skip angle [degrees]:'
ParentColor = False
end
object SpinEditSkipAngle: TFloatSpinEdit
AnchorSideLeft.Control = SpinEditMaxAngle
AnchorSideTop.Control = SpinEditMaxAngle
AnchorSideTop.Side = asrCenter
AnchorSideRight.Control = ComboOutputFormat
AnchorSideRight.Side = asrBottom
Left = 398
Height = 21
Top = 242
Width = 64
Anchors = [akTop, akRight]
MaxValue = 45
TabOrder = 7
Value = 0.01
end
object LabForcedFormat: TLabel
AnchorSideLeft.Control = Panel1
AnchorSideTop.Control = LabResamling
AnchorSideTop.Side = asrBottom
Left = 8
Height = 16
Top = 82
Width = 89
BorderSpacing.Left = 8
BorderSpacing.Top = 18
Caption = 'Output format:'
ParentColor = False
end
object ComboOutputFormat: TComboBox
AnchorSideLeft.Control = ComboResampling
AnchorSideTop.Control = LabForcedFormat
AnchorSideTop.Side = asrCenter
Left = 152
Height = 20
Top = 80
Width = 310
ItemHeight = 26
Style = csDropDownList
TabOrder = 1
Text = '0'
end
object LabDeskewExe: TLabel
AnchorSideLeft.Control = CheckDefaultExecutable
AnchorSideTop.Control = CheckDefaultExecutable
AnchorSideTop.Side = asrBottom
Left = 8
Height = 16
Top = 407
Width = 121
BorderSpacing.Top = 12
Caption = 'Deskew executable:'
ParentColor = False
end
object CheckDefaultExecutable: TCheckBox
AnchorSideLeft.Control = LabForcedFormat
AnchorSideTop.Control = LabExtraCmdArgs
AnchorSideTop.Side = asrBottom
AnchorSideBottom.Side = asrCenter
Left = 8
Height = 18
Top = 377
Width = 200
BorderSpacing.Top = 18
Caption = 'Use default Deskew executable'
Checked = True
State = cbChecked
TabOrder = 11
end
object EdDeskewExePath: TEdit
AnchorSideLeft.Control = LabDeskewExe
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = LabDeskewExe
AnchorSideTop.Side = asrCenter
AnchorSideRight.Control = BtnBrowseDeskewExePath
AnchorSideBottom.Side = asrCenter
Left = 137
Height = 22
Top = 404
Width = 230
Anchors = [akTop, akLeft, akRight]
BorderSpacing.Left = 8
TabOrder = 12
end
object BtnBrowseDeskewExePath: TButton
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = EdDeskewExePath
AnchorSideTop.Side = asrCenter
AnchorSideRight.Control = Panel1
AnchorSideRight.Side = asrBottom
AnchorSideBottom.Side = asrBottom
Left = 373
Height = 20
Top = 405
Width = 84
Action = ActBrowseDeskewExe
Anchors = [akTop, akRight]
AutoSize = True
BorderSpacing.Left = 6
BorderSpacing.Right = 8
TabOrder = 13
end
object ComboResampling: TComboBox
AnchorSideLeft.Control = LabResamling
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = LabResamling
AnchorSideTop.Side = asrCenter
Left = 152
Height = 20
Top = 46
Width = 310
BorderSpacing.Left = 20
ItemHeight = 26
Style = csDropDownList
TabOrder = 0
Text = '0'
end
object LabResamling: TLabel
AnchorSideLeft.Control = Panel1
AnchorSideTop.Control = LabTitle
AnchorSideTop.Side = asrBottom
Left = 8
Height = 16
Top = 48
Width = 124
BorderSpacing.Left = 8
BorderSpacing.Top = 16
Caption = 'Resampling method:'
ParentColor = False
end
object LabOutputFileParams: TLabel
AnchorSideLeft.Control = LabForcedFormat
AnchorSideTop.Control = LabForcedFormat
AnchorSideTop.Side = asrBottom
Left = 8
Height = 16
Top = 116
Width = 184
BorderSpacing.Top = 18
Caption = 'Output file format parameters:'
ParentColor = False
end
object CheckJpegQuality: TCheckBox
AnchorSideLeft.Control = LabOutputFileParams
AnchorSideTop.Control = LabOutputFileParams
AnchorSideTop.Side = asrBottom
Left = 10
Height = 18
Top = 142
Width = 94
BorderSpacing.Left = 2
BorderSpacing.Top = 10
Caption = 'JPEG quality'
TabOrder = 2
end
object SpinEditJpegQuality: TSpinEdit
AnchorSideLeft.Control = CheckJpegQuality
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = CheckJpegQuality
AnchorSideTop.Side = asrCenter
Left = 108
Height = 21
Top = 141
Width = 66
BorderSpacing.Left = 4
Enabled = False
MinValue = 1
TabOrder = 3
Value = 90
end
object ComboTiffCompression: TComboBox
AnchorSideTop.Control = CheckTiffCompression
AnchorSideTop.Side = asrCenter
AnchorSideRight.Control = ComboOutputFormat
AnchorSideRight.Side = asrBottom
Left = 350
Height = 20
Top = 141
Width = 112
Anchors = [akTop, akRight]
Enabled = False
ItemHeight = 26
Style = csDropDownList
TabOrder = 5
Text = '0'
end
object CheckTiffCompression: TCheckBox
AnchorSideLeft.Control = LabOutputFileParams
AnchorSideTop.Control = CheckJpegQuality
AnchorSideTop.Side = asrCenter
AnchorSideRight.Control = ComboTiffCompression
Left = 223
Height = 18
Top = 142
Width = 123
Anchors = [akTop, akRight]
BorderSpacing.Left = 20
BorderSpacing.Top = 12
BorderSpacing.Right = 4
Caption = 'TIFF compression'
TabOrder = 4
end
object LabThresholding: TLabel
AnchorSideLeft.Control = LabForcedFormat
AnchorSideTop.Control = SpinThresholdValue
AnchorSideTop.Side = asrCenter
Left = 8
Height = 16
Top = 212
Width = 83
BorderSpacing.Top = 20
Caption = 'Thresholding:'
ParentColor = False
end
object CheckThresholdAuto: TCheckBox
AnchorSideLeft.Control = LabThresholding
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = LabThresholding
AnchorSideTop.Side = asrCenter
Left = 141
Height = 18
Top = 211
Width = 49
BorderSpacing.Left = 50
Caption = 'Auto'
TabOrder = 8
end
object SpinThresholdValue: TSpinEdit
AnchorSideLeft.Control = CheckThresholdAuto
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = Shape1
AnchorSideTop.Side = asrBottom
Left = 206
Height = 21
Top = 210
Width = 50
BorderSpacing.Left = 16
BorderSpacing.Top = 20
MaxValue = 255
TabOrder = 9
Value = 128
end
object LabExtraCmdArgs: TLabel
AnchorSideLeft.Control = LabForcedFormat
AnchorSideTop.Control = EdExtraCmdArgs
AnchorSideTop.Side = asrCenter
AnchorSideBottom.Side = asrBottom
Left = 8
Height = 16
Top = 343
Width = 195
BorderSpacing.Top = 20
BorderSpacing.Bottom = 12
Caption = 'Extra command line parameters:'
ParentColor = False
end
object EdExtraCmdArgs: TEdit
AnchorSideLeft.Control = LabExtraCmdArgs
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = Shape2
AnchorSideTop.Side = asrBottom
Left = 219
Height = 22
Top = 340
Width = 219
BorderSpacing.Left = 16
BorderSpacing.Top = 20
TabOrder = 10
end
object CheckPrintParams: TCheckBox
AnchorSideLeft.Control = LabMaxAngle
AnchorSideTop.Control = LabMaxAngle
AnchorSideTop.Side = asrBottom
Left = 8
Height = 18
Top = 276
Width = 117
BorderSpacing.Top = 16
Caption = 'Print parameters'
TabOrder = 14
end
object Shape1: TShape
AnchorSideLeft.Control = Panel1
AnchorSideTop.Control = SpinEditJpegQuality
AnchorSideTop.Side = asrBottom
AnchorSideRight.Control = Panel1
AnchorSideRight.Side = asrBottom
Left = 0
Height = 2
Top = 188
Width = 465
Anchors = [akTop, akLeft, akRight]
BorderSpacing.Top = 26
Brush.Style = bsClear
Pen.Color = 15724527
end
object Shape2: TShape
AnchorSideLeft.Control = Panel1
AnchorSideTop.Control = CheckPrintParams
AnchorSideTop.Side = asrBottom
AnchorSideRight.Control = Panel1
AnchorSideRight.Side = asrBottom
Left = 0
Height = 2
Top = 318
Width = 465
Anchors = [akTop, akLeft, akRight]
BorderSpacing.Top = 24
Brush.Style = bsClear
Pen.Color = 15724527
end
object BtnOk: TBitBtn
AnchorSideTop.Control = BtnResetOptions
AnchorSideTop.Side = asrCenter
AnchorSideRight.Control = Panel1
AnchorSideRight.Side = asrBottom
AnchorSideBottom.Side = asrBottom
Left = 325
Height = 31
Top = 471
Width = 140
Anchors = [akTop, akRight]
AutoSize = True
BorderSpacing.Top = 70
Caption = 'OK'
Constraints.MinWidth = 140
Default = True
Font.Height = -16
ModalResult = 1
OnClick = BtnOkClick
ParentFont = False
TabOrder = 15
end
object BtnResetOptions: TBitBtn
AnchorSideLeft.Control = Panel1
AnchorSideTop.Control = LabDeskewExe
AnchorSideTop.Side = asrBottom
AnchorSideBottom.Control = Panel1
AnchorSideBottom.Side = asrBottom
Left = 8
Height = 31
Top = 471
Width = 140
Action = ActResetOptions
AutoSize = True
BorderSpacing.Left = 8
BorderSpacing.Top = 48
BorderSpacing.Bottom = 4
Constraints.MinWidth = 140
Font.Height = -16
ParentFont = False
TabOrder = 16
end
end
object ActionList: TActionList
Left = 216
Top = 8
object ActBrowseDeskewExe: TAction
Caption = 'Browse...'
OnExecute = ActBrowseDeskewExeExecute
end
object ActResetOptions: TAction
Caption = 'Reset Options...'
OnExecute = ActResetOptionsExecute
end
end
end