> Could give me some advice regarding the general structure of such an implementation?
> Do I understand you correctly, that I would need to modify the source code for pd4ml_demo.jar, so that the Pd4Cmd sections is able to pass a new parameter to the Java API?
You may rename the class, modify, compile and leave the original Pd4Cmd packed to pd4ml(_demo).jar untouched.
You need to invoke the method. But now I am not sure if it will work for inline headers/footers. Next week we’ll check that and most probably add the missing parameter to Pd4Cmd.
> In addition, what is the difference between Pd4Cmd and Pd4Php ?
Pd4Php was the first command line tool version. After we added more general purpose functions we renamed it to Pd4Cmd.