urgent question about pdf/fdf
Posted: Mon Dec 08, 2008 6:24 pm
Hello,
I recently posted a question about dynamically filling a pdf form. It turns out to be easy using fdf. Use adobe, create fields in the form and use a little function to do a search and replace. I started my coding and everything looked perfect until I realized that I have to repeat some pages from the original document depending on the data.
So , for example the original document has page 1,2,3. But depending on the data I want to repeat page 3 2 times. So at the end I will have page 1,2,3,3.
Now I have no idea how to do this , and found no clues on the Internet so far.
Anyone here work with fdf/ pdf before that may have the answer to my urgent problem.
The problem is that fdf are not pdf, they are just an external key-value flat file that need the original pdf in order to merge on the fly. Since the original will have a pre-defined set of pages.
I recently posted a question about dynamically filling a pdf form. It turns out to be easy using fdf. Use adobe, create fields in the form and use a little function to do a search and replace. I started my coding and everything looked perfect until I realized that I have to repeat some pages from the original document depending on the data.
So , for example the original document has page 1,2,3. But depending on the data I want to repeat page 3 2 times. So at the end I will have page 1,2,3,3.
Now I have no idea how to do this , and found no clues on the Internet so far.
Anyone here work with fdf/ pdf before that may have the answer to my urgent problem.
The problem is that fdf are not pdf, they are just an external key-value flat file that need the original pdf in order to merge on the fly. Since the original will have a pre-defined set of pages.