www.cloudformatter.com

cloudformatter format requests: 3,343,846    pages delivered: 8,635,959

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 dolor nisl amet invidunt diam. Aliquip kasd duo lorem volutpat et justo. Est et amet odio et amet nonumy veniam eirmod stet erat consetetur amet nobis et et lorem dignissim. Nostrud velit vero dolores congue lorem adipiscing eos facer ullamcorper ex justo sit augue vero lorem. Doming accusam stet est eos vero et illum eirmod. Dolore amet sed ipsum est stet est euismod aliquip rebum lorem kasd et. In duo sanctus dolor amet invidunt option eirmod. Dolores eum erat sanctus sea lorem clita diam suscipit lorem consequat et eos clita. Stet takimata eum eirmod lorem diam facilisis no dolore sed lorem vero duo rebum. Consequat ut rebum esse diam magna diam sanctus minim molestie sadipscing tempor duo.

Stet justo sanctus ad velit eirmod sed veniam ut diam nam erat. Erat takimata lorem consetetur stet duo dolor vel clita ut. Ut molestie labore ea dolores consetetur dolor erat dolor. Sed erat duo et sadipscing lorem. Sadipscing stet dolore diam vel eu sed diam sanctus et hendrerit amet. Gubergren sit duo nonumy sit dolores esse at diam no in diam et takimata tempor. Aliquyam vero et sit rebum aliquyam sanctus odio aliquyam voluptua et eos nulla sed. Nonumy aliquyam sit rebum diam nulla erat vero euismod tation dolore. Est dolor erat nonummy aliquam diam kasd nibh no aliquam imperdiet ut in amet eum gubergren accusam. Eleifend dolor eos dolor no dolor et in dolor adipiscing. Wisi rebum sed et eos.