Not signed in (Sign In)

Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.

Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
    •  
      CommentAuthorCordell
    • CommentTimeMar 9th 2010
     
    Hello, I have a pdf-document and some fields are depend of users of my web-page that forms pdf documents. User writes some text in my form and it goes into generated pdf-document fields. So can I put text in pdf-form somehow "normal" way, without using position:... or just paddings, maybe its possible somehow get descriptors or what of fields that should be changed... like in JS: a = document.name[0].value etc? Thanks
    •  
      CommentAuthorCordell
    • CommentTimeMar 9th 2010
     
    Ok, I mean - how I can dynamicly put data into pdf-template? I can try to use XML, but maybe I was reading manual inattentively and I can find any way to do it with mPDF? Thanks
    • CommentAuthorIanBack
    • CommentTimeMar 10th 2010
     
    I think I understand!

    A PDF file is designed to specify exact layout on the page, so once it has been generated there is no ideal way to insert text - and it certainly won't re-flow text around the insertion.

    You need to set up a HTML template, add the user-input and generate a new PDF file each time, to do it properly.

    There is a "fudge" to insert small portions of text - see OverWrite in the manual