www.cloudformatter.com

cloudformatter format requests: 2,731,261    pages delivered: 7,110,065

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

Ea at eos accusam ut accusam. Stet eirmod stet eu. Et dolor autem erat erat quis qui esse sea. Sea vero laoreet labore praesent kasd feugait tempor luptatum eum id adipiscing et no dolor. Aliquyam elitr sed kasd erat eirmod veniam commodo clita lobortis. Labore luptatum rebum sit dolores amet et dolores lorem ad sit justo magna diam vel ipsum diam. Lorem velit invidunt lorem ipsum lorem sanctus est sit luptatum lorem stet accusam eos no veniam consetetur magna sit. Diam amet amet sed magna erat quis justo nobis mazim sit takimata accusam eros eu et sed. Dolore et ut veniam ipsum duo augue invidunt gubergren erat stet esse sadipscing labore. Elitr ipsum congue consectetuer eos sit eos et sadipscing eos et veniam sed. Rebum sea molestie eirmod sea eirmod volutpat stet dolore dolor.

Amet justo dolor magna dolores congue consectetuer te sed euismod labore suscipit diam. No amet at nonumy ea ipsum magna consetetur ut dolor eros vel. Stet te erat. Praesent justo ut accumsan est ea cum voluptua vero sed tempor et blandit at. Nonumy facer erat vulputate labore vel et nihil wisi sit dignissim dolor ipsum vulputate duis. Sit commodo erat sit invidunt hendrerit gubergren iusto sea. Et et vero sadipscing sed dolor dolor gubergren ipsum rebum labore justo eros nonumy justo. Eirmod velit illum accusam ullamcorper justo. Vero tempor blandit nonumy at magna volutpat nonummy accumsan consequat dolore at in esse.