Advanced PDF Tips

It’s mind-blowing to think about the multitude of animals that exist in this world.


767

Declaring  Local Variable In Advanced PDF:

<#assign x=10>  // In advanced PDF assign keyword works as a local variable.
if you used above variable(x) in list then you can't get that value outside 
of list .For getting that value you should use global variable.
EX:

  <#list 1..3 as n>
 <#assign x=x+1>
</#list>

Declaring  Global Variable In Advanced PDF:
<#global x=10>//In Advanced PDF global keyword works as global variable.
EX:
 <#global x=10>
<#list 1..3 as n>
 <#assign x=x+1>
</#list>
${x}

Split Functionality:
We can use split keyword in Advanced PDF.
EX:
<#list "some,,test,text,"?split(",") as x>
  ${x}
</#list>


Note:Please refer below link to all supported methods on advanced Pdf
http://freemarker.org/docs/alphaidx.html


Like it? Share with your friends!

767
admin

One Comment

  1. 644959 493214An attention-grabbing dialogue is value comment. Im certain that its greater to write on this topic, towards the often be a taboo subject but typically persons are not sufficient to speak on such topics. To yet another location. Cheers 673123