Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #26580

    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, “”, “DXL to PDF convesion result. $[page] of $[total]“);

    there’s problem with div’s width and padding.

    thanks for your help.

    here you can find the some codes :
    fichier zip: PD4ML.zip

    #28581

    sorry wrong pdf file
    i’ll update tomorow.

    #28582

    Simple HTML
    Bad render in PDF cf file join
    [language=HTML:311s4b33]


    TITRE




    AAAA
    BBB


    [/language:311s4b33]

    http://www.fichier-zip.com/2011/07/12/expodj1135/

    #28583

    As I see, the PDF is generated with PD4ML v321b3, which is quite old. Obviously it is from our sample Notes database.

    If would make sense to replace it with the most recent version – in the meantime we addressed a lot of rendering issues. I’ve attached a PDF generated with one of the new versions – as for me it looks correct.

    #28584

    i’ve update again and it’s ok now.
    first update wasn’t ok i think
    thanks !

Viewing 5 posts - 1 through 5 (of 5 total)

The forum ‘HTML/CSS rendering issues’ is closed to new topics and replies.