Embed pdf / excel / word files in a RTF template
Hello, I am able to embed images (that are blobs) in a report using an RTF template with:
<fo:instream-foreign-object content-type="image/jpg">
<xsl:value-of select="//ATTACHMENT_DATA" />
</fo:instream-foreign-object>
however, I want to embed PDF, WORD and EXCEL documents also. I tried following:
<fo:instream-foreign-object content-type="application/pdf">
<xsl:value-of select="//ATTACHMENT_DATA" />
</fo:instream-foreign-object>
Does not appear to work. Is there a way to embed these file types into a report?
Mark Wood