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

Free Support Forum - aspose.com

Merging .Doc causing layout problem

Hi,

I'd like to merge .doc documents but i have a problem with the layout.

The layout of my source document is changed.

In the attachments there are the source document (src.doc) and the result (rslt.doc)

Here my code

Stream packagedStream = new MemoryStream();

Aspose.Words.

Document dstDoc = new Aspose.Words.Document(sourceStream, new LoadOptions() { LoadFormat = LoadFormat.Doc });

dstDoc.UpdatePageLayout();

foreach (Stream docStream in StreamList)

{

Aspose.Words.

Document srcDoc = new Aspose.Words.Document(docStream, new LoadOptions() { LoadFormat = LoadFormat.Doc });

srcDoc.FirstSection.HeadersFooters.LinkToPrevious(

false);

dstDoc.AppendDocument(srcDoc,

ImportFormatMode.KeepSourceFormatting);

dstDoc.UpdatePageLayout();

}

//Save the document.

dstDoc.Save(packagedStream, Aspose.Words.

SaveFormat.Doc);

v

What can i do ?

Thank you

Hello

Thank you for reporting this problem to us and for the additional information. I managed to reproduce the problem on my side. Your request has been linked to the appropriate issue. You will be notified as soon as it is fixed.

Best regards,

Hi,

Some news about the problem ?

Thank you.

Hello

Thanks for your inquiry. At the moment this issue is pending for analysis. The responsible developer will analyze the issue and we will be able to provide you an estimate.

Best regards,

The issues you have found earlier (filed as WORDSNET-5542) have been fixed in this Aspose.Words for .NET 17.3.0 update and this Aspose.Words for Java 17.3.0 update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.