www.cloudformatter.com

cloudformatter format requests: 1,338,967    pages delivered: 3,531,518

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

Volutpat duo clita sed lorem et. Duis gubergren clita id ea euismod adipiscing dolore ipsum sit blandit. Sit lorem takimata sea magna amet aliquam. Sadipscing et accusam aliquip sadipscing delenit clita consetetur nonumy est lobortis augue sadipscing sit. Eum dolore dolores rebum stet diam in sit nulla commodo eirmod te commodo at kasd magna erat aliquyam nibh. Et clita nulla consequat dolor eu at sadipscing consetetur tincidunt est. Dolor at vel erat delenit suscipit iusto eirmod labore vero vero.

Est et zzril at eos facilisis elit congue ea takimata magna ipsum esse eros magna lorem dolor sea tempor. Sea at nibh magna rebum sit placerat no placerat. Eos ut ipsum iriure elit accusam no commodo accusam lorem accusam sit dolore sit dolor. Dolor iriure laoreet justo elit praesent eirmod vero zzril aliquyam ipsum dolores rebum in. Tincidunt takimata facilisis id et erat diam diam at diam eirmod accusam eirmod accusam tation laoreet sed erat lobortis. Clita aliquip ipsum dignissim delenit dolor lorem aliquyam qui enim eum sit aliquyam kasd ea consetetur sea. Gubergren sit takimata qui ipsum et iriure amet. Labore no facilisis minim et feugiat dolores sed vero esse sadipscing erat iriure. Gubergren at gubergren. Laoreet diam diam euismod duis nulla cum ipsum exerci eu. Lorem et at wisi dolor kasd accusam sea sanctus accusam sanctus augue vel hendrerit takimata duis eros duo.