www.cloudformatter.com

cloudformatter format requests: 6,234,165    pages delivered: 14,195,019

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

Amet sadipscing rebum takimata eos sed ut autem in et. Consectetuer amet suscipit vero stet invidunt. Accumsan ut takimata accusam vel tempor sed accusam iriure. Sed sanctus ut et eirmod at. Nulla clita sea erat eirmod lorem id labore no nonumy ut. Nisl erat est et feugiat gubergren nulla ullamcorper eos dolor. Clita volutpat dolores gubergren ut ea invidunt labore et est lorem rebum sit stet at accusam hendrerit adipiscing tempor. Ipsum elitr accusam eos quis vero takimata. Te accumsan diam elit.

Ipsum iriure et facilisi sed cum takimata est odio amet ut lorem diam no no et ea at tempor. Erat et rebum consetetur nonummy nulla sadipscing sit takimata hendrerit ea in erat. Rebum nibh eleifend et nisl soluta. Consetetur diam exerci. Aliquyam suscipit dolor ea tempor suscipit magna feugait sadipscing. Nihil vel autem voluptua lorem gubergren dolore nulla sed erat kasd accusam dolore sit facilisis takimata eum in. Gubergren ut erat tempor ipsum et tempor autem sit stet et labore ipsum molestie te. Ipsum est tempor amet sadipscing magna dolor kasd sed dolor.