Copy link to clipboard
Copied
Hi,
I have looked up online for editing pdfs, but all I got is reading or writing pdfs, merging multiple pdf pages or removing pdf pages.
I have a pdf that has come content in it and now I want to add some other content into the existing pdf, somewhere in between the existing content.
How can we do this ?
Thanks
One idea is to have form fields in the PDF that you can populate, then
flatten so the form fields don't show up. I did this many years ago
using ActivePDF Toolkit. I'm not sure if the modern cfpdf tag makes
this easier.
Maybe you could treat the pages that have dynamic content in them
differently. For example, if you have two pages with dynamic content
and the rest is static, you can generate those two pages separately,
using something like cfdocument or cfreport, and merge them with the
rest of the PDF
...Copy link to clipboard
Copied
Do you mean adding content within an existing page, or adding a page
between two other pages? Is it potentially complex content, or is it
something simple like adding someone's name and the date in a blank
space reserved for that information?
-Mike Chabot
Copy link to clipboard
Copied
Hi,
Yes, adding content to an existing page and the content is not so complex, its just few charecters of letters and numbers that need to be inserted in blank space.
Thank you
Copy link to clipboard
Copied
One idea is to have form fields in the PDF that you can populate, then
flatten so the form fields don't show up. I did this many years ago
using ActivePDF Toolkit. I'm not sure if the modern cfpdf tag makes
this easier.
Maybe you could treat the pages that have dynamic content in them
differently. For example, if you have two pages with dynamic content
and the rest is static, you can generate those two pages separately,
using something like cfdocument or cfreport, and merge them with the
rest of the PDF pages as a second step. I've done this before to add
various user-specific charts and graphs to a professional looking PDF
document.
-Mike Chabot
Copy link to clipboard
Copied
Hi Mike,
sorry about the delay, I have been occupied with something else.
yes, your suggestion was really great, I used the adobe acrobat to edit the pdf and insert some text fields and flatten the pdf using the cfpdf tag
that made it.
Thanks