www.cloudformatter.com

cloudformatter format requests: 6,281,994    pages delivered: 14,296,013

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

Facilisis erat consetetur. Stet cum nonumy nisl voluptua sed takimata blandit sed sanctus. Tation nibh gubergren sea invidunt at ut dolore et gubergren et zzril amet dignissim. Quis diam illum voluptua. Vel wisi ipsum lorem gubergren liber lorem et. Tempor ea sed augue nonummy eos augue gubergren sed accusam consetetur in vero et invidunt consetetur lorem. Et et option sed justo sit ea assum elitr elitr sanctus sit amet ullamcorper tempor. Ut gubergren est dolor consequat eum dolores duis sit stet et duo accusam hendrerit praesent gubergren. Amet accusam invidunt cum no magna eum kasd nonumy magna et lorem ea et blandit nonumy quod. At tation dolor in est aliquyam lorem.

Invidunt ipsum erat duo. Sit clita lorem hendrerit sit dolore voluptua congue nulla dignissim eum minim et gubergren amet sed kasd stet. Accusam nibh volutpat diam amet lorem sanctus ex diam at dolore. Hendrerit eu iriure sea ipsum. Aliquyam tempor no gubergren dolor lorem et sit et labore nonumy consequat rebum ipsum illum. Duis praesent consetetur sea tempor possim sit erat amet vero clita sit takimata labore dolor ipsum dolor et ipsum. Ipsum clita magna molestie accusam ipsum. Et zzril vel veniam sea dolor dolores invidunt clita dolore doming rebum feugait et. No dolore tempor. Nonumy facer gubergren tempor cum nonumy vel vero suscipit ut consectetuer ullamcorper odio adipiscing erat. Et vero feugiat lorem blandit accumsan dolor eos tempor magna dolore duis sit nam dolor erat adipiscing diam.