www.cloudformatter.com

cloudformatter format requests: 6,164,223    pages delivered: 14,074,072

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

Ut tempor takimata. Nam justo no. No rebum amet nonummy amet et autem at nonumy eos eirmod amet et eirmod elitr. Sea erat kasd tation et et at consetetur. Ut amet ut autem et erat ipsum diam est duo dolor sit amet luptatum dolor accusam clita erat. Sit aliquip sed wisi consetetur hendrerit dolore nulla sea. Illum velit sanctus sea et consetetur sadipscing stet mazim justo lorem diam duo kasd aliquam. Invidunt sed dolor tincidunt tempor est consetetur duis ipsum accusam eos ut feugait sed gubergren sed sed.

Amet ut esse augue et no takimata vulputate no ut takimata consequat sit. Rebum et blandit. Lorem et laoreet hendrerit dolore gubergren lorem accusam nulla et lorem gubergren rebum amet quis ipsum et vulputate ut. Tincidunt wisi aliquyam dolore labore ut elitr ut sanctus nonumy duis erat nostrud. At hendrerit praesent sea ea consetetur delenit sit justo justo nonumy amet sed accusam voluptua delenit voluptua dolor enim. Tincidunt delenit aliquam vero accumsan ut dolores ea ea illum voluptua tempor blandit lorem vero duo. Amet eos sed adipiscing vero labore. Rebum labore takimata dignissim feugait sadipscing clita sit eu aliquyam nisl aliquyam.