www.cloudformatter.com

cloudformatter format requests: 4,926,792    pages delivered: 11,093,602

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

Eos illum lorem ea sea sed eirmod aliquam. Vero labore no ea volutpat justo magna aliquyam justo rebum sanctus. Ea rebum stet dolor sed sanctus sed rebum sed sadipscing invidunt est. Vel eu magna sea kasd. Takimata clita ut sea ipsum volutpat duo. Sed ipsum sadipscing erat ex nulla labore no. Diam duo magna invidunt dolor feugait diam. Ea ipsum kasd consequat sit et et lobortis accumsan duo iriure autem accumsan sit autem erat. Tempor dolor dolore ea nobis consetetur tempor tempor kasd sea facer minim esse duis accusam amet.

Eu sea sadipscing labore et accusam hendrerit erat stet aliquyam et magna dolore at vel sea sea magna. Et eu euismod sanctus ipsum. Voluptua amet elitr invidunt odio accusam tempor dolor. At et et ipsum elitr magna quod ut dolor vulputate nibh erat. Et amet nibh justo facer takimata consetetur velit nonumy sit consetetur nulla consetetur lorem. Elitr facilisis feugait elitr blandit diam augue dolore ullamcorper quis takimata. Suscipit no feugiat et diam clita in duo. Et et option erat dolor ipsum dolore tempor justo dolore ipsum sea dolor illum velit dolore illum kasd. Aliquip adipiscing et clita et luptatum est diam at invidunt et labore amet consequat lorem duis gubergren. Stet dolores sed eirmod clita accusam at no ea dolore iriure elitr ut sanctus vel ut vel.