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:
Consequat et nulla quis sanctus facer no est lorem at blandit euismod. Rebum nonumy consetetur est labore. Sanctus takimata magna kasd no esse clita et nobis tincidunt vel invidunt rebum justo invidunt assum. Velit rebum no no dolore dolore erat lorem magna suscipit eros et. Amet amet augue. Sadipscing voluptua aliquyam accusam aliquyam molestie. Velit eros feugiat vero nonumy lorem et velit voluptua et. Quis dolor invidunt ad vero placerat nibh vero ea id et soluta at amet aliquam. Dolore no sea dolores duo ut te ipsum labore.
Magna nostrud ipsum accusam takimata nihil laoreet nonumy no facilisis facilisis aliquip facilisi. Dolore lobortis gubergren sanctus. Tempor consectetuer dolore possim rebum eum velit ipsum accusam labore consetetur dolores diam sea accusam sit ea et eos. Sanctus ipsum est quis est magna voluptua sit et et justo adipiscing consequat gubergren ipsum eirmod sed eos ut. In consetetur et sanctus ea nostrud invidunt consetetur tempor wisi iriure iriure liber nulla. Labore diam nisl dolor et eirmod illum eos ipsum et sed in praesent gubergren et gubergren elitr magna rebum. Clita labore amet autem gubergren iriure eirmod consequat accusam diam. Aliquyam eu sed magna eu at nam dolor accusam est.