Impoting XML into PDF Forms

Skip Navigation LinksHome  /  Support  /  Forums  /  DynamicPDF Generator for .NET (v4)  /  Impoting XML into PDF Forms

DynamicPDF Generator for .NET (v4) Forum

 Mar 10 2009 9:57 AM
Hi ,
I'm trying to import some XML and insert it into a PDF form i have created using DynamicPDF and am having trouble , is this even possible?
 Mar 10 2009 10:33 AM
Posted by a ceTe Software moderator
Hello,

Yes, you can generate the PDF file using the data from the XML file without any problem using our DynamicPDF product. You will have to read the data from the XML file using .NET classes then you can add the this data to the PDF file using page elements without any problem. Please refer the SimpleXMLReport example downloaded with the product download.

If you want to fill the form fields using this data then you can do this by accessing the fields by using its full name. You can refer to the Form Filling topic on our help documentation.

Thanks,
ceTe Software Support Team.
 Mar 23 2009 6:07 AM
Hello ,

Thanks for your reply.
So is it possible to insert a page(with formfields in it) from one PDF document into another , and formfill the resulting PDF from an XML file ?
 Mar 23 2009 6:35 AM
Posted by a ceTe Software moderator
Hello,

Yes, you can merge the PDF document with the forms and fill the FormFields by reading the data from the XML files without any problem. You will have to use our DynamicPDF Merger product to merge the PDF document and to fill the FormFields.

You can achieve your requirement by using the Append method which takes the start page, number of pages to merge and the file path.

Please feel free to download the fully functional evaluation version of our product DynamicPDF for .NET.

We have also released the version 5.1 beta edition of DynamicPDF for .NET.

Thanks,
ceTe Software Support Team.
 Mar 23 2009 7:33 AM
Thanks for your feedback , i will have a look at the example now.

Can you formfill directly from XML , or do you need to need to extract the attributes from the XML and manually set each item to it's form field in the code ?

How much does a Licence for the Dynamic PDF Merge tool cost ? Is this a seperate tool and would i only need to buy this tool ? Does this licence cover a developers licence and all the end users it's rolled out to as well ?

Thanks for your help ,
Ali
 Mar 23 2009 8:04 AM
Posted by a ceTe Software moderator
Hello Ali,

It is not possible to fill the FormFields with the data directly from XML file. You will have to read the XML file using .NET classes and then fill the form fields with the retrieved data. You can refer to the SimpleXMLReport example downloaded with the product download. Also please refer to the Form Filling topic on our help documentation.

Please refer the purchase page for the pricing details of our Merger product.

DynamicPDF Merger for .NET is a separate product and this will include the Generator in it. Are you already using any product?

We offer two licensing models. Server based licensing is intended for developers who wish to install our software on their server or web server. It is licensed per production server and allows an unlimited number of installations on development workstations and servers.

Developer based licensing is intended for developers who wish to distribute our software to a large number of clients. It allows one developer to develop an unlimited number of client or server based applications that use our product and distribute them royalty free.

You will have to choose one licensing model and one edition depending on your requirements.

Thanks,
ceTe Software Support Team.
 Mar 23 2009 10:43 AM
Hi thanks for your quick reply.

No i dont have another tool yet ,i meant would i need to buy another of your tools or would the Merge one do the job?

Another question , since i am inserting pages from other PDF's my page numbers would become out of sinc in the final document.Do you have the facility with the Merge too to re-order page numbers ?

Also we have "text" sections in our PDF's , for example "please go to Section 4 of document...etc" ..can we alter this text or remove it if this section isnt required for a certain client ?

Thanks again for your help ,
Ali
 Mar 23 2009 11:02 AM
Posted by a ceTe Software moderator
Hello Ali,

Yes, the merger will work for you.

You can add new page numbers using the PageNumberingLabel page element. It is not possible to reorganize the existing page numbers. You can refer to the PageNumberingLabel on our help documentation.

It is not possible to alter or remove existing text from the PDF document. However you can make it invisible by adding a rectangle with white fill color on top of the text. You can add new text or other elements on top of the rectangle without any problem.

Please feel free to download the fully functional evaluation version of our product DynamicPDF for .NET.

Thanks,
ceTe Software Support Team.

All times are US Eastern Standard time. The time now is 12:29 AM.