These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

PDF with page, what is repeat more times.

palces
Registered: Nov 25 2010
Posts: 22

Hello.
I have pdf, what have one page.
It is something, like payment order. It can have one page with 6 items, or 100 pages with (100*6 items).
 
Is some way, how is possible create from these one pdf page dinamicly generate documents? For example, if I will needpayment order with 7 items, it will be generate second page, what will have background like base document, but it will be populate diferent data from xfdf?
 
Thanks. Pavel

My Product Information:
Acrobat Pro 10.0, Windows
gkaiseril
Expert
Registered: Feb 23 2006
Posts: 4307
You can use the Template object in Acrobat. But form fields will be uniquely named which you will have program around.

George Kaiser

palces
Registered: Nov 25 2010
Posts: 22
Hmm, uniquely named. Is possible use kids?
Like field name telephone on first page 1.telephone, 2.telephone...
gkaiseril
Expert
Registered: Feb 23 2006
Posts: 4307
The naming is a little more complext that that, since one could use more than one template in a PDF.

A Lesson in Templates for Adobe Acrobat by Dave Wright

George Kaiser

palces
Registered: Nov 25 2010
Posts: 22
How I can create pdf template? Where it is in menu? I can not find it :( I have slovak version...
palces
Registered: Nov 25 2010
Posts: 22
Do you have some example file?I need look to it.
palces
Registered: Nov 25 2010
Posts: 22
Is these option in Acrobat Pro 10.0? Or I need Acrobat Pro Extended 10.0 OR 3D?
try67
Expert
Registered: Oct 30 2008
Posts: 2398
Templates can be created in a script using the createTemplate() method of the Document object.
See the Acrobat JavaScript API Reference for more info.

- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com

palces
Registered: Nov 25 2010
Posts: 22
I see in documentation this information: The template feature does not work in Adobe Reader.
So it probably means, that my customer, what will be generated these documend, will need adobe acrobat pro.
So it is unusable for me.

I need create (on adobe acrobat X pro) single page pdf document, what will be use (on acrobat reader) in loop when I will need more pages (it will be populated from XFDF).
Is it all possible with acrobat??? Is some easy way?
try67
Expert
Registered: Oct 30 2008
Posts: 2398
Templates can be spawned in Reader only if the file has a special right applied to it. See my question here:
http://acrobatusers.com/forum/javascript/spawn-template-pages-reader

Otherwise you can use dynamic LiveCycle forms.

- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com

palces
Registered: Nov 25 2010
Posts: 22
But in LiveCycle I must design form. And I have form from image, I was add only fields...
I must use original file...
try67
Expert
Registered: Oct 30 2008
Posts: 2398
You can convert an Acrobat form to a LC form.

- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com

palces
Registered: Nov 25 2010
Posts: 22
Can you describe me how it is possible?
And will be styll possible populating these form from XFDF?
try67
Expert
Registered: Oct 30 2008
Posts: 2398
I don't have LC in front of me right now, but as far as I recall when you open it you can select to create a file from an existing file, at which point you select your current PDF.

- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com

palces
Registered: Nov 25 2010
Posts: 22
Hmm. Now I was sucessfull convert it to LiveCycle, but now my xfdf file is not working :(
palces
Registered: Nov 25 2010
Posts: 22
Here is my files http://files.palces.net/test.zip
File named like LC.pdf is my Acrobat form convertet to a LiveCycle form + i was included LC.xfdf.
Second one file with name VPAP11P_V1.pdf is my effort, how I was start create document with more pages, based on first page... It in not good way (I have one template awith 10 levels fields, and only one iw visible at the moment...) But broblem is, that i will need minimal 50 "levels", or pages... And create it on PC is impossible due big size...

So please help me! :(
Do you have ideu, how it is possible do it?