Hi,
first, sorry for my english, i'm french ^^
i'm currently testing PD4ML for one of my customer.
We want to generate PDF with HTML on lotus notes web applications.
An ajax called agent generate the pdf with the html passed in POST method
the call
sUrl = "//A_TSTEXPPDF?OpenAgent"
var sRet ="";
$.ajax({
type: "POST",
url: sUrl,
data: Trans(sData),
cache: false,
async: false,
success: function(sRep){
console.log(sRep)
}
});
in the java agent
html = docCont.getItemValueString("Request_Content");
generatePDF( html, fos, PD4Constants.A4, "", "<font color=green face=tahoma>DXL to PDF convesion result. $[page] of $[total]</font>");
there's problem with div's width and padding.
thanks for your help.
here you can find the some codes :
fichier zip: PD4ML.zip