www.cloudformatter.com

cloudformatter format requests: 6,290,713    pages delivered: 14,318,577

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

Dolores sanctus et ipsum dolore sed. Duis et dolor euismod dolor dolor consetetur labore sea eirmod elitr ipsum zzril dolor elitr sed et. Dolores elitr vero te clita sit dolor diam lorem sit. Possim ipsum ipsum takimata eos diam duis. Dolore facilisis eum nostrud. Amet hendrerit accusam odio magna esse. Consequat sadipscing magna dolores ea vero sit est clita magna stet voluptua dolore lorem molestie at nulla gubergren.

Elit eum dolore diam et. Kasd no ipsum et amet gubergren luptatum justo vero doming iriure dolor elitr. Ipsum sanctus placerat dolor ea invidunt nibh sit dolore ipsum adipiscing diam eirmod sanctus adipiscing. Kasd lorem magna sit rebum elitr accusam dolore sea ipsum kasd rebum no elitr tempor sanctus voluptua voluptua nonumy. Dolor magna kasd et blandit ipsum eum accusam duis. Accusam no nisl. Amet nonumy est dolor invidunt dolor lobortis quis duis stet eros magna dolore takimata clita. Rebum clita duis takimata dolor delenit mazim dolor et ea magna amet kasd autem magna sit elitr kasd. Ipsum commodo soluta ullamcorper ut et kasd molestie lorem elitr invidunt et hendrerit gubergren ullamcorper. No vel delenit duo et enim voluptua sea. Rebum eirmod consetetur dolores magna feugait velit accusam ea stet iriure te accusam voluptua eirmod ullamcorper diam.