1
+ < html > < head > < title > Macros</ title > </ head > < body > < h3 > < font face ="Verdana "> The Macros</ font > </ h3 > < font size ="2 " face ="Verdana "> Frequently
2
+ used markup / editing sequences can be bundeled to Macros, which makes them
3
+ one-click accessible via custom buttons in the Annotation Editor. A good example
4
+ for a useful Macro is marking up the selected text as a paragraph and
5
+ subsequently applying the structural normalization to the content of the newly
6
+ created tag.</ font >
7
+ < h4 > < font face ="Verdana "> The Macros Menu</ font > </ h4 >
8
+ < font size ="2 " face ="Verdana "> The Macros menu is part of the Window menu in the
9
+ GoldenGATE main window. It contains the functions for creating and managing
10
+ Macros:</ font >
11
+ < ul >
12
+ < li > < b > < font face ="Verdana " size ="2 "> Create:</ font > </ b > < font face ="Verdana " size ="2 "> Create
13
+ a new Macro by entering an Annotation type and selecting a processor.</ font > </ li >
14
+ < li > < b > < font face ="Verdana " size ="2 "> Edit:</ font > </ b > < font face ="Verdana " size ="2 "> Open
15
+ the Macro editor dialog.</ font > </ li >
16
+ </ ul >
17
+ < h4 > < font face ="Verdana "> The Edit Macros Dialog</ font > </ h4 >
18
+ < font size ="2 " face ="Verdana "> The dialog for Macro management is accessible
19
+ through the Edit function in the Macros menu. On the right of the dialog, a list
20
+ displays all existing Macros. In the middle, it displays the parameters of the
21
+ Macro currently selected in that list:</ font >
22
+ < ul >
23
+ < li > < b > < font face ="Verdana " size ="2 "> Macro Label:</ font > </ b > < font face ="Verdana " size ="2 "> The
24
+ label text for the button representing the Macro in the Annotation Editor.</ font > </ li >
25
+ < li > < b > < font face ="Verdana " size ="2 "> Macro Tooltip:</ font > </ b > < font face ="Verdana " size ="2 "> The
26
+ tooltip text for the button representing the Macro in the Annotation Editor.
27
+ This text should provide a one-sentence explanation of what the Macro
28
+ vaguely does.</ font > </ li >
29
+ < li > < b > < font face ="Verdana " size ="2 "> DocPart Type:</ font > </ b > < font face ="Verdana " size ="2 "> The
30
+ type of Document Part to create by the Macro.</ font > </ li >
31
+ < li > < b > < font face ="Verdana " size ="2 "> Open for Editing:</ font > </ b > < font face ="Verdana " size ="2 "> < b >
32
+ </ b > If checked, the newly created Document Part will be opened for editing
33
+ after the processor of the Macro has finished. This is particularly useful
34
+ for immediately correcting error of the processor, which is not too unlikely
35
+ if the latter applies NLP.</ font > </ li >
36
+ < li > < b > < font face ="Verdana " size ="2 "> Processor:</ font > </ b > < font face ="Verdana " size ="2 "> Above
37
+ the buttons, a label displays the type and name of the processor currently
38
+ selected.</ font > </ li >
39
+ < li > < b > < font face ="Verdana " size ="2 "> "Use ..." Buttons:</ font > </ b > < font face ="Verdana " size ="2 "> < b >
40
+ </ b > For every type of document processor accessible to GoldenGATE, a button
41
+ exists which opens a dialog for selecting the processor from a list
42
+ displaying all avalilable processors of the particular type.</ font > </ li >
43
+ < li > < font face ="Verdana " size ="2 "> < b > Summary:</ b > Below the buttons, a label
44
+ provides a brief summary of what the Macro does in its current configuration.
45
+ Since this summary is rather generic, it is not too appropriate as a tooltip
46
+ in most cases, although the Macro editor uses it as a fallback if not
47
+ explicit tooltip is given.</ font > </ li >
48
+ </ ul >
49
+ < font size ="2 " face ="Verdana "> At the top of the dialog, a line of
50
+ buttons provides the functionality for managing the Macros:</ font >
51
+ < ul >
52
+ < li > < b > < font face ="Verdana " size ="2 "> Create:</ font > </ b > < font face ="Verdana " size ="2 "> Open
53
+ a sub-dialog for creating a new Macro by entering an Annotation type and selecting a
54
+ processor.</ font > </ li >
55
+ < li > < b > < font face ="Verdana " size ="2 "> Clone:</ font > </ b > < font face ="Verdana " size ="2 "> Clone
56
+ the Macro currently selected. This is pretty much the same as
57
+ creating a new one, beside the fact that the parameters are copied.</ font > </ li >
58
+ < li > < b > < font face ="Verdana " size ="2 "> Delete:</ font > </ b > < font face ="Verdana " size ="2 "> Delete
59
+ the Macro currently selected. The processor of the Macro will not be
60
+ affected by this operation.</ font > </ li >
61
+ </ ul >
62
+ </ body > </ html >
0 commit comments