We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Purchase Aspose - How to insert the Stream PDF into doc with mail merge

We are in the process of purchasing Aspose. We are using evaluation version to test before purchasing.

I have a stream of pdf. I need to insert this PDF into doc using mail merge. Please help me with some code.

Kesh

Hi<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your inquiry. Do you need to insert PDF document into the Word document as embedded OLE object? If so then you can’t achieve this using Aspose.Words. Aspose.Words doesn’t allow inserting OLE objects into the document, you can only extract OLE object from the document using Aspose.Words.

However you can try using Aspose.Recognition to convert your PDF to Word document and insert it in the master document. Please see the following link to learn how to insert one document into another.

http://www.aspose.com/documentation/file-format-components/aspose.words-for-.net-and-java/insert-a-document-into-another-document.html

See the following link to learn more about Aspose.Recognition.

http://www.aspose.com/documentation/file-format-components/aspose.recognition-for-.net/introducing-aspose-recognition.html

But note there are a couple of restrictions.

http://www.aspose.com/documentation/file-format-components/aspose.recognition-for-.net/limitations.html

Also you can try to insert the PDF document into the Word document as a collection of images. You can use Aspose.Pdf.Kit to convert PDF to images. See the following link for more information.

http://www.aspose.com/documentation/file-format-components/aspose.pdf.kit-for-.net-and-java/convert-the-pdf-document-to-specified-images.html

Best regards.

Alex,

Thank you for your reply. I am interested to convert pdf to word document so that I can insert into the master document. However, my pdf is coming in stream. I need to cast to pdf before converting to word document.

Where can I download the recognition object from?

Please help.

Hi<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your inquiry. You can open PDF document from stream. Please see the following link for more information.

http://www.aspose.com/documentation/file-format-components/aspose.recognition-for-.net/aspose.recognition.pdfrecognizer.open_overload_2.html

You can download Aspose.Recognition from here:

http://www.aspose.com/community/files/51/file-format-components/aspose.recognition/entry140728.aspx

Best regards.