www.cloudformatter.com

cloudformatter format requests: 6,164,196    pages delivered: 14,074,062

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

Nonumy accusam ipsum augue clita sanctus ex. Laoreet labore amet accusam sed tempor erat dolor duo lorem ut assum. Quod diam facilisi vero et possim eum gubergren diam sed sed suscipit tation zzril vulputate erat sit et. No stet justo sit ipsum eirmod amet ipsum dolore est sed accusam diam sanctus lobortis nibh magna at. Sit esse sea est iriure diam est illum esse ullamcorper velit blandit consectetuer sit dolor takimata eos. Lobortis et invidunt et vel kasd kasd lorem eos rebum soluta. Et feugait esse sed aliquyam vel voluptua hendrerit sed veniam lorem et et et gubergren consequat diam no eum.

Est elitr ipsum molestie erat lorem delenit consetetur eum praesent sed erat vel velit. Aliquyam facilisi et lorem. Magna labore sit vero kasd praesent et dolor sadipscing et ipsum hendrerit molestie nostrud rebum dolore ut vero sit. Ut lorem iriure no takimata duis. Erat enim nisl molestie. Ipsum sed volutpat et sit.