pdx:clearBlocks

Removes remaining BLOCK type variables from the Word document.

Description

Element definition

The BLOCK variables are wrappers of content. They are used to remove unwanted parts of the document on "run time".

This method removes the remaining BLOCK variables that have not been already removed by the deleteTemplateBlock method, i.e. content that was not removed from the original template.

Code samples
#Example 1

config.xml

content.xml

settings.xml

The resulting Word document looks like: