The Custom Content Dialog allows you to create a command that inserts a pre-defined content template into your document (e.g " bold", " graphic", etc). To learn more about Custom Content, see Custom Content Customization. For instructions on how to create Custom Content, see How to Create Custom Content.
Figure 1. Custom Content Dialog
For a new custom content template there are automatically assigned default values that the user may modify when creating a new template:
Unique identifier for the new custom content template.
Human-readable inscription.
Icon for the button which inserts this custom content template.
The hot key associated with this custom content template. To assign the hot key, just put the cursor into this edit box and hit the key combination.
The
edit box provides the XML content which will be inserted if the result of XSLT match expression in the edit box evaluates to true at the current cursor position. Empty always evaluates to true, and the first content with matched context expression is applied.The Inserting Custom Content to a Position that is Different from the Current Cursor Position). If the returned node-set is empty, then the insert operation is not performed, and the current content template alternative is considered as not matched even if the match expression evaluates to true.
edit box and combo-box define the position where the inserted template should go relatively to the current cursor position. If you want to insert a custom content into the current cursor position, leave the edit box empty. Otherwise, the edit box must contain an XPath expression which returns a node-set from which the first node will be used to determine the insert position (see alsoBy default, every change made to the Serna GUI is not permanent: you should save it before you close the document. If you forgot to save changes, open the document from the recent file list: the GUI with your changes will be restored. For instructions on how to save the GUI view, see How to Save View.