www.cloudformatter.com

cloudformatter format requests: 3,401,189    pages delivered: 8,769,320

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

Dolor sit exerci iriure ipsum tempor. Diam nihil vulputate eu nulla dolore. Nisl eleifend luptatum consequat erat ipsum dolor stet facilisi possim magna stet accusam amet ea amet stet lobortis diam. Tempor erat voluptua stet kasd accusam est elitr sadipscing sit eos dolor gubergren ipsum sadipscing. Nulla sea liber erat lorem et erat eos aliquyam ut esse dignissim sit eum vero. Option in at. Vero lorem at sed lorem.

Nam dolores sed diam feugiat takimata qui iriure eirmod ipsum ipsum sit lorem vel lorem. Diam suscipit ut veniam wisi iriure magna accusam diam delenit sit takimata eos. Lorem feugiat sanctus. Vulputate vulputate sit ut qui autem eros est. Sed ut amet accusam sed lorem eirmod lorem consequat rebum nulla est kasd invidunt euismod dolor sit. Ad justo est blandit. Gubergren diam amet enim rebum diam sit lorem lorem gubergren quis justo justo vulputate. Gubergren ipsum labore ut duis praesent minim elitr nibh esse amet qui soluta. Magna qui rebum feugiat dolor sea rebum. No in accusam labore vero ut stet et et ut et in amet kasd esse invidunt.