docgenerator 2.0.0 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (104) hide show
  1. data/examples/creole_example_tabular.rb +95 -0
  2. data/examples/docgenerator_example.rb +5 -5
  3. data/lib/creole/creole2doc.rb +28 -18
  4. data/lib/creole/creole_inclusions.rb +4 -4
  5. data/lib/creole/creole_placeholder.rb +4 -1
  6. data/lib/creole/creole_tabular.rb +173 -155
  7. data/lib/creole/plugins/rail.rb +118 -119
  8. data/lib/creole/plugins/struktex.rb +35 -35
  9. data/lib/creole/plugins/todonotes.rb +8 -1
  10. data/lib/docgenerator/attribute.rb +160 -160
  11. data/lib/docgenerator/characters.rb +343 -311
  12. data/lib/docgenerator/css.rb +167 -167
  13. data/lib/docgenerator/document.rb +525 -511
  14. data/lib/docgenerator/element.rb +316 -316
  15. data/lib/docgenerator/element_meta.rb +114 -114
  16. data/lib/docgenerator/elements.rb +19 -9
  17. data/lib/docgenerator/environments.rb +3 -1
  18. data/lib/docgenerator/lists.rb +177 -174
  19. data/lib/docgenerator/packages/hyperref.rb +74 -70
  20. data/lib/docgenerator/packages/multicol.rb +33 -0
  21. data/lib/docgenerator/packages/scrlettr2.rb +152 -151
  22. data/lib/docgenerator/packages/todonotes.rb +1 -1
  23. data/lib/docgenerator/tabular.rb +463 -400
  24. data/lib/docgenerator/templates/docgenerator_template.rb +94 -84
  25. data/lib/docgenerator/templates/docgenerator_template.yaml +75 -15
  26. data/lib/docgenerator.rb +1 -1
  27. data/lib/wiki2doc/wiki2docgenerator.rb +1 -1
  28. data/meta_test_and_doc/build__meta.rb +125 -0
  29. data/meta_test_and_doc/build_doc.rb +333 -0
  30. data/meta_test_and_doc/build_test.rb +251 -0
  31. data/meta_test_and_doc/manpages/attachfile.rb +389 -0
  32. data/meta_test_and_doc/manpages/caption.rb +133 -0
  33. data/meta_test_and_doc/manpages/characters.rb +3738 -0
  34. data/meta_test_and_doc/manpages/elements.rb +6851 -0
  35. data/meta_test_and_doc/manpages/environments.rb +985 -0
  36. data/meta_test_and_doc/manpages/footnote.rb +439 -0
  37. data/meta_test_and_doc/manpages/hyperref.rb +605 -0
  38. data/meta_test_and_doc/manpages/listings.rb +988 -0
  39. data/meta_test_and_doc/manpages/lists.rb +1463 -0
  40. data/meta_test_and_doc/manpages/others.rb +129 -0
  41. data/meta_test_and_doc/manpages/packages.rb +13 -0
  42. data/meta_test_and_doc/manpages/pdfpages.rb +108 -0
  43. data/meta_test_and_doc/manpages/readme.rdoc +9 -0
  44. data/meta_test_and_doc/manpages/scrlettr2.rb +362 -0
  45. data/meta_test_and_doc/manpages/scrpage2.rb +2028 -0
  46. data/meta_test_and_doc/manpages/sectioning.rb +2467 -0
  47. data/meta_test_and_doc/manpages/tables.rb +2088 -0
  48. data/meta_test_and_doc/manpages/todonotes.rb +235 -0
  49. data/meta_test_and_doc/manpages/wiki2docgenerator.rb +64 -0
  50. data/{readme.rd → readme.rdoc} +18 -1
  51. data/unittest/expected/test_tabular.creole +33 -0
  52. data/unittest/expected_creole/test_creole_creole1.0test.html +3 -3
  53. data/unittest/expected_creole/test_creole_creole1.0test.latex +3 -3
  54. data/unittest/expected_creole/test_creole_creole1.0test.text +3 -3
  55. data/unittest/expected_creole/test_creole_inline_apostroph.html +6 -0
  56. data/unittest/expected_creole/test_creole_inline_apostroph.latex +8 -0
  57. data/unittest/expected_creole/test_creole_inline_apostroph.text +4 -0
  58. data/unittest/expected_creole/test_creole_input.normsource +12 -12
  59. data/unittest/expected_creole/test_creole_input.normsource_1.8 +23 -0
  60. data/unittest/expected_creole/test_creole_links_external_implicit.html +2 -2
  61. data/unittest/expected_creole/test_creole_links_external_implicit.latex +2 -2
  62. data/unittest/expected_creole/test_creole_links_external_implicit.text +2 -2
  63. data/unittest/expected_creole/test_creole_links_implicit_end.html +1 -1
  64. data/unittest/expected_creole/test_creole_links_implicit_end.latex +1 -1
  65. data/unittest/expected_creole/test_creole_list_ul.normsource +42 -42
  66. data/unittest/expected_creole/test_creole_list_ul.normsource_1.8 +83 -0
  67. data/unittest/expected_creole/test_creole_paragraphs.normsource +15 -15
  68. data/unittest/expected_creole/test_creole_paragraphs.normsource_1.8 +27 -0
  69. data/unittest/expected_creole/test_creole_tabular.creole +22 -0
  70. data/unittest/expected_creole/test_creole_tabular_creole.creole +19 -0
  71. data/unittest/expected_creole/test_creole_tabular_css.creole +24 -0
  72. data/unittest/expected_creole/test_creole_tabular_multicols.creole +16 -0
  73. data/unittest/expected_creole/test_creole_tabular_multicols.html +14 -0
  74. data/unittest/expected_creole/test_creole_tabular_multicols.latex +16 -0
  75. data/unittest/expected_creole/test_creole_tabular_with_cell_option.creole +21 -0
  76. data/unittest/expected_creole/test_creole_toc_level_text.html +2 -2
  77. data/unittest/expected_creole/test_creole_toc_level_text.latex +2 -2
  78. data/unittest/expected_packages/test_multicol_3.tex +2 -0
  79. data/unittest/expected_packages/test_multicol_3_titleline.tex +2 -0
  80. data/unittest/expected_templates/test_article.tex +23 -0
  81. data/unittest/expected_templates/test_article_utf8.tex +34 -0
  82. data/unittest/expected_templates/test_context.miv +18 -0
  83. data/unittest/expected_templates/test_creole.creole +8 -0
  84. data/unittest/expected_templates/test_html.html +12 -0
  85. data/unittest/expected_templates/test_html401_strict.html +14 -0
  86. data/unittest/expected_templates/test_html401_trans.html +14 -0
  87. data/unittest/expected_templates/test_html_utf8.html +14 -0
  88. data/unittest/expected_templates/test_include.tex +17 -0
  89. data/unittest/expected_templates/test_include_utf8.tex +17 -0
  90. data/unittest/expected_templates/test_text.txt +6 -0
  91. data/unittest/expected_templates/test_wiki.wiki +6 -0
  92. data/unittest/expected_templates/test_xhtml_strict.html +14 -0
  93. data/unittest/expected_templates/test_xhtml_trans.html +14 -0
  94. data/unittest/unittest_creole.rb +27 -6
  95. data/unittest/unittest_creole_placeholders.rb +1 -123
  96. data/unittest/unittest_creole_tabular.rb +174 -0
  97. data/unittest/unittest_docgenerator.rb +4 -3
  98. data/unittest/unittest_docgenerator_characters.rb +4769 -615
  99. data/unittest/unittest_packages_multicol.rb +84 -0
  100. data/unittest/unittest_rubycode4doc.rb +0 -1
  101. data/unittest/unittest_templates.rb +64 -0
  102. metadata +163 -77
  103. data/build_test_and_doc.rb +0 -505
  104. data/manpage_elements.rb +0 -10411
@@ -0,0 +1,605 @@
1
+ #encoding utf-8
2
+ =begin rdoc
3
+ Generated manpages for elements.
4
+
5
+ This document does not contain the implementation or code documentation.
6
+
7
+ This document is the source for a manpage for usage of Docgenerator elements.
8
+
9
+ The following Element are documented in this document:
10
+
11
+ * Docgenerator::Packages::Hyperref::HyperrefForm
12
+ * Docgenerator::Packages::Hyperref::Reset
13
+ * Docgenerator::Packages::Hyperref::Checkbox
14
+ * Docgenerator::Packages::Hyperref::Pushbutton
15
+ * Docgenerator::Packages::Hyperref::Choicemenu
16
+ * Docgenerator::Packages::Hyperref::Textfield
17
+ =end
18
+
19
+ #
20
+ module Docgenerator
21
+ module Packages
22
+ module Hyperref
23
+ =begin rdoc
24
+ =Docgenerator::Packages::Hyperref::HyperrefForm
25
+
26
+ ==Attributes
27
+ Attribute required? HTML LaTeX ~keyval ConTeXt Text Wiki Creole Values
28
+ ====================================================================================================
29
+ options : - - X - - - - -
30
+
31
+
32
+ Docgenerator::Packages::Hyperref::HyperrefForm can contain content.
33
+
34
+ ==Generate an object
35
+ test = Docgenerator::Packages::Hyperref::HyperrefForm.new( {
36
+ #:options => <<value>>, % optional, values: [nil]
37
+ }, 'content')
38
+
39
+ Alternative generation
40
+ test = element(:hyperrefform, {...Attributes...}, 'content' )
41
+ test = element(:Form, {...Attributes...}, 'content' )
42
+
43
+
44
+ ==Outputs
45
+ ===Docgenerator::Packages::Hyperref::HyperrefForm#to_latex
46
+
47
+ \begin{Form}content\end{Form}
48
+
49
+
50
+ ====:cr, :cR, :Cr, :CR for Docgenerator::Packages::Hyperref::HyperrefForm#.to_latex
51
+ <<START>> and <<END>> are not part of the output, but needed to illustrate the line breaks.
52
+
53
+ Default:
54
+ <<START>>
55
+ \begin{Form}content\end{Form}
56
+ <<END>>
57
+
58
+ * Result after Docgenerator::Packages::Hyperref::HyperrefForm#cr:
59
+
60
+ <<START>>
61
+ \begin{Form}content\end{Form}
62
+
63
+ <<END>>
64
+
65
+ * Result after Docgenerator::Packages::Hyperref::HyperrefForm#cR:
66
+
67
+ <<START>>
68
+ \begin{Form}
69
+ content
70
+ \end{Form}
71
+
72
+ <<END>>
73
+
74
+ * Result after Docgenerator::Packages::Hyperref::HyperrefForm#Cr:
75
+
76
+ <<START>>
77
+
78
+ \begin{Form}
79
+ content
80
+ \end{Form}
81
+
82
+ <<END>>
83
+
84
+ * Result after Docgenerator::Packages::Hyperref::HyperrefForm#CR:
85
+
86
+ <<START>>
87
+
88
+ \begin{Form}
89
+ content
90
+ \end{Form}
91
+
92
+ <<END>>
93
+
94
+ ===Docgenerator::Packages::Hyperref::HyperrefForm#to_html
95
+ <span >content</span>
96
+
97
+ * No output routine defined for html - use a dummy
98
+ ===Docgenerator::Packages::Hyperref::HyperrefForm#to_context
99
+ \Form{content}
100
+
101
+ * No output routine defined for context - use a dummy
102
+ ===Docgenerator::Packages::Hyperref::HyperrefForm#to_text
103
+ content
104
+
105
+ * No output routine defined for text - use a dummy
106
+ ===Docgenerator::Packages::Hyperref::HyperrefForm#to_wiki
107
+ content
108
+
109
+
110
+ * No output routine defined for wiki - use a dummy
111
+ ===Docgenerator::Packages::Hyperref::HyperrefForm#to_creole
112
+ content
113
+
114
+
115
+ * No output routine defined for creole - use a dummy
116
+ =end
117
+ class HyperrefForm << Docgenerator::Environments::Environment
118
+ #This coding is empty - this is the manpage definition, not the implementation
119
+ end #class HyperrefForm
120
+ end #module Hyperref
121
+ end #module Packages
122
+ end #module Docgenerator
123
+ module Docgenerator
124
+ module Packages
125
+ module Hyperref
126
+ =begin rdoc
127
+ =Docgenerator::Packages::Hyperref::Reset
128
+
129
+ Docgenerator::Packages::Hyperref::Reset does not contain attributes
130
+
131
+
132
+ Docgenerator::Packages::Hyperref::Reset can contain content.
133
+
134
+ ==Generate an object
135
+ test = Docgenerator::Packages::Hyperref::Reset.new( {}, 'content')
136
+
137
+ Alternative generation
138
+ test = element(:reset, {}, 'content' )
139
+
140
+
141
+ ==Outputs
142
+ ===Docgenerator::Packages::Hyperref::Reset#to_latex
143
+ \Reset{content}
144
+
145
+ ====:cr, :cR, :Cr, :CR for Docgenerator::Packages::Hyperref::Reset#.to_latex
146
+ <<START>> and <<END>> are not part of the output, but needed to illustrate the line breaks.
147
+
148
+ Default:
149
+ <<START>>\Reset{content}<<END>>
150
+
151
+ * Result after Docgenerator::Packages::Hyperref::Reset#cr:
152
+
153
+ <<START>>\Reset{content}
154
+ <<END>>
155
+
156
+ * Result after Docgenerator::Packages::Hyperref::Reset#cR:
157
+
158
+ <<START>>\Reset{content}
159
+ <<END>>
160
+
161
+ * Result after Docgenerator::Packages::Hyperref::Reset#Cr:
162
+
163
+ <<START>>
164
+ \Reset{content}
165
+ <<END>>
166
+
167
+ * Result after Docgenerator::Packages::Hyperref::Reset#CR:
168
+
169
+ <<START>>
170
+ \Reset{content}
171
+ <<END>>
172
+
173
+ ===Docgenerator::Packages::Hyperref::Reset#to_html
174
+ <span >content</span>
175
+
176
+ * No output routine defined for html - use a dummy
177
+ ===Docgenerator::Packages::Hyperref::Reset#to_context
178
+ \reset{content}
179
+
180
+ * No output routine defined for context - use a dummy
181
+ ===Docgenerator::Packages::Hyperref::Reset#to_text
182
+ content
183
+
184
+ * No output routine defined for text - use a dummy
185
+ ===Docgenerator::Packages::Hyperref::Reset#to_wiki
186
+ content
187
+
188
+
189
+ * No output routine defined for wiki - use a dummy
190
+ ===Docgenerator::Packages::Hyperref::Reset#to_creole
191
+ content
192
+
193
+
194
+ * No output routine defined for creole - use a dummy
195
+ =end
196
+ class Reset << Docgenerator::Element
197
+ #This coding is empty - this is the manpage definition, not the implementation
198
+ end #class Reset
199
+ end #module Hyperref
200
+ end #module Packages
201
+ end #module Docgenerator
202
+ module Docgenerator
203
+ module Packages
204
+ module Hyperref
205
+ =begin rdoc
206
+ =Docgenerator::Packages::Hyperref::Checkbox
207
+
208
+ ==Attributes
209
+ Attribute required? HTML LaTeX ~keyval ConTeXt Text Wiki Creole Values
210
+ ====================================================================================================
211
+ name : - - - X - - - -
212
+ checked : - - - X - - - -
213
+ onblur : - - - X - - - -
214
+ onclick : - - - X - - - -
215
+
216
+
217
+ Docgenerator::Packages::Hyperref::Checkbox can contain content.
218
+
219
+ ==Generate an object
220
+ test = Docgenerator::Packages::Hyperref::Checkbox.new( {
221
+ #:name => <<value>>, % optional
222
+ #:checked => <<value>>, % optional, values: [true, false]
223
+ #:onblur => <<value>>, % optional
224
+ #:onclick => <<value>>, % optional
225
+ }, 'content')
226
+
227
+ Alternative generation
228
+ test = element(:checkbox, {...Attributes...}, 'content' )
229
+
230
+
231
+ ==Outputs
232
+ ===Docgenerator::Packages::Hyperref::Checkbox#to_latex
233
+ \CheckBox[]{content}
234
+
235
+ ====:cr, :cR, :Cr, :CR for Docgenerator::Packages::Hyperref::Checkbox#.to_latex
236
+ <<START>> and <<END>> are not part of the output, but needed to illustrate the line breaks.
237
+
238
+ Default:
239
+ <<START>>\CheckBox[]{content}<<END>>
240
+
241
+ * Result after Docgenerator::Packages::Hyperref::Checkbox#cr:
242
+
243
+ <<START>>\CheckBox[]{content}
244
+ <<END>>
245
+
246
+ * Result after Docgenerator::Packages::Hyperref::Checkbox#cR:
247
+
248
+ <<START>>\CheckBox[]{content}
249
+ <<END>>
250
+
251
+ * Result after Docgenerator::Packages::Hyperref::Checkbox#Cr:
252
+
253
+ <<START>>
254
+ \CheckBox[]{content}
255
+ <<END>>
256
+
257
+ * Result after Docgenerator::Packages::Hyperref::Checkbox#CR:
258
+
259
+ <<START>>
260
+ \CheckBox[]{content}
261
+ <<END>>
262
+
263
+ ===Docgenerator::Packages::Hyperref::Checkbox#to_html
264
+ <span >content</span>
265
+
266
+ * No output routine defined for html - use a dummy
267
+ ===Docgenerator::Packages::Hyperref::Checkbox#to_context
268
+ \checkbox{content}
269
+
270
+ * No output routine defined for context - use a dummy
271
+ ===Docgenerator::Packages::Hyperref::Checkbox#to_text
272
+ content
273
+
274
+ * No output routine defined for text - use a dummy
275
+ ===Docgenerator::Packages::Hyperref::Checkbox#to_wiki
276
+ content
277
+
278
+
279
+ * No output routine defined for wiki - use a dummy
280
+ ===Docgenerator::Packages::Hyperref::Checkbox#to_creole
281
+ content
282
+
283
+
284
+ * No output routine defined for creole - use a dummy
285
+ =end
286
+ class Checkbox << Docgenerator::Element
287
+ #This coding is empty - this is the manpage definition, not the implementation
288
+ end #class Checkbox
289
+ end #module Hyperref
290
+ end #module Packages
291
+ end #module Docgenerator
292
+ module Docgenerator
293
+ module Packages
294
+ module Hyperref
295
+ =begin rdoc
296
+ =Docgenerator::Packages::Hyperref::Pushbutton
297
+
298
+ ==Attributes
299
+ Attribute required? HTML LaTeX ~keyval ConTeXt Text Wiki Creole Values
300
+ ====================================================================================================
301
+ width : - - - X - - - -
302
+ height : - - - X - - - -
303
+ borderstyle : - - - X - - - -
304
+ bordercolor : - - - X - - - -
305
+ color : - - - X - - - -
306
+ backgroundcolor : - - - X - - - -
307
+ onclick : - - - X - - - -
308
+
309
+
310
+ Docgenerator::Packages::Hyperref::Pushbutton can contain content.
311
+
312
+ ==Generate an object
313
+ test = Docgenerator::Packages::Hyperref::Pushbutton.new( {
314
+ #:width => <<value>>, % optional
315
+ #:height => <<value>>, % optional
316
+ #:borderstyle => <<value>>, % optional, values: ["S", "D", "B", "I", "U"]
317
+ #:bordercolor => <<value>>, % optional
318
+ #:color => <<value>>, % optional
319
+ #:backgroundcolor => <<value>>, % optional
320
+ #:onclick => <<value>>, % optional
321
+ }, 'content')
322
+
323
+ Alternative generation
324
+ test = element(:pushbutton, {...Attributes...}, 'content' )
325
+
326
+
327
+ ==Outputs
328
+ ===Docgenerator::Packages::Hyperref::Pushbutton#to_latex
329
+ \PushButton[]{content}
330
+
331
+ ====:cr, :cR, :Cr, :CR for Docgenerator::Packages::Hyperref::Pushbutton#.to_latex
332
+ <<START>> and <<END>> are not part of the output, but needed to illustrate the line breaks.
333
+
334
+ Default:
335
+ <<START>>\PushButton[]{content}<<END>>
336
+
337
+ * Result after Docgenerator::Packages::Hyperref::Pushbutton#cr:
338
+
339
+ <<START>>\PushButton[]{content}
340
+ <<END>>
341
+
342
+ * Result after Docgenerator::Packages::Hyperref::Pushbutton#cR:
343
+
344
+ <<START>>\PushButton[]{content}
345
+ <<END>>
346
+
347
+ * Result after Docgenerator::Packages::Hyperref::Pushbutton#Cr:
348
+
349
+ <<START>>
350
+ \PushButton[]{content}
351
+ <<END>>
352
+
353
+ * Result after Docgenerator::Packages::Hyperref::Pushbutton#CR:
354
+
355
+ <<START>>
356
+ \PushButton[]{content}
357
+ <<END>>
358
+
359
+ ===Docgenerator::Packages::Hyperref::Pushbutton#to_html
360
+ <span >content</span>
361
+
362
+ * No output routine defined for html - use a dummy
363
+ ===Docgenerator::Packages::Hyperref::Pushbutton#to_context
364
+ \pushbutton{content}
365
+
366
+ * No output routine defined for context - use a dummy
367
+ ===Docgenerator::Packages::Hyperref::Pushbutton#to_text
368
+ content
369
+
370
+ * No output routine defined for text - use a dummy
371
+ ===Docgenerator::Packages::Hyperref::Pushbutton#to_wiki
372
+ content
373
+
374
+
375
+ * No output routine defined for wiki - use a dummy
376
+ ===Docgenerator::Packages::Hyperref::Pushbutton#to_creole
377
+ content
378
+
379
+
380
+ * No output routine defined for creole - use a dummy
381
+ =end
382
+ class Pushbutton << Docgenerator::Element
383
+ #This coding is empty - this is the manpage definition, not the implementation
384
+ end #class Pushbutton
385
+ end #module Hyperref
386
+ end #module Packages
387
+ end #module Docgenerator
388
+ module Docgenerator
389
+ module Packages
390
+ module Hyperref
391
+ =begin rdoc
392
+ =Docgenerator::Packages::Hyperref::Choicemenu
393
+
394
+ ==Attributes
395
+ Attribute required? HTML LaTeX ~keyval ConTeXt Text Wiki Creole Values
396
+ ====================================================================================================
397
+ width : - - - X - - - -
398
+ height : - - - X - - - -
399
+ borderstyle : - - - X - - - -
400
+ bordercolor : - - - X - - - -
401
+ color : - - - X - - - -
402
+ backgroundcolor : - - - X - - - -
403
+ name : X - - - - - - -
404
+ onblur : - - - X - - - -
405
+ default : - - - X - - - -
406
+ type : - - - - - - - -
407
+
408
+
409
+ Docgenerator::Packages::Hyperref::Choicemenu can contain content.
410
+
411
+ ==Generate an object
412
+ test = Docgenerator::Packages::Hyperref::Choicemenu.new( {
413
+ #:width => <<value>>, % optional
414
+ #:height => <<value>>, % optional
415
+ #:borderstyle => <<value>>, % optional, values: ["S", "D", "B", "I", "U"]
416
+ #:bordercolor => <<value>>, % optional
417
+ #:color => <<value>>, % optional
418
+ #:backgroundcolor => <<value>>, % optional
419
+ :name => <<value>>, % required
420
+ #:onblur => <<value>>, % optional
421
+ #:default => <<value>>, % optional
422
+ #:type => <<value>>, % optional, values: ["combo", "radiobutton"]
423
+ }, 'content')
424
+
425
+ Alternative generation
426
+ test = element(:choicemenu, {...Attributes...}, 'content' )
427
+
428
+
429
+ ==Outputs
430
+ ===Docgenerator::Packages::Hyperref::Choicemenu#to_latex
431
+ \ChoiceMenu[,]{Value for name}{content}
432
+
433
+ ====:cr, :cR, :Cr, :CR for Docgenerator::Packages::Hyperref::Choicemenu#.to_latex
434
+ <<START>> and <<END>> are not part of the output, but needed to illustrate the line breaks.
435
+
436
+ Default:
437
+ <<START>>\ChoiceMenu[,]{Value for name}{content}<<END>>
438
+
439
+ * Result after Docgenerator::Packages::Hyperref::Choicemenu#cr:
440
+
441
+ <<START>>\ChoiceMenu[,]{Value for name}{content}
442
+ <<END>>
443
+
444
+ * Result after Docgenerator::Packages::Hyperref::Choicemenu#cR:
445
+
446
+ <<START>>\ChoiceMenu[,]{Value for name}{content}
447
+ <<END>>
448
+
449
+ * Result after Docgenerator::Packages::Hyperref::Choicemenu#Cr:
450
+
451
+ <<START>>
452
+ \ChoiceMenu[,]{Value for name}{content}
453
+ <<END>>
454
+
455
+ * Result after Docgenerator::Packages::Hyperref::Choicemenu#CR:
456
+
457
+ <<START>>
458
+ \ChoiceMenu[,]{Value for name}{content}
459
+ <<END>>
460
+
461
+ ===Docgenerator::Packages::Hyperref::Choicemenu#to_html
462
+ <span >content</span>
463
+
464
+ * No output routine defined for html - use a dummy
465
+ ===Docgenerator::Packages::Hyperref::Choicemenu#to_context
466
+ \choicemenu{content}
467
+
468
+ * No output routine defined for context - use a dummy
469
+ ===Docgenerator::Packages::Hyperref::Choicemenu#to_text
470
+ content
471
+
472
+ * No output routine defined for text - use a dummy
473
+ ===Docgenerator::Packages::Hyperref::Choicemenu#to_wiki
474
+ content
475
+
476
+
477
+ * No output routine defined for wiki - use a dummy
478
+ ===Docgenerator::Packages::Hyperref::Choicemenu#to_creole
479
+ content
480
+
481
+
482
+ * No output routine defined for creole - use a dummy
483
+ =end
484
+ class Choicemenu << Docgenerator::Element
485
+ #This coding is empty - this is the manpage definition, not the implementation
486
+ end #class Choicemenu
487
+ end #module Hyperref
488
+ end #module Packages
489
+ end #module Docgenerator
490
+ module Docgenerator
491
+ module Packages
492
+ module Hyperref
493
+ =begin rdoc
494
+ =Docgenerator::Packages::Hyperref::Textfield
495
+
496
+ ==Attributes
497
+ Attribute required? HTML LaTeX ~keyval ConTeXt Text Wiki Creole Values
498
+ ====================================================================================================
499
+ name : - - - X - - - -
500
+ password : - - - X - - - -
501
+ width : - - - X - - - -
502
+ height : - - - X - - - -
503
+ align : - - - X - - - -
504
+ borderstyle : - - - X - - - -
505
+ bordercolor : - - - X - - - -
506
+ backgroundcolor : - - - X - - - -
507
+ color : - - - X - - - -
508
+ multiline : - - - X - - - -
509
+ readonly : - - - X - - - -
510
+ hidden : - - - X - - - -
511
+ value : - - - X - - - -
512
+ validate : - - - X - - - -
513
+ format : - - - X - - - -
514
+ onclick : - - - X - - - -
515
+ onblur : - - - X - - - -
516
+
517
+
518
+ Docgenerator::Packages::Hyperref::Textfield can contain content.
519
+
520
+ ==Generate an object
521
+ test = Docgenerator::Packages::Hyperref::Textfield.new( {
522
+ #:name => <<value>>, % optional, values: [String, Symbol]
523
+ #:password => <<value>>, % optional
524
+ #:width => <<value>>, % optional
525
+ #:height => <<value>>, % optional
526
+ #:align => <<value>>, % optional, values: [0, 1, 2]
527
+ #:borderstyle => <<value>>, % optional, values: ["S", "D", "B", "I", "U"]
528
+ #:bordercolor => <<value>>, % optional
529
+ #:backgroundcolor => <<value>>, % optional
530
+ #:color => <<value>>, % optional
531
+ #:multiline => <<value>>, % optional, values: [true, false]
532
+ #:readonly => <<value>>, % optional, values: [true, false]
533
+ #:hidden => <<value>>, % optional, values: [true, false]
534
+ #:value => <<value>>, % optional, values: [String, Array]
535
+ #:validate => <<value>>, % optional, values: [String, Array]
536
+ #:format => <<value>>, % optional, values: [String, Array]
537
+ #:onclick => <<value>>, % optional
538
+ #:onblur => <<value>>, % optional
539
+ }, 'content')
540
+
541
+ Alternative generation
542
+ test = element(:textfield, {...Attributes...}, 'content' )
543
+
544
+
545
+ ==Outputs
546
+ ===Docgenerator::Packages::Hyperref::Textfield#to_latex
547
+ \TextField[]{content}
548
+
549
+ ====:cr, :cR, :Cr, :CR for Docgenerator::Packages::Hyperref::Textfield#.to_latex
550
+ <<START>> and <<END>> are not part of the output, but needed to illustrate the line breaks.
551
+
552
+ Default:
553
+ <<START>>\TextField[]{content}<<END>>
554
+
555
+ * Result after Docgenerator::Packages::Hyperref::Textfield#cr:
556
+
557
+ <<START>>\TextField[]{content}
558
+ <<END>>
559
+
560
+ * Result after Docgenerator::Packages::Hyperref::Textfield#cR:
561
+
562
+ <<START>>\TextField[]{content}
563
+ <<END>>
564
+
565
+ * Result after Docgenerator::Packages::Hyperref::Textfield#Cr:
566
+
567
+ <<START>>
568
+ \TextField[]{content}
569
+ <<END>>
570
+
571
+ * Result after Docgenerator::Packages::Hyperref::Textfield#CR:
572
+
573
+ <<START>>
574
+ \TextField[]{content}
575
+ <<END>>
576
+
577
+ ===Docgenerator::Packages::Hyperref::Textfield#to_html
578
+ <span >content</span>
579
+
580
+ * No output routine defined for html - use a dummy
581
+ ===Docgenerator::Packages::Hyperref::Textfield#to_context
582
+ \textfield{content}
583
+
584
+ * No output routine defined for context - use a dummy
585
+ ===Docgenerator::Packages::Hyperref::Textfield#to_text
586
+ content
587
+
588
+ * No output routine defined for text - use a dummy
589
+ ===Docgenerator::Packages::Hyperref::Textfield#to_wiki
590
+ content
591
+
592
+
593
+ * No output routine defined for wiki - use a dummy
594
+ ===Docgenerator::Packages::Hyperref::Textfield#to_creole
595
+ content
596
+
597
+
598
+ * No output routine defined for creole - use a dummy
599
+ =end
600
+ class Textfield << Docgenerator::Element
601
+ #This coding is empty - this is the manpage definition, not the implementation
602
+ end #class Textfield
603
+ end #module Hyperref
604
+ end #module Packages
605
+ end #module Docgenerator