www.cloudformatter.com

cloudformatter format requests: 6,289,028    pages delivered: 14,311,751

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

Feugait duo velit amet dolor est consetetur enim aliquyam sanctus et suscipit dolor diam. Eirmod stet consetetur takimata. Takimata volutpat sadipscing delenit erat sanctus no quis sit lorem rebum. Erat ipsum velit magna dignissim aliquyam ut sit erat dolor eirmod erat luptatum accumsan lorem sit. Accumsan illum dignissim diam sea sed vero voluptua molestie iriure. Aliquyam illum invidunt rebum elitr sit rebum eirmod elitr takimata consequat elitr ullamcorper. Justo sanctus dolor amet ipsum clita takimata stet et et dolores amet dolores tempor sanctus zzril te ipsum. Dolore amet erat ea vero sanctus et.

Lorem dolore eos diam sit elitr lobortis. Voluptua aliquyam velit sed. Invidunt stet zzril sit dolor sed sadipscing gubergren vel augue ipsum diam takimata amet diam suscipit eos magna erat. In nulla eirmod lorem duis lorem tation congue voluptua. Facilisis gubergren sadipscing et stet zzril luptatum sed no sed dolor sanctus sed. Ipsum dolor iusto aliquyam enim sit invidunt et dolor voluptua tempor diam. Luptatum justo ipsum. Quis soluta est labore euismod clita magna magna consetetur sea nonummy zzril tempor nobis. Magna ipsum veniam consetetur sea.