When we convert a word document that contains embedded files (word docs, pdf, and xls files) to a pdf the icons come through as images in the pdf. I see that we can attach the files after the conversion but can't figure out how to attach the file so that the icon shows in the proper place in the document. How do i specify the insertion point of the section and thus the icon for the attachment? Or perhaps there is a way to convert so that the files are already attached/embedded?
Can you please explain a little more what is your exact requirement. So far if it regarding to the conversion of file into Pdf that already have files attached/embedded, than answer is yes, we have an Attachment Class that can serve this purpose.
I tested this issue and found attachment is not supported when converting Word to PDF. Attachment is supported in Aspose.Pdf but Aspose.Words does not use this feature when converting Word to PDF. We will discuss with the Aspose.Words team to support this feature later.
Aspose.Pdf.Kit supports adding attachment to existing PDF but you have to known the position of the attachment when you add it.
Hello!<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
Thank you for your inquiry.
I’m Viktor, the developer on Aspose.Words Team responsible for integration with Aspose.Pdf.
We have discussed export of embedded objects with Aspose.Pdf developers. This is technically possible and we’ll consider implementation in one of the future versions. Most probably but not necessarily this could be done with Attachment class. I have created a new issue in our defect database:
There will be no fix for Aspose.Words issues in the Aspose.Words + Aspose.Pdf conversion. You need to use the Aspose.Words direct to PDF conversion method instead.
I am not clear about your requirement. Could you please elaborate it little more? Either you want to convert WORD document with embedded EXCEL and PPT files into PDF format or convert WORD, EXCEL and PPT documents with embedded files into PDF format.