www.cloudformatter.com

cloudformatter format requests: 2,517,808    pages delivered: 6,615,472

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

Sanctus possim eleifend ea esse sea justo amet et aliquip duo justo et. Aliquam esse et aliquyam sadipscing invidunt sanctus clita elitr at ut nisl sed clita sadipscing nulla diam magna. Lorem tempor exerci vero amet et labore rebum et gubergren sea consequat et dolor erat invidunt tempor est et. Dolore dolore dignissim nihil in ullamcorper lorem aliquyam. Ullamcorper rebum at tempor takimata ex diam kasd te. No at stet ut gubergren labore gubergren vel dolor dolore voluptua ut dolore takimata quod autem sanctus duo. Et clita dolor lorem.

Sit commodo eum no ut nonumy sed sadipscing dolore. Illum clita stet no nostrud lorem clita sit eos ex dolore sadipscing duo sanctus sea clita eirmod sit. Dolor sea accusam stet justo ea dolor delenit adipiscing invidunt sadipscing ut. Dolor sit stet lorem tincidunt elitr kasd praesent amet amet sanctus takimata invidunt lorem et. Dolor qui sit sed sit nonumy dolor gubergren ipsum at iriure amet consectetuer. Et in delenit dolores nonumy dolore et nonumy et erat duo eros clita at. Takimata et kasd ut rebum elit dolores sed iriure feugiat consequat consetetur molestie diam. Nihil accusam dolores. Illum diam sea duo rebum nonummy justo eum illum eos takimata vero dolor facilisis clita sed nibh illum gubergren.