Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Embed PDF within PDF

Explorer ,
Jun 01, 2009 Jun 01, 2009

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?

4.9K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 06, 2009 Jun 06, 2009

Create the PDF first, using cfdocument. Then use cfpdf to merge pages from another PDF into it.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jun 06, 2009 Jun 06, 2009
LATEST

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources