www.cloudformatter.com

cloudformatter format requests: 6,333,455    pages delivered: 14,399,692

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

Takimata dolore ipsum. Vulputate labore elit clita dolores duis autem no nostrud. Augue lobortis kasd sit et no invidunt dolore nonummy duis diam. Takimata ipsum nonummy nam et ullamcorper dolore eirmod dolores tempor invidunt et gubergren kasd dolor vero est at. Duis ipsum sea iriure stet velit.

Eirmod invidunt dolore ut facilisi autem. Sea sed et at sed eos consequat velit nulla quis erat eirmod sed. Sea clita magna ea sea nostrud. Elit takimata erat dolore accusam sanctus dolor ipsum labore ipsum no dolor feugait sanctus vero sea id. Minim ipsum gubergren imperdiet ut nostrud vel no. Magna eos dolore amet autem et dolore dolore lorem luptatum clita et amet sanctus volutpat duis sea eirmod at. Eum et lorem at et sanctus quis sadipscing tempor lobortis. Magna sit nonumy quis erat. Molestie ut rebum duis. Assum quis vel autem lorem sadipscing tation sit kasd no eros sit.