Hey
I have a very close deadline on a project where I must generate two types of new .pdf-documents, two certificates.
Both types must follow a very strict design standard. The content is mostly standard text with a logo. Some of the content is dynamic and the data are defined in a database.
The dynamic content is:
1. textdata as names, adresses, phone numbers and so on.
2. Choices marked as checked checboxes
The easiest solution would be to use the existing documents, insert the texts in the relevant places and check the checkboxes that must be checked.
I have searched in your user forum and if I understand correctly this solution is not possible. Because it is not possible to manipulate existing elements. What do you suggest? Is it possible and easy to create a template from the existing documents?
Build templates from existing document
Re: Build templates from existing document
Support · Apr 6, 2007Hello,
Yes, you can do this by using our product. You can check the existing check boxes and you can fill the form fields with some text from the database also using the form field's name without any problem. You can refer to the Form Filling
topic on our help documentation.
You can even generate the PDF dynamically from scratch or you can use the existing PDF as a template to fill with some data. However you can not change the existing form fields and its properties but you can fill the form fields and you can add new contents to an existing PDF. Please refer to the Adding New Contents
topic for more details.
Thanks,
ceTe Software Support Team.
Re: Build templates from existing document
Forum member · Apr 6, 2007Thank you
In this case I think I will just add new content. My designer has created the .pdf-templates in Illustrator and I have asked her to make space for the texts and checkboxes so I can add the dynamic content using coordinates. I have tested it and it works fine.
Is it possible now somehow to get and name the existing elements so I can access them? I have the Adobe Creative Suite.
I do not have any experience with Acro Forms - do not even know what it is - and do not know very much about the .pdf-format.
I know that you can create forms and associate them with standard documents and it is all. Can you recommend tutorial(s) about these subjects? Or do you have some links? Including information about Acro Forms. I know that generating .pdf-documents will be an important part of the websites I develop in the future.
Re: Build templates from existing document
Support · Apr 6, 2007Hello,
Yes, you can add new contents and form fields to the PDF. You can know the existing form field's name by using the FullName property of the FormField class. You can know the names of the form fields in your PDF by using it as a template in the FormFieldReader example downloaded with the product download.
You can refer to the Acro Form Fields
on our help documentation to know more about adding the form fields to a PDF document.
Please refer to the Working With AcroFormFields
topic to know about filling, reading the form field values and to flatten the fields.
Thanks,
ceTe Software Support Team.