@radzmar: I already found this page
(http://thelivecycle.blogspot.de/2011/06/field-designer-macro.html)
which introduces script macros for LCD. I was not able to write any
JavaScript code except debug commands.BTW: Would it work to try to
convert the PDF to an XDP file and do all work on the XDP?