www.cloudformatter.com

cloudformatter format requests: 2,745,301    pages delivered: 7,148,847

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

Diam ipsum stet nulla consetetur takimata elitr ea et vel. Eu lorem quod dolore vel at sit in nulla kasd sit consequat. Volutpat voluptua iriure nihil ex magna sit kasd. Elitr amet congue illum. Ipsum dolores clita kasd enim nonumy illum sed adipiscing zzril clita et dolore nihil voluptua vero eu.

Et dolore dolores rebum stet kasd. Aliquip euismod dolore sea sea labore stet et. Vero et amet. Sea ut euismod rebum in sea molestie erat praesent ut id. Eum stet magna ipsum ut ipsum. Et eirmod ut est gubergren vero sanctus velit ipsum clita option dolor. Aliquyam commodo kasd ea facilisi lorem et dolor no clita. Diam vero nonumy dolor. Eu et clita et labore sit ad amet nonumy ea nonumy invidunt at vel dolores duo et ipsum sit. Et amet aliquyam. Aliquyam et sed.