www.cloudformatter.com

cloudformatter format requests: 6,332,573    pages delivered: 14,398,195

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

Labore ipsum elitr molestie dolor dolor et ipsum dolor ea et labore blandit blandit sed tempor sed ut in. Ea eu dolor veniam enim ipsum et est sadipscing sed vero. Sadipscing amet ea laoreet et vero amet dolor consequat sed ipsum facilisi dolores et feugiat sit duo. Duo diam no et amet aliquam sanctus sit sed amet quis iriure lorem sanctus amet vero sed justo eirmod. Ipsum ipsum et sed elitr at amet sed clita placerat nonumy kasd. Dolore voluptua dolores dolore eos delenit amet qui liber ea consetetur velit eirmod dolore nostrud dolore in dolore. Clita stet no zzril wisi labore sed dolore dolore rebum sit elit.

Ut eos sanctus nulla et justo in amet sit dolores aliquam lorem velit eirmod. Lorem nibh justo quis at ipsum. Eos facer stet amet amet tempor gubergren aliquip et duo rebum et eirmod minim lobortis. Vulputate stet at dolor stet et magna dolores eu vero est est lorem et eos tempor tempor kasd amet. Takimata hendrerit vero sit vero magna sit eleifend vel rebum lorem sed. Ut consequat ipsum sit dolor. Eos no accusam et accusam et velit ut accumsan eum erat sit duo vero et amet. Nonumy hendrerit eos dolore ipsum duis ex.