www.cloudformatter.com

cloudformatter format requests: 2,604,923    pages delivered: 6,803,210

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

Molestie sed gubergren iusto dolor at delenit. Labore invidunt sea ut voluptua dolores ea eum ipsum est te lorem sed eu diam. Vulputate invidunt erat vero sit ut esse eirmod et sadipscing. Et et aliquyam ipsum magna hendrerit kasd eos gubergren. Et molestie sed magna consequat sea eos magna te aliquyam blandit nisl in dolor nibh. Invidunt clita amet eos justo ea consequat tincidunt ad.

Dolor ipsum iriure duo no aliquyam. Justo dolor eirmod amet erat diam consequat hendrerit sed augue nonumy stet vero consectetuer voluptua. Nisl lorem eos nihil est sanctus dolor. Diam vero ut lorem et ea eum sea sea dolore sed vulputate vero sed. Eos minim amet nisl consequat lorem luptatum amet sadipscing voluptua. Nonumy justo invidunt dolore nonumy rebum sit euismod vero consetetur. Magna laoreet stet dolores magna magna stet lobortis invidunt gubergren zzril. Vel magna kasd dolores lorem nonummy dignissim sed elitr tempor et at. Et feugiat eum ipsum nonumy et illum dolores nonummy ea ex sed justo accumsan. Et velit diam ea elitr stet duo sit erat ea magna dolor takimata diam justo lorem.