Can you embed an HTML page in a PDF file?

A flash file can be embedded in a PDF document. Does anyone know if it's possible to embed an HTML page as well?

Added:

  • I mean not just a simple HTML document, but also a web page with Javascript.
+3
source share
3 answers

The answer is no. Although you can embed videos, sounds, and SWF files in PDFs, dynamic HTML files are not supported. (Adobe AIR is more suitable for packaging and distributing HTML files).

The best you can do in PDF is to use the ATTACH option in Adobe Acrobat. This will “attach” any file with a PDF document, similar to how you add an email attachment. But the application cannot be viewed in a PDF document and must be opened separately.


:
Javascript PDF PDF.

+3

. , , - dompdf (PHP) PDF HTML-, . JavaScript, Adobe Reader JavaScript.

, PDF , (.. ), , (.. ). Adobe Flash, , , .

+2

The best workaround would be to create an html web viewer in Adobe Flash and embed it in PDF as SWF. In "Acrobat" in the section "Rich Media" there is an option "Add SWF".

0
source

All Articles