Inserting a PDF to Word Document


#1

This is the situation:

I am to append a PDF’s content to a document. I searched the API but found no references to solve my problem.

Is this possible? If its possible, can you point me how to do it, sample codes will help a lot.


#2

Hi Oliver,

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

Thanks for your inquiry. I see two ways to achieve what you need.

1. Convert PDF document into sequence of images and insert these images into the word document. You can use Aspose.Pdf.Kit to convert PDF document into Images.

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

You can use Aspose.Words.DocumentBuidler to insert images into the document:

http://www.aspose.com/documentation/file-format-components/aspose.words-for-.net-and-java/inserting-an-image.html

2. (This option available only in .NET)Another option is converting PDF document to Word document and append this document to the existing document. You can use Aspose.Recognition to convert PDF document into Word document:

http://www.aspose.com/documentation/file-format-components/aspose.recognition-for-.net/converting-pdf-into-an-editable-document-in-one-step.html

Then use Apsose.Words to append this document to the existing document:

http://www.aspose.com/documentation/file-format-components/aspose.recognition-for-.net/converting-pdf-into-an-editable-document-in-one-step.html

Hope this helps.

Best regards.


split this topic #3

A post was split to a new topic: Insert PDF to Word Document