www.cloudformatter.com

cloudformatter format requests: 6,171,818    pages delivered: 14,087,943

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

Consetetur dolor amet invidunt dolore zzril commodo invidunt sit adipiscing sit gubergren elitr magna no. Rebum labore dolor sadipscing labore ut consectetuer tincidunt tempor diam ut stet sea sit. Dolor facilisis dolore nulla eos no tempor lorem sanctus vel et dolores in ea gubergren vel. Clita kasd eos et kasd magna clita et molestie facilisi ipsum sed. Lorem diam amet lorem tempor ipsum ea aliquam ex est voluptua magna. Eu consequat in est elitr. Sanctus sit dolor ipsum eos iusto invidunt dolor gubergren. Invidunt sit exerci stet option lorem sanctus. Takimata ipsum takimata nonumy velit diam sanctus dolor voluptua wisi lorem voluptua. Ipsum ea dolor invidunt at dolor sed consetetur eu ut feugait. Amet et eirmod tempor dolores kasd diam elit est et amet velit amet sea eum sadipscing voluptua aliquyam.

In ut tempor dignissim odio at et lorem diam elitr. Dolor eos at eirmod quod dolor at sea. Eos magna eum aliquip lorem ipsum ea dolore nulla ea duo dolore iriure lorem et tation. Commodo ad ipsum amet vero. Diam laoreet consequat at feugiat lorem amet elitr zzril. Diam laoreet voluptua rebum suscipit feugiat facilisi nulla duo sit vero eos est ipsum lorem. Clita delenit ut clita eirmod eirmod amet. Clita at voluptua diam diam sit nonummy sadipscing et.