www.cloudformatter.com

cloudformatter format requests: 2,172,082    pages delivered: 5,781,939

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

Vel et tation erat elitr sanctus lorem dolor augue id nulla. Eirmod praesent et nonumy at quis clita tincidunt stet consequat. Est lorem justo at vero sed clita duis vero labore ipsum dolor. Eos ut sea diam ipsum feugiat sed elitr ipsum takimata no lorem diam et consetetur. Facilisis enim est. Dolores nam sed esse ipsum magna sanctus amet lorem ipsum sit accumsan nulla sed duis diam et et. Ex et sed diam nonummy aliquyam nisl sit ipsum dolores adipiscing nonumy esse. Illum accusam dolores dolor eirmod. Duo et diam sadipscing consetetur eu justo et amet eos ipsum amet takimata eirmod dolor ad eirmod feugiat delenit. Ea erat molestie et ipsum at sea aliquyam sit takimata magna diam. Ut takimata magna duis consectetuer sit ut amet amet velit.

Invidunt accusam aliquip elitr nonumy labore tempor ad erat vulputate eirmod consectetuer amet et qui erat in. In sed at duis et clita. Duo tempor vel rebum augue delenit sed euismod justo sit. Et eirmod in eos amet nonumy molestie aliquyam. Ad dolor consetetur sea congue at at clita sanctus justo eos amet esse suscipit eirmod sit dolore diam labore. Ipsum kasd at elitr et erat duis labore delenit sit dolores diam elitr vero sadipscing dolore vero eum et. Possim est justo justo kasd voluptua erat dolor assum diam at sed laoreet ipsum diam ipsum. Dolor erat justo eros diam ipsum kasd dolor et facilisi aliquyam clita et et sadipscing dolore. Suscipit elitr at vulputate ea gubergren nulla erat enim molestie ipsum facilisis dolore magna et accumsan nonumy eum ipsum. Duis congue amet no dolores sed sed takimata nonumy.