Aspose.Words loses Paragraph Alignment

When loading an rtf document (attached) I lose paragraph aligment settings.
As you can see from the attached rtf document, the first line is left aligned, the second is right, and the last in center, but after loading the document via the Document constructor and saving again to a new file, these alignments are lost.

MemoryStream stream;

string rtfFromFile = File.ReadAllText("filename.rtf")
stream = new MemoryStream(ASCIIEncoding.Default.GetBytes(rtfFromFile));
Document doc = new Document(stream);
stream = new MemoryStream();
doc.Save(stream, SaveFormat.Rtf);
File.WriteAllBytes("newFileName.rtf", stream.ToArray());

EDIT: I am using version 9.4


Thank you for reporting this problem to us. I managed to reproduce it on my side. Your request has been linked to the appropriate issue. You will be notified as soon as it is resolved.
Best regards,

Is there a workaround you can think of at this point, as I need to get this working quite urgently.


Thanks for your inquiry. The only workaround, I can suggest you at the moment is open/save your document in MS Word. After this document works fine.
Best regards,

Thanks, but this will not be possible as the process is automated.
This is critical for our software, and as such we will not be able to deliver on our timelines. I understand you get this question allot, but when could we expect a fix for this issue ?
How would I go about purchasing priority support ?

Hi Alexey,
I have purchased priority support today so that I can esclate this issue and hopefully get a hotfix asap. I am sorry to place more pressure on you, but how would I go about to escalate this issue.
Unfortunately this is a criical issue for us, and I need it resolved so that I can meet my timelines.

Hi Ernest,

Thank you for additional information. I increased priority of the issue. We will let you know once the problem is resolved. Please expect a reply before the next hotfix (within 3-4 weeks). We might just fix the problem by then or provide you more information.
Best regards.

Thank you.

Hello Ernest!

Thanks for being patient. We have analyzed the issue and the fix is almost ready. We will include the fix into the next scheduled release, which will happen within 3-4 weeks.

Is this ok for you?

Hi Denis,
Thanks, this is great news. If possible I would like to get my hands on the fix as soon as possible, so that I can run through all my unit tests.
Thanks, this is a big relief.

Hi Ernest,

Thanks for your request. We will surely notify you once the issue is resolved.
Best regards,

The issues you have found earlier (filed as 20764) have been fixed in this update.

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