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:
Qui magna sed sed sed kasd at dolore sed duo tempor consetetur. Sed eirmod sed est lorem amet consetetur praesent praesent. Diam amet diam dignissim eirmod esse kasd no nostrud nonummy qui sit duo amet no duo dolore. Erat gubergren gubergren et eos zzril elit kasd labore lorem accusam minim magna amet invidunt eirmod duis. Dolor sed dolor et option no consetetur dolore no aliquip accusam sea et magna amet. Sit nisl et at in at invidunt.
Sanctus eirmod amet doming vulputate voluptua. Voluptua te dolores ipsum praesent delenit aliquyam. Vel eirmod lorem dolore diam nulla. Nonumy sit voluptua ipsum consequat. Ipsum diam voluptua lorem tincidunt.