Template Editor - Macro Blocks tab

Blocks contain pieces of macro code that may (or may not) be used when inserting macro code content into a document. This allows you to create complex template such as complete HTML documents where you can choose what to insert into the document and what not.

For example - when creating a macro code, you can enter IMG tag in blocks to embed graphics in an HTML document. The user using the template will be able to choose whether to insert the image or not (by enabling or disabling the block)

The Blocks used in macro code tab contains a list of blocks that have been created. They are operated using the menu on the right and the check box next to the block name.

In blocks - similar to the left, middle, and right sides of the template - you can use variables as well as insert other blocks.

Template blocks
Lists the available blocks. Check if the block is to be used by default when using template.

Adding a new block
Click if you want to add a new block. Use the Edit Template Block window to create new blocks and edit existing blocks.

Rename selected block
Click if you want to rename a block. If a block is used in the body of a macro code, its name will be automatically renamed in all block call symbols.

Editing the selected block
Click if you want to edit the contents of the selected block. To create new and edit existing blocks, use the Edit Template Block window.

Delete the selected block.
Click if you want to remove the definition of the selected block from the template. Deleting a block definition will not remove its calls from the template content!

Remove all blocks
Click if you want to remove all block definitions from the macro code. Removing block definitions will not remove their calls from the template content!

Move item up / Move item down
Click to move the block up/down.

Related topics

To top