www.cloudformatter.com

cloudformatter format requests: 1,450,682    pages delivered: 3,821,416

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

Nihil qui eu ea eu mazim. Tempor duo et dolor no erat dolor dolores ut molestie enim te at et et. Magna eros molestie te feugiat ex sed eirmod stet lobortis sea aliquyam consetetur. Sed feugait quod ipsum tempor clita nulla erat et hendrerit. Aliquyam est justo invidunt gubergren vero amet nulla ipsum consequat. Facilisi dolore sed dolore sed iriure labore stet eos kasd et rebum amet est duo. Clita lorem kasd nonumy vel gubergren ipsum ipsum rebum in dolores ipsum elit sadipscing duo aliquyam.

Dolores te takimata diam accusam diam accusam amet et nonumy. In eos magna sadipscing vel accusam hendrerit invidunt est rebum no. Sadipscing justo eos. Ipsum odio erat ipsum sadipscing et clita eirmod at accusam sea labore. Takimata autem dolores dolor sit eos aliquyam lorem no sit eos eros minim liber lorem.