Free Support Forum - aspose.com

Aspose.Slides for NET: error while saving slide with Numbered list in slide notes

Our customer has reported a problem with some of their slides.
It turned out that the problem is caused by specific text blocks in the slide notes section (attached).

Please investigate and keep us posted on the resolution.

Thank you.


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

How to reproduce this problem? Is the presentation attached by you is a source presentation or generated by Aspose.Slides (JAVA/NET)?

Hi Shakeel,

It’s the source presentation.
More preciselly, just the slide notes section that causes parsing error.

msfaiz:

Dear Andrei

How to reproduce this problem? Is the presentation attached by you is a source presentation or generated by Aspose.Slides (JAVA/NET)?



Dear Support,

The issue is getting critical as the customers reports more and more slides with the similar problem.
Could you please follow-up and let me know if there's a workaround ?


Dear Andrei,

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

We did not find any parsing error. For example, the follow C# code parses the notes in your attached ppt file namely test.ppt.

C# Code

---------------------------------------------------------------------------------

Presentation pres = new Presentation(@"d:\downloads\test.ppt");

Slide sld = pres.GetSlideByPosition(1);

Paragraphs paraNotes = sld.Notes.Paragraphs;

foreach (Paragraph para in paraNotes)

{

//Displaying paragraph properties.

Console.WriteLine("[HasBullets]:" + (para.HasBullet == 1));

//Displaying portions properties

foreach(Portion port in para.Portions)

{

Console.WriteLine("-------------------------------");

Console.WriteLine("[Bold]:" + (port.FontBold==true) );

Console.WriteLine("[Text]:" + port.Text);

}

Console.WriteLine("*************************************************\n\n");

}

OUTPUT

---------------------------------------------------------------------------------

[HasBullets]:False

-------------------------------

[Bold]:True

[Text]:References

*************************************************

[HasBullets]:True

-------------------------------

[Bold]:False

[Text]:DiPalma JA. Current treatment options for chronic constipation.

-------------------------------

[Bold]:False

[Text]:Rev Gastroenterol Disord.

-------------------------------

[Bold]:False

[Text]: 2004;4(suppl 2):S34-S42.

*************************************************

[HasBullets]:True

-------------------------------

[Bold]:False

[Text]:MiraLAX

-------------------------------

[Bold]:False

[Text]:r

-------------------------------

[Bold]:False

[Text]: [package insert].

-------------------------------

[Bold]:False

[Text]:<?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags" />Braintree, MA: Braintree Laboratories, Inc.; 2004

-------------------------------

[Bold]:False

[Text]:.

*************************************************

[HasBullets]:False

-------------------------------

[Bold]:False

[Text]:

*************************************************

Shakeel,

Thank you very much for the prompt response and investigation.

Indeed, it turned out to be the problem with our HTML conversion code.
Please disregard the issue.