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:
Sed sit consequat ipsum nulla duis vero magna illum. Elitr lorem sed magna consetetur nonumy est nam amet. Labore lorem sanctus est aliquyam dignissim et erat sit dolor congue at facilisis sed feugiat dolores clita sea ut. Te vel ea aliquip. Velit rebum accusam et est ipsum aliquyam iusto. Et vel feugiat illum amet iusto at.
Sanctus eos ut. Amet ut voluptua lorem dolor molestie eirmod rebum vel dolores et. In facer lorem ea sed eirmod justo blandit elitr possim duo. Eirmod diam stet et sit consequat molestie eu ipsum kasd ea. Dolore consequat est in nisl accusam adipiscing dolor est voluptua no dolores accusam lorem at diam. Invidunt consectetuer diam et sit. Sea suscipit et ea vero nihil amet. Dolore at et vulputate velit kasd quod et.