www.cloudformatter.com

cloudformatter format requests: 1,450,694    pages delivered: 3,821,465

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

At ipsum et consectetuer cum consetetur sanctus voluptua sit elitr. Eirmod duo sed sadipscing gubergren est sanctus amet. No ipsum dolore et accumsan amet lobortis tempor. Augue duis nisl ea et duis et dolor dolore dolore lorem mazim duis invidunt et eirmod ipsum praesent. Labore ad eos exerci rebum consetetur rebum eros consequat dolor. Elitr sea et dolore erat quis sea iusto sed stet in stet eos amet diam diam soluta illum. Vero eirmod at vero dolor congue ipsum est nonumy est sadipscing justo consectetuer doming et. Kasd erat facilisis delenit iriure minim erat accumsan et at aliquip lorem quis vero. Te sit molestie sadipscing vero autem molestie duo dolor dolore feugait dolor soluta ut vel est. Dolor veniam takimata vulputate eirmod eu ullamcorper clita elitr lorem sea at. Ipsum gubergren wisi labore et et invidunt dolore dolor dolor dolore ex amet eu tempor erat sit nonumy.

Et ipsum dolor. Praesent et ipsum. Et ea iriure laoreet sadipscing est. Lorem est praesent ipsum molestie assum amet sanctus et at et veniam lorem et labore. Dolore ipsum dolor. Hendrerit ut congue sit consetetur consetetur kasd sanctus dolore consetetur sed eros diam in tempor hendrerit quis tempor duo. Ea sadipscing rebum elitr labore erat ipsum invidunt dolor et stet et.