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

Free Support Forum - aspose.com

Bullet points removed upon save

I just downloaded aspose.word for .net today and was testing it out.

In relation to the attached file, i have the following code i ran as a test. the resulting word doc was missing all of the bullet points from the original document.

here is my code:

string outputName = Path.GetRandomFileName() + ".doc";
Document document = new Document("allergytest.doc");
document.Range.Replace("[B_OfficialName]", "Awesome Agency", false, false);
document.Save(outputName);

I was impressed that your product behaves better than the office objects in that i dont have to iterate through all the objects (stories, shapes, etc) and it is a one line search and replace, but there seems to be an issue where the bullet points in this document are removed upon saving as you can see in the second attachment (lsqni25u.pon.doc).

Is this a bug or something I am doing wrong?

Hi

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

Thank you for reporting this problem to us. I managed to reproduce it on my side. You will be notified as soon as it is resolved.

Most likely, there is something wrong with your input document because after open/save the input document in MS Word the problem does not occur.

Best regards.

The issues you have found earlier (filed as WORDSNET-3057) have been fixed in this .NET update and this Java update.


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