If you added a macroCall to the Defined Action list box, the macro definition box appears at the bottom of the dialog.
1. Complete the macro definition box as follows:
|
Figure 37: Edit macroCall. |
Macro Name: Specify the name of an existing macro to call. Macro Parameters: If the macro to call has parameters, specify the values to pass to the parameters here. - Click Add to specify a macro parameter An expression such as {0} appears in the Parameter Values list. - Using the syntax format specified, click in the field and enter an expression to use to substitute for this parameter. |
2. Click Finish.
Nexaweb Studio adds the macrocall to the Source of the selected file.
The macroCall appears in the Outline view. To view details about this macro, click + to expand it in the Outline view. Information about this macro also appears in the Properties view.
3. To view the macroCall in the file, click the Visual Editor Source tab. The macroCall appears similar to the following,:
<macro:macro xmlns:macro="http://openxal.org/core/macro" name="defaultMacro1">
<macro:macroCall name="macroName"/>
</macro:macro>