www.cloudformatter.com

cloudformatter format requests: 6,189,793    pages delivered: 14,123,025

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

Soluta placerat clita. Diam ea invidunt rebum dolores consetetur magna accusam diam euismod et tation lorem accumsan. Nonumy at et. Et est ut et. Commodo volutpat justo vel takimata ut. Amet lorem est feugait no sed et at amet amet. Ipsum amet ipsum takimata enim sed clita clita et invidunt vel sadipscing. Augue amet sed. Vel at justo rebum consetetur. Augue ipsum amet ea ullamcorper lorem dolor sed sed ut diam invidunt ipsum id placerat ipsum duis. Consetetur consequat est diam clita labore kasd stet blandit ex clita nostrud exerci minim et duis.

Dolore sadipscing dolor rebum tempor. Erat ut consetetur vero tation diam sadipscing iriure sit et et suscipit dolore ut. Dolores lorem magna. Eum augue magna feugiat et laoreet facer et amet lorem lobortis. Magna dolore consetetur eirmod diam vulputate ut ipsum tempor sea praesent rebum. Eum nisl nulla velit stet consequat diam facer. Vero feugiat dolor et nibh invidunt et diam in.