www.cloudformatter.com

cloudformatter format requests: 6,304,396    pages delivered: 14,345,518

PDF File Attachments

xportability LLC

PDF File Attachments

http://www.cloudformatter.com

You can insert a file attachment into a PDF document using a special tag pdf-attachment. There are two required attributes filename used as a simple name of the file inside the PDF and href which is a reference to the file you wish to insert. You should use an appropriate filename with extension so that it will open using the associated application.

<pdf-attachment filename="data.xlsx" href="/Resources/Attachments/data.xlsx"/>

The file data.xlsx is attached inside this PDF here using the code above. We've used a little CSS to style the <pdf-attachment> tag:

Notice: If you are using some browser-based viewer like Chrome, you probably will not see attachments. It is because that product does not support them. Download the PDF locally and use a PDF viewer that supports them.

Sample Heading

Invidunt dolor doming rebum delenit voluptua no duo consetetur. Est sit ut dolores et dolor eirmod gubergren dolor et diam. Labore ipsum at lorem diam no esse. Eirmod nulla sit imperdiet erat sadipscing luptatum elitr lorem eu diam et et. Nonumy vulputate invidunt dolore qui facilisis gubergren labore enim. Rebum aliquip diam dolor et nonumy eu quis nonummy accusam ut voluptua sit eirmod tempor diam ut. Sed duo et justo consequat autem no et duo amet. Clita duis velit ut nonumy vel consetetur et. Eos accusam et amet erat amet clita stet erat congue sit sadipscing in aliquyam. Magna erat nonumy est facer diam ipsum sanctus. Ut aliquam sed amet vero voluptua at vero odio volutpat mazim no dolores et.

Volutpat erat vero in commodo ea possim dolore ut et kasd. Accusam labore ipsum no sadipscing sed sed diam amet sit eirmod eos eos justo et at nisl. Vel accusam assum ut justo gubergren dolore eos takimata adipiscing aliquyam sit zzril lorem amet. Sanctus assum erat duis luptatum eirmod adipiscing magna odio no accusam esse magna et consequat rebum. Est vero possim dolore eos ea nonumy. Et aliquam feugait congue lorem nulla labore duis ut eum dolor accumsan eos sed no.