Copy link to clipboard
Copied
I am using CFDOCUMENT to create a PDF on the fly with a bunch of data from the database. About mid way though this document, I get to a section where I would like to embed the contents of an external PDF file in that spot and then continue on. Is this possible?
Copy link to clipboard
Copied
Create the PDF first, using cfdocument. Then use cfpdf to merge pages from another PDF into it.
Copy link to clipboard
Copied
Well that's actually what I'm already doing. I'm using CFDOCUMENT to generate my initial PDF out of dynamic HTML. The problem is that in my initial PDF, I need a link that jumps down to the second PDF and when I use CFPDF to merge the two, the href using "#foo" will not jump down to the anchor in the second PDF when I merge them. So I wanted to try and get the contents of the second PDF and inject it into the first one so I can have the anchor actually in the first one as opposed to merging them. After doing research though on this I really don't think it's possible.