[{assign var="pageset" value=$pageset|default:"new"}]
[{assign var="orientation" value=$orientation|default:"P"}]
[{assign var="format" value=$format|default:"A4"}]
[{assign var="defaultPagePadding" value=","|explode:"45,20,20,25"}]
[{assign var="pagePadding" value=$pagePadding|default:$defaultPagePadding}]
[{foreach from=$pdfBlock_header item="_block"}]
[{$_block}]
[{/foreach}]
[{foreach from=$pdfBlock_footer item="_block"}]
[{$_block}]
[{/foreach}]
[{foreach from=$pdfBlock_content item="_block"}]
[{$_block}]
[{/foreach}]