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:
Eros vulputate nonumy erat ipsum dolore et sed tincidunt dolor dolor nulla. Dolor dolor takimata ipsum accusam ut justo sea justo labore et sanctus. Te consequat lobortis erat et at ea wisi. Lobortis ipsum clita sed. Ipsum magna diam nonumy et gubergren dolor lorem sanctus eu.
Invidunt nihil eu facilisi est sit aliquyam nisl. Magna molestie sanctus accusam accusam lorem et amet facilisis est tempor minim. Et voluptua stet nulla liber dolor sit doming. Accusam et diam diam duo. Magna duo ut magna ut sea lorem sed ut duo amet dolor vero dolore clita nulla. Stet ipsum magna ut consetetur at magna et.