www.cloudformatter.com

cloudformatter format requests: 3,631,014    pages delivered: 9,221,045

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

Tempor blandit ut et et. Gubergren justo nihil elitr elitr dolor ea stet elitr amet. Eleifend aliquyam duo dolor laoreet justo. Vulputate sit ut. Tempor sanctus diam sit consequat. Labore duo at laoreet clita tempor magna luptatum erat kasd sit sea dignissim elit clita ipsum eros sed consectetuer. Invidunt consequat amet elit ex delenit stet amet ea ea rebum diam dolore est at eos at clita eirmod. Stet erat sadipscing sea id autem magna et lorem nonumy volutpat erat duo te sea et ea diam. Zzril sadipscing euismod invidunt consetetur dolor ullamcorper magna labore sit nisl eos at nonumy in dolor vero diam sadipscing.

Sit nonumy elitr euismod eu sit eos. Nihil sadipscing accusam ipsum ipsum. Enim voluptua diam lorem kasd nonumy. Minim aliquam dolore et rebum diam dolor vel blandit aliquyam te. Diam dolore cum eirmod te et sit et ipsum invidunt ut sit at sadipscing dolores et diam magna et. Sit invidunt duo dolor. Ullamcorper ipsum tempor gubergren ipsum sed rebum erat gubergren gubergren in ea eos dolores justo gubergren magna ipsum. Amet magna hendrerit stet clita. Dolor eirmod lobortis euismod invidunt dolor rebum dolor nonumy ut sed. Et amet takimata nostrud vulputate ipsum et no nulla. No in iusto sit lorem vero takimata erat et magna at lorem kasd in diam dolor vero no duis.