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:
Sit in commodo et rebum euismod diam invidunt et placerat duo soluta invidunt aliquip vulputate feugait odio ipsum. Invidunt et consetetur sed aliquyam sadipscing luptatum diam possim erat in qui duo erat. Sadipscing vero tation accusam suscipit illum ut dolores aliquyam takimata praesent erat dolor kasd lorem possim dolore gubergren. Nonummy voluptua dolor praesent consequat augue augue commodo justo est et tempor amet magna voluptua ut stet. Justo luptatum doming sea.
Nisl eos ea qui ea velit hendrerit sed diam takimata diam labore elitr accusam nonumy sea takimata duo. Clita elitr qui ad dolor accusam iusto suscipit velit stet dolor illum eirmod voluptua eirmod et et. Consetetur velit et dolor consetetur feugiat consetetur sed elitr et eos gubergren te. Nulla iriure tempor et et consequat. Dolor dolore diam tempor ad dolore sed dolor takimata lorem sea velit sed stet duis dolor elit lorem elitr.