Aspose Document.Save() is removing page breaks from source Word Xml document

I have an Xml document that represents a Word 2003 Xml document/content. I’ve attached that file. If you open the document directly in Word, you’ll notice a page break between pages 3 and 4.



If I simply open this document in an Aspose.Document and do a Save() (pdf, docx, or doc) I lose the page break. Any ideas or suggestions?



Here is my code:



void Main()

{

var document = new Document( @“C:\Users\terry.aney\Documents\LINQPad Queries\RBLe_Debugging\Benefit_Package.xml” );



using (var fs = File.Create( @“c:\users\terry.aney\desktop\page-break.pdf” ))

{

document.Save( fs, SaveFormat.Pdf );

}

using (var fs = File.Create(@“c:\users\terry.aney\desktop\page-break.docx”))

{

document.Save(fs, SaveFormat.Docx);

}

using (var fs = File.Create(@“c:\users\terry.aney\desktop\page-break.doc”))

{

document.Save(fs, SaveFormat.Doc );

}

}

Hi Terry,

Thanks for your inquiry. We have tested the scenario and have managed to reproduce the same issue at our side. For the sake of correction, we have logged this problem in our issue tracking system as WORDSNET-14393. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

Thanks. To give my clients a bit of a timeline, is there an ‘average’ timeline to how long it takes to fix issues on your side?

Hi Terry,

Thanks for your inquiry. We try our best to deal with every customer request in a timely fashion, we unfortunately cannot guarantee a delivery date to every customer issue. Our developers work on issues on a first come, first served basis. We feel this is the fairest and most appropriate way to satisfy the needs of the majority of our customers.

Currently, your issue is pending for analysis. Once our product team completes the analysis of this issue, we will then be able to provide you an estimate.

Thanks for your patience and understanding.

Any progress on this?

Hi Terry,

Thanks for your inquiry. This issue is still pending for analysis. We will inform you via this forum thread once there is any update available on this issue.

Thanks for your patience.

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


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