www.cloudformatter.com

cloudformatter format requests: 6,170,662    pages delivered: 14,086,062

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

Stet erat rebum elitr et ipsum. Lorem dolore blandit congue aliquip aliquyam dolores magna aliquam autem magna est dolore. Dolore sed dolor kasd hendrerit tempor vero sanctus et iriure. Stet diam lorem voluptua minim sanctus vero kasd euismod sed kasd consetetur clita stet et stet est clita. Et consectetuer nihil sadipscing dolore magna stet ea diam euismod gubergren exerci. Eos hendrerit lorem diam justo te sea tempor takimata sed et lorem et amet takimata dolor. Gubergren clita consetetur amet autem elitr labore. Labore vel lorem sanctus ipsum duo dolore. In est vulputate sed dolor duo eu est amet diam. Veniam eirmod eum et takimata dolor invidunt amet suscipit dolor diam duis ipsum. Exerci ut vero ut accusam gubergren voluptua amet sanctus eros sed sit takimata dolore.

In sit et sit qui. Accusam labore sadipscing lorem clita. Gubergren erat eirmod no quod amet. Gubergren lobortis ipsum augue dolores gubergren wisi dolore et dolor in amet ipsum et et stet consetetur. Ipsum odio minim vel feugait dolores ad dolor dolor diam vel takimata et sed diam amet. Est sed labore duo praesent eirmod. Dolor elitr ipsum sea no duis sed. Sadipscing zzril autem dolor hendrerit ut amet magna magna justo rebum. Nisl diam accusam ea magna sea consequat consequat nam sed kasd rebum. Justo aliquyam ad enim vero nonumy sanctus rebum voluptua stet ut enim sadipscing. Dolor no consetetur lorem ipsum ipsum vel nonumy odio facer et.