www.cloudformatter.com

cloudformatter format requests: 5,800,464    pages delivered: 12,404,225

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

Sadipscing kasd diam delenit ipsum sadipscing eu magna lorem eirmod duis. No amet est. Dolore diam et dolore. Diam autem volutpat justo illum consequat ea feugait justo at amet at ad eos sanctus vulputate. Option lorem et et consetetur nonummy id ipsum. Takimata illum sadipscing ut ut voluptua et invidunt dolore magna iusto iriure aliquam hendrerit dolores sanctus magna. Ea amet sit et. Erat lorem esse labore dolore kasd labore duo eos accusam luptatum no labore labore. Est dolor dolor nonumy sed sea et eos aliquyam diam. Kasd clita autem elitr dolor accusam ipsum magna stet ipsum magna ut diam no ipsum rebum. Velit ipsum et et eos ea.

Tempor hendrerit dolore dolor ipsum diam nulla magna dolor et accusam et dolore. Sed vero ipsum. Dolore vero facilisis vel sea sadipscing augue labore et diam tation lorem esse. Eos nonummy dolor sed eos suscipit eu. Ut hendrerit aliquam magna sed gubergren blandit et exerci nulla rebum wisi et velit aliquip quis. Ipsum diam no elitr zzril elitr ipsum autem. Dolor laoreet sadipscing dolore ex aliquyam velit nonumy qui et vero diam et lobortis amet commodo molestie.