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

Free Support Forum - aspose.com

Using a template to create a multipage document

Is it possible to have a doc as a template, stream it into memory, do a replace on certain characters and save it as a new document.

In addition, I will need to do this in a loop adding page breaks in between each document.

Any help would be appreciated.

Thanks,

Joe

I figured out how to replace text in the document using: doc.Range.Replace

I still need to add a page break... any help?

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

Thank you for your interest in Aspose.Words. If I understood you correctly, you need also merge several documents together. If so please see the following link to learn how to do that:

http://www.aspose.com/documentation/file-format-components/aspose.words-for-.net-and-java/append-one-document-to-another.html

You can use DocumentBuilder to insert breaks into the document. See the following link for more information:

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

Best regards.