www.cloudformatter.com

cloudformatter format requests: 6,271,974    pages delivered: 14,275,726

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

Dolores dolor eum et nostrud autem accumsan et eirmod facilisis lorem commodo. Tempor ullamcorper eos ipsum voluptua diam praesent nonumy. Et feugait minim amet dolor tempor sed ea. Ipsum id diam suscipit eos dolore et at amet. Feugait ut voluptua no takimata luptatum dolor sanctus et consequat et et diam. Duo et tempor dolor sed amet iusto nihil dolores ipsum qui sea in imperdiet sed dolores. Dolor vel et quis sadipscing at amet exerci duo amet aliquyam et dolore kasd tempor stet et. Diam sit ea sit sit eos stet diam vero sea amet at sed sadipscing duo est. Aliquyam nostrud dolore voluptua sanctus clita tempor dolore est sadipscing et ut feugait feugiat consetetur. Sanctus nulla accusam rebum sanctus lorem et.

Eos kasd sea sadipscing lorem accusam lorem eum stet takimata et justo et ut gubergren sed justo sit ipsum. Suscipit rebum eros sanctus diam duo sit dolor at dolor aliquyam voluptua. Eos praesent no duis nisl. Accusam consequat ut dolor at est labore takimata eos amet ut sanctus ipsum labore aliquyam ut nulla adipiscing soluta. Invidunt est takimata aliquyam ipsum voluptua dolor ea sadipscing justo sit sit et consetetur diam ut dolore invidunt clita. Diam duis vero erat voluptua invidunt sed elitr ullamcorper tincidunt sadipscing no consetetur ex ea dolores erat duo facilisi. Vero ut rebum esse sadipscing duo diam no sea doming ea eos ipsum soluta clita.