Preferred way to insert data into pdf document


#1

We are just evaluating Aspose.pdf. Couple of questions.

1. What is the preferred way to insert data into pdf document ?
a. using aspose.pdf.form and insert data straight into pdf ? then how can i
create the field names
in my template pdf ?

b. using aspose.pdf and create xml for the pdf template?
then how can I create the template pdf xml to use?

your example shows category.xml, how do u create them ? manually ?

Thanks,

Gopi


#2

Dear Gopi,

Thank you for considering Aspose.

There are 3 ways to insert data into pdf ducument:

1. Generate your template using Acrobat (you can create field names), and use Aspose.Pdf.Form to fill the form field at run time;

2. Generate your template using MS Word and fill data using Aspose.Word, and save the final document as PDF;

3. Create you template with XML ( You have to do it manualy), and use Aspose.Pdf to fill data at run time.

Consider which one is better accoring to your application.


#3

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

<?xml:namespace prefix = v ns = "urn:schemas-microsoft-com:vml" />

Contact Name

Title

Phone

Davolio

Product Manager

Fuller

Vice President, Sales

Leverling

Sales Representative

Pea***

Sales Representative

Buchanan

Sales Manager

Suyama

Sales Representative

King

Sales Representative

Callahan

Inside Sales Coordinator

Dodsworth

Sales Representative














I have the above word document. When I convert to pdf i get the following error

Exception Details: Aspose.Word.z: This inline picture type is not yet supported. Please report this file to word@aspose.com.

Let me know if u guys have any fix for this,

Also sending the email to the word team.

Thanks,
Gopi