-
Notifications
You must be signed in to change notification settings - Fork 56
/
kn_ExportNew.dfm
492 lines (492 loc) · 13.3 KB
/
kn_ExportNew.dfm
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
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
object Form_ExportNew: TForm_ExportNew
Left = 330
Top = 208
HelpContext = 590
BorderStyle = bsDialog
Caption = 'Export notes'
ClientHeight = 397
ClientWidth = 322
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
KeyPreview = True
Position = poScreenCenter
ShowHint = True
OnActivate = FormActivate
OnCloseQuery = FormCloseQuery
OnCreate = FormCreate
TextHeight = 13
object Button_OK: TButton
Left = 20
Top = 364
Width = 75
Height = 25
Hint = 'Begin exporting notes'
Caption = 'E&xport'
Default = True
TabOrder = 0
OnClick = Button_OKClick
end
object Button_Cancel: TButton
Left = 100
Top = 364
Width = 75
Height = 25
Hint = 'Cancel and close this dialog box'
Cancel = True
Caption = 'Close'
ModalResult = 2
TabOrder = 1
end
object Button_Help: TButton
Left = 179
Top = 364
Width = 75
Height = 25
Caption = 'Help'
TabOrder = 2
OnClick = Button_HelpClick
end
object Pages: TPage95Control
Left = 5
Top = 5
Width = 311
Height = 348
ActivePage = Tab_Main
HotTrack = False
TabInactiveColor = clBtnFace
TabInactiveFont.Charset = DEFAULT_CHARSET
TabInactiveFont.Color = clWindowText
TabInactiveFont.Height = -11
TabInactiveFont.Name = 'Tahoma'
TabInactiveFont.Style = []
TabOrder = 3
object Tab_Main: TTab95Sheet
Caption = 'Source and target'
GripAlign = gaLeft
ImageIndex = -1
StaticPageIndex = -1
TabVisible = True
object GroupBox_Source: TGroupBox
Left = 2
Top = 5
Width = 292
Height = 141
Caption = ' Source: What to export? '
TabOrder = 0
object RB_CurrentNote: TRadioButton
Left = 15
Top = 20
Width = 148
Height = 17
Hint = 'Click to export active note only'
Caption = '&Current note'
Checked = True
TabOrder = 0
TabStop = True
end
object RB_AllNotes: TRadioButton
Left = 15
Top = 65
Width = 119
Height = 17
Hint = 'Click to export all notes in the file'
Caption = '&All notes'
TabOrder = 2
end
object RB_SelectedNotes: TRadioButton
Left = 15
Top = 85
Width = 116
Height = 17
Hint = 'Click to export only selected notes'
Caption = '&Selected notes'
TabOrder = 3
end
object Button_Select: TButton
Left = 159
Top = 75
Width = 111
Height = 25
Hint = 'Choose which notes to export'
Caption = 'Select &Notes...'
TabOrder = 4
OnClick = Button_SelectClick
end
object Combo_TreeSelection: TComboBox
Left = 35
Top = 40
Width = 235
Height = 21
Hint = 'For tree notes, select what part of tree to export'
Style = csDropDownList
TabOrder = 1
end
object CheckBox_ExcludeHiddenNodes: TCheckBox
Left = 15
Top = 113
Width = 218
Height = 17
Hint = 'Don'#39't export nodes hidden'
Caption = 'Exclude &hidden nodes'
TabOrder = 5
end
end
object GroupBox_Target: TGroupBox
Left = 2
Top = 152
Width = 292
Height = 157
Caption = ' Target: Where and how to export? '
TabOrder = 1
object Label1: TLabel
Left = 15
Top = 20
Width = 124
Height = 13
Caption = '&Format for exported files:'
FocusControl = Combo_Format
end
object Label2: TLabel
Left = 15
Top = 65
Width = 134
Height = 13
Caption = '&Directory for exported files:'
FocusControl = Edit_Folder
end
object TB_OpenDlgDir: TToolbarButton97
Left = 245
Top = 80
Width = 25
Height = 21
AllowAllUp = True
GroupIndex = 3
Flat = False
Glyph.Data = {00000000}
GlyphMask.Data = {00000000}
ImageIndex = 1
Images = Form_Main.IMG_Toolbar
RepeatInterval = 101
OnClick = TB_OpenDlgDirClick
end
object Combo_Format: TComboBox
Left = 15
Top = 35
Width = 255
Height = 21
Hint = 'Select format for exported files'
Style = csDropDownList
TabOrder = 0
OnClick = Combo_FormatClick
end
object CheckBox_PromptOverwrite: TCheckBox
Left = 15
Top = 110
Width = 236
Height = 17
Hint = 'Warn if file by the same name already exists'
Caption = '&Prompt before overwriting files'
Checked = True
State = cbChecked
TabOrder = 2
end
object Edit_Folder: TEdit
Left = 15
Top = 80
Width = 231
Height = 21
Hint = 'Folder where exported files will be placed'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
TabOrder = 1
end
object CheckBox_Ask: TCheckBox
Left = 15
Top = 130
Width = 236
Height = 17
Hint = 'Manually supply name for each exported file'
Caption = 'Pro&mpt for individual filenames'
TabOrder = 3
end
end
end
object Tab_Options: TTab95Sheet
Caption = 'Options'
GripAlign = gaLeft
ImageIndex = -1
StaticPageIndex = -1
TabVisible = True
object GroupBox1: TGroupBox
Left = 3
Top = 5
Width = 293
Height = 151
Caption = ' Optional headings '
TabOrder = 0
object lblSymbols: TLabel
Left = 19
Top = 126
Width = 39
Height = 13
Alignment = taRightJustify
Caption = 'Symbols'
FocusControl = Edit_Folder
end
object lblLength: TLabel
Left = 143
Top = 125
Width = 74
Height = 13
Alignment = taRightJustify
Caption = 'Length heading'
FocusControl = Edit_Folder
end
object lblIndent: TLabel
Left = 135
Top = 99
Width = 97
Height = 13
Alignment = taRightJustify
AutoSize = False
Caption = 'Indents by'
FocusControl = Spin_Indent
end
object CB_IncNoteHeading: TCheckBox
Left = 12
Top = 20
Width = 106
Height = 17
Hint = 'Include note headings'
Caption = '&Note headings'
TabOrder = 0
end
object CB_IncNodeHeading: TCheckBox
Left = 12
Top = 44
Width = 106
Height = 17
Hint = 'Include node headings'
Caption = 'No&de headings'
TabOrder = 2
OnClick = CB_IncNodeHeadingClick
end
object Edit_NodeHead: TComboBox
Left = 121
Top = 44
Width = 158
Height = 21
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
TabOrder = 3
end
object Edit_NoteHead: TComboBox
Left = 121
Top = 19
Width = 158
Height = 21
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
TabOrder = 1
end
object CB_LevelTemplates: TCheckBox
Left = 12
Top = 72
Width = 103
Height = 17
Hint = 'Try to use files "nodehead_1.rtf", "nodehead_2.rtf", ...'
Caption = 'Level templates'
TabOrder = 4
end
object CB_FontSizes: TCheckBox
Left = 131
Top = 73
Width = 80
Height = 17
Hint =
'Set font size of headings based on level (including note): Max, ' +
'Dec, Min'
Caption = 'Font sizes'
TabOrder = 5
OnClick = CB_FontSizesClick
end
object Edit_FontSizes: TEdit
Left = 224
Top = 70
Width = 55
Height = 21
Alignment = taCenter
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
TabOrder = 6
end
object Edit_LengthHeading: TEdit
Left = 224
Top = 122
Width = 55
Height = 21
Hint =
'Length of heading to be reached with %> token, based on node lev' +
'el: Max, Dec, Min'
Alignment = taCenter
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
TabOrder = 11
end
object Edit_Symbols: TEdit
Left = 64
Top = 120
Width = 55
Height = 21
Hint = 'Symbols to use with %< or %>: Level1, Level2, ...'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
TabOrder = 10
end
object CB_IndentNodes: TCheckBox
Left = 12
Top = 97
Width = 102
Height = 17
Hint = 'Indent nested nodes (heading and content)'
Caption = 'Indent nodes'
TabOrder = 7
OnClick = CB_IndentNodesClick
end
object Spin_Indent: TSpinEdit
Left = 239
Top = 95
Width = 40
Height = 22
MaxLength = 3
MaxValue = 50
MinValue = 2
TabOrder = 9
Value = 16
end
object CB_UseTab: TCheckBox
Left = 131
Top = 97
Width = 43
Height = 17
Hint =
'Indent using TAB characters'#13#10'(False: use n'#186' spaces defined in No' +
'te'#39's Tab size)'
Caption = 'Tab'
TabOrder = 8
OnClick = CB_IndentNodesClick
end
end
object RG_NodeMode: TRadioGroup
Left = 3
Top = 160
Width = 292
Height = 66
Caption = ' &When exporting tree-type notes...'
ItemIndex = 0
Items.Strings = (
'Put all tree nodes in a single target file'
'Export each node to a separate target file')
TabOrder = 1
end
object RG_HTML: TRadioGroup
Left = 3
Top = 233
Width = 292
Height = 81
Margins.Top = 6
Margins.Bottom = 6
Caption = ' &Method for exporting HTML: '
TabOrder = 2
OnClick = RG_HTMLClick
end
object Btn_TknHlp: TBitBtn
Left = 275
Top = 1
Width = 24
Height = 22
ImageIndex = 60
Images = Form_Main.IMG_Toolbar
TabOrder = 3
OnClick = Btn_TknHlpClick
end
end
object Tab_TreePad: TTab95Sheet
Caption = 'TreePad options'
GripAlign = gaLeft
ImageIndex = -1
StaticPageIndex = -1
TabVisible = True
object RG_TreePadVersion: TRadioGroup
Left = 5
Top = 5
Width = 289
Height = 66
Caption = ' Target &TreePad version '
ItemIndex = 0
Items.Strings = (
'Export to TreePad freeware (text only)'
'Export to Treepad shareware (formatted text)')
TabOrder = 0
end
object RG_TreePadMode: TRadioGroup
Left = 5
Top = 75
Width = 288
Height = 66
Caption = ' T&arget file mode '
ItemIndex = 0
Items.Strings = (
'Create a TreePad file for each exported note'
'Create a Treepad file containing all exported notes')
TabOrder = 1
end
object RG_TreePadMaster: TRadioGroup
Left = 5
Top = 145
Width = 288
Height = 66
Caption = ' &Compatibility top-level node '
ItemIndex = 0
Items.Strings = (
'Create only when necessary'
'Always create')
TabOrder = 2
end
end
end
object SaveDlg: TSaveDialog
Options = [ofHideReadOnly, ofPathMustExist]
Title = 'Select target filename'
Left = 265
Top = 364
end
end