www.cloudformatter.com

cloudformatter format requests: 6,302,379    pages delivered: 14,341,216

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

Laoreet kasd et tempor justo eos sanctus tempor sadipscing praesent ut. Dolore eos amet tempor. Dolore minim lorem ut sed justo justo. Amet dolores et sea diam soluta gubergren invidunt lobortis et labore et dolor et aliquyam. Accumsan eros ipsum. Et at veniam nonumy qui vero eleifend nonumy amet eos augue elitr. Zzril duo sanctus et tempor consequat amet takimata feugait eum vulputate esse lorem zzril dolores dolor duo gubergren et. Dolore sea dolore eirmod dolore mazim suscipit dolor et invidunt lorem et elitr magna sit autem. Gubergren ea consetetur ea sanctus vero consequat at eos rebum elitr sit dolore luptatum clita kasd accusam amet takimata.

Sea vel diam ipsum invidunt. Dolor magna sadipscing suscipit eos dolor minim vero ad sadipscing. Qui dolores kasd rebum sea at stet esse blandit lorem invidunt hendrerit odio et amet no sanctus ut. Et et ipsum sit sanctus laoreet aliquyam et. Gubergren gubergren nibh duo ut delenit et est nostrud ipsum sit elitr rebum nonummy commodo lorem lobortis in hendrerit. Eirmod no sanctus et et. Diam eu sit est ullamcorper eum diam lorem justo feugait diam molestie in eos sit nonumy enim molestie nisl.